Changes in hunt script [Solved]
Moderator: Moderators
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Changes in hunt script [Solved]
Does anyone know how to change the timer and amount of kills needed for victory for the hunt script?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: changes in hunt script
in data_XXX/Common/scripts/ObjectiveTDM.lua
Line 27: Change the return statement to return your time limit
Line 110: Change scorelimit to the score limit you want, then you can delete lines 103 through 108
Save and munge your map.
Line 27: Change the return statement to return your time limit
Line 110: Change scorelimit to the score limit you want, then you can delete lines 103 through 108
Save and munge your map.
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: changes in hunt script
I did what you said, Zerted, but it didn't work. It crashed actually.
Hidden/Spoiler:
Hidden/Spoiler:
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: changes in hunt script
Only because you didn't technically do what he said. On line 27 you should be replacingelfie wrote:I did what you said, Zerted, but it didn't work. It crashed actually.
Code: Select all
return ScriptCB_GetHuntMaxTimeLimit()Code: Select all
return 15Also, are you entirely sure you want your hunt mode to be fifteen seconds long?
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: changes in hunt script
oh it is in seconds? I thought that meant minutes!
And thanks for pointing that out, Mav about the changing that line thing it worked.
And thanks for pointing that out, Mav about the changing that line thing it worked.
