Results 1 to 4 of 4

Adding enemies on single player maps

  1. #1

    Adding enemies on single player maps

    Alright, so this is the first time I have ever created single player missions before and I need a quick explanation on how to add enemies into fixed positions on the maps. I've tried the createSOBgroup function and addtosquad function but they aren't showing up. So any help would be appreciated!

  2. #2
    Member Dim@'s Avatar
    Join Date
    Jul 2007
    Location
    Battlecruiser complete
    Have a look at the existing maps. You can see lines that directly add in ships (but make sure it's a map that has enemies at the very start .. so not m01, for example).
    I think it's "addSquadron()"
    Destroying things is easy.
    Creating things is hard.
    Creating things in order to watch them explode is just plain fun.

    Explosion Damage Script, Scripting Tutorial

  3. #3
    Yeah, that's the script I had to add to put my carrier ship in, so I figured I would give that a shot because I used createSOBgroup="Mothership", Hgn_Mothership,} addsquadron= "Mothership", HGN_Mothership,} blah blah blah, to get my player one ship in so maybe just to get the enemy ship in with addsquardon might work, then work out the player id on it later.
    Last edited by Shakuhachi; 23rd Jun 12 at 3:50 PM. Reason: spelling correction

  4. #4
    Well nevermind, you're right the addsquadron was the key, plus I realized the reason why I wasn't seeing them was that they were in hyperspace as well as the player id was also wrong! but thanks for setting me in the right direction.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •