Spawn Restrictions

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
thesnyder25
Private
Posts: 41
Joined: Fri Sep 24, 2010 8:40 pm
Projects :: Jazeer- New Republic II Defense
Games I'm Playing :: BBC2 Halo Reach BF2

Spawn Restrictions

Post by thesnyder25 »

I had this idea of having a command post on top of the frigate on my map. The soldiers in my map called Orbital Drop Stormtroopers (respect to Halo: ODST) would then jet jump off the frigate an land safely. However a cant have normal troops jumping off frigates because they would get wrecked upon hitting the ground. So how would i restrct the command post on the frigate to only spawn the Orbital Drop Stormtroopers?
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Spawn Restrictions

Post by SAMofBIA »

if you dont care to play the regular Stormies, you could always make them locals and have them spawn in different locations
thesnyder25
Private
Posts: 41
Joined: Fri Sep 24, 2010 8:40 pm
Projects :: Jazeer- New Republic II Defense
Games I'm Playing :: BBC2 Halo Reach BF2

Re: Spawn Restrictions

Post by thesnyder25 »

o yea i guess but the normal stormies r still cool thanks anyway
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: Spawn Restrictions

Post by sim-al2 »

Or you could have the AI ODSTs on a local team and have that team spawn only up there. You could still have have some on the playable teams, but you wouldn't be able to spawn on it unless you have a workaround of another CP on top (not added to the lua so that it doesn't count for conquest captures) with a AI spawn weight of zero to it (if you add a spawn weight make sure to add one to all the cps.)
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Spawn Restrictions

Post by Fiodis »

Or you could not have any CP on the frigate, and instead have a CP on the ground that anyone can spawn at. Using LUA coding, when a unit spawns you detect what type they are and where they spawned. If they're a drop trooper and they spawned at that specific CP, you teleport them up to the frigate. I did something similar with a proof-of-concept paratrooper unit.
Post Reply