Author Topic: APC dropoff actions  (Read 848 times)

0 Members and 1 Guest are viewing this topic.

Offline _Luke_

  • Metaex modder
  • Warrior
  • ***
  • Posts: 7
  • Karma: 1
  • KILL TO ALL
    • View Profile
APC dropoff actions
« on: April 27, 2010, 12:52:56 pm »
I wanted to have an APC load off a few reapers in dogbar mission.Looking at the finger.scn file in which there are apc attacks i figured this code in the .scn fike:

CONDITIONS:
TIMER apctimer 5
   REACHED_LOCATION apcdropoff RACE BLUE 1 AT 680 1865 RANGE 10 APC
   REACHED_LOCATION apcdropoff2 RACE BLUE 1 AT 680 1865  RANGE 10 APC
                ALL drop2 apctimer apcdropoff2

And ACTIONS:
               REINFORCEMENTS ON apcdropoff RACE BLUE
      MACHINE AGGRESSOR 3 ASSASSIN LR_AUTO_CANNON_X2
      POINT 680 1865
      ASSIGN 18
   END
   ENABLE_ACTION ON apcdropoff apctimer
   ENABLE_ACTION ON apctimer drop2 DISABLED
   REINFORCEMENTS ON drop2 RACE BLUE DISABLED
      MACHINE AGGRESSOR 3 ASSASSIN LR_AUTO_CANNON_X2
      POINT 680 1865
      ASSIGN 18
   END

And it the strategy file:
SQUAD
AI ATTACK DELAY 0 OBJECT BEACON ASSEMBLY 7
NUMBER 5 0 AGGRESSOR 3 ASSASSIN LR_AUTO_CANNON_X2
END SQUAD
This however doesnt seem to produce any apc attack.No crash either.
Could some1 help me decode the stuff in bold?

Offline X-Lord

  • Eradicator
  • *
  • Posts: 852
  • Karma: 40
  • Gender: Male
  • Modder
    • View Profile
Re: APC dropoff actions
« Reply #1 on: April 27, 2010, 04:44:36 pm »
You missed this one:
Quote
SQUAD
AI ATTACK DELAY 5 ASSEMBLY 8 DO 1
NUMBER 1 0 APC 4
DEFCON HIGH
END SQUAD

But I don't know how it works. I've never used APCs drop offs yet. I'm gonna try it out tomorrow and give you my feedback :)

And this one:
Quote
//assembly 0 on right - for patrol squads
ASSEMBLY AGGRESSOR 1025 1227
//assembly 1
ASSEMBLY AGGRESSOR 744 1130
//assembly 2
ASSEMBLY AGGRESSOR 648 1134
//assembly 3 by turrets
ASSEMBLY AGGRESSOR 755 770
//assembly 4 flying attack
ASSEMBLY AGGRESSOR 545 1150
//assemby 5 - near factory on right
ASSEMBLY AGGRESSOR 934 979
//assembly 6 - near main group
ASSEMBLY AGGRESSOR 552 1216
//assembly 7 - end of valley on left
ASSEMBLY AGGRESSOR 163 894
//assembly 8 - APC drop off point
ASSEMBLY AGGRESSOR 257 431

« Last Edit: April 27, 2010, 04:46:14 pm by X-Lord »

Offline _Luke_

  • Metaex modder
  • Warrior
  • ***
  • Posts: 7
  • Karma: 1
  • KILL TO ALL
    • View Profile
Re: APC dropoff actions
« Reply #2 on: April 29, 2010, 01:20:16 am »
Thanks,but adding that bit of code doesnt seem to work.No crash,the mission loads but no apc dropoff either.hmm

Offline X-Lord

  • Eradicator
  • *
  • Posts: 852
  • Karma: 40
  • Gender: Male
  • Modder
    • View Profile
Re: APC dropoff actions
« Reply #3 on: April 29, 2010, 11:14:58 am »
Hmm No freaking idea :-o

Offline _Luke_

  • Metaex modder
  • Warrior
  • ***
  • Posts: 7
  • Karma: 1
  • KILL TO ALL
    • View Profile
Re: APC dropoff actions
« Reply #4 on: April 30, 2010, 01:18:47 am »
lol thanx anyway.Im still trying tho... :squidly: