death/ resurrect questions

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
Battleffront_Conquer
Master Sergeant
Master Sergeant
Posts: 160
Joined: Sat Apr 04, 2009 2:44 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: InDooRs

death/ resurrect questions

Post by Battleffront_Conquer »

Is it possible to make a resurrect ability? I want to allow one of my characters to resurrect fallen units or spawn units from their position
also is there a way to make it so that there is a possibility of you reviving from death before you are 100% dead?
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: death/ resurrect questions

Post by [RDH]Zerted »

You don't stay dead very long in this game and the AI bots are dead even less than you are.

When someone dies, you would want to spawn an invisible object over their body. When you hit this object with a certain weapon, it force spawns the dead player back at that location. When the game detects the player respawning, it should destroy the invisible object.
User avatar
Battleffront_Conquer
Master Sergeant
Master Sergeant
Posts: 160
Joined: Sat Apr 04, 2009 2:44 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: InDooRs

Re: death/ resurrect questions

Post by Battleffront_Conquer »

[RDH]Zerted wrote:You don't stay dead very long in this game and the AI bots are dead even less than you are.

When someone dies, you would want to spawn an invisible object over their body. When you hit this object with a certain weapon, it force spawns the dead player back at that location. When the game detects the player respawning, it should destroy the invisible object.

would this work in multiplayer? If not I'll just scrap the idea and work towards a more practical ability
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: death/ resurrect questions

Post by [RDH]Zerted »

Object addition/deletation and force spawning work in MP, so yes it should work in MP.
User avatar
Battleffront_Conquer
Master Sergeant
Master Sergeant
Posts: 160
Joined: Sat Apr 04, 2009 2:44 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: InDooRs

Re: death/ resurrect questions

Post by Battleffront_Conquer »

alright cool now all I have to do is look up how to actually script this....
Post Reply