Respawn time for heroes -1 reply

Please wait...

Darkestsith

I don't spend enough time here

50 XP

15th March 2007

0 Uploads

15 Posts

0 Threads

#1 10 years ago

Am I just retarded and missed this line in teh XML or what? I want to change the respawn timer for C-3pO and R2D2

and I also want to change the build time for the Imperial tech levels, which files are these in?




Sidious Invader

Dark Lord Of The Sith

50 XP

9th January 2007

0 Uploads

853 Posts

0 Threads

#2 10 years ago

The respawn time is in gameconstants.xml, but it is used for all heros. The Imperial tech is in techbuilding.xml




Sidious Invader

Dark Lord Of The Sith

50 XP

9th January 2007

0 Uploads

853 Posts

0 Threads

#3 10 years ago

Sorry, I forgot certain abilities override the gameconstants.xml, look at "r2_d2" in namedherounits.xml, then look for his "slicer_ability." You find the minimum, and maximum respawn times for each tech level.... 60.0, 60.0, 60.0, 70.0, 70.060.0, 60.0, 60.0, 70.0, 70.0




Guest

I didn't make it!

0 XP

 
#4 10 years ago

the same time isnt used for every hero, right? if not, are the separate heroes listed, or is it a template of sorts?




Sidious Invader

Dark Lord Of The Sith

50 XP

9th January 2007

0 Uploads

853 Posts

0 Threads

#5 10 years ago

Apparently it is different if a hero dies in battle, respawned at the rate in gameconstants.xml, or despawns due to an ability(slicer, nuetralize hero, smuggling, etc.) you can specify the amount of time to respawn. You would look at the abilities data if there is a special rate of time.