Weapon CPs? - unsolved

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
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Weapon CPs? - unsolved

Post by Sky_216 »

Just an idea that I had...which I'll only be able to develop properly if there's a way to do this, so I figured might as well ask.

Is there a way (through ODFs, lua scripting, regions and/or whatever) to either:
(a) have a certain CP only let you spawn as only a certain unit from your team.
(b) make a CP respawn you when you enter it (ie when you switch class at a CP) automatically.

The idea behind this is to set up a way of having a single unit type with a whole bunch of different weapons - so that at each 'CP' your weapon gets switched to whatever the weapon of the unit allowed to spawn there uses. All units look the same so it looks like you just switched weapons.

If anyone can shed any light on this or has a better way of implementing this idea I'd be most grateful.
Last edited by Sky_216 on Thu Oct 23, 2008 4:46 pm, edited 1 time in total.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Weapon CPs?

Post by [RDH]Zerted »

How about force spawning the player as the different unit when they enter the CP's region?
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Weapon CPs?

Post by Sky_216 »

Sounds great but how do you do it?
Post Reply