How do I get heros to respawn faster -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 10 years ago

What part in the XML file does it have the code that says how long it takes for heroes to respawn once they die?




Daft_vader2

Its Interesting Talking Here

50 XP

3rd January 2007

0 Uploads

617 Posts

0 Threads

#2 10 years ago

It's hardcoded for heroes.




Sgt. Hicks

AlphaBlue Modding Council

50 XP

18th July 2006

0 Uploads

289 Posts

0 Threads

#3 10 years ago

In the game constants file there is this line 120.0 which should help you. Its in seconds I believe.




Nebulogan_B

Knowledgeable, but weird

50 XP

7th September 2007

0 Uploads

351 Posts

0 Threads

#4 10 years ago

Don't assume something is hardcoded Daft, that kind of never-seen-it-done-before-therefore-it-can't thinking only limits yourself.




Daft_vader2

Its Interesting Talking Here

50 XP

3rd January 2007

0 Uploads

617 Posts

0 Threads

#5 10 years ago

DOn't treat me like a noob kid, I have been coding since the game came out and i think i know how it works.

IT IS HARDCODED, Hardcoded can be something un-editable or something that is generic for all unit types. That means that all heroes are set to that respawn time. E.G. HARDCODED.

~DV




Nebulogan_B

Knowledgeable, but weird

50 XP

7th September 2007

0 Uploads

351 Posts

0 Threads

#6 10 years ago

Sorry, I misunderstood the definition of the word hardcoded slightly, I thought it just meant un-editable, which was the way you seemed to mean it when you posted and didnt say what controls the respawn time, next time you say something is hardcoded say whether it is un-editable or just generic, and if it is generic please say what line.




X4ldin

Dark Lord of Boredom

50 XP

30th October 2006

0 Uploads

109 Posts

0 Threads

#7 10 years ago

Just out of curiosity, if all the heroes respawn after the same amount of time, why does Urai Fenn respawn quicker then Tyber and the others on GC campaigns?




NCC1017spock

I take what n0e says way too seriously

50 XP

25th April 2007

0 Uploads

3,558 Posts

0 Threads

#8 10 years ago

I think it might have something to do with his healing abilties....?? or prehaps its just a system glitch?




Nebulogan_B

Knowledgeable, but weird

50 XP

7th September 2007

0 Uploads

351 Posts

0 Threads

#9 10 years ago

Check the xml entry for those heroes for any lines involving respawning (check the herocompany entries, not individual units), the line in gameconstants says

, but the logical name for a line that determines the absolute hero respawn time would be , so it seems that petroglyph at least had in mind making some heroes respawn faster than others, maybe they waited 'til (till is an incorrect spelling of that word) foc to do it.




Valgarochi

Let's go find Carmine...

50 XP

16th February 2007

0 Uploads

1,324 Posts

0 Threads

#10 10 years ago

its in the black market purchase ability. most GC abilitys that cause despawn have shortened respawn times