Disabling the Victory Timer
Moderator: Moderators
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Disabling the Victory Timer
How do I do it? I want my map to be unwinnable through capturing all the command posts.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Disabling the Victory Timer
Don't reference the CPs in your LUA.
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Disabling the Victory Timer
At all?AQT wrote:Don't reference the CPs in your LUA.
So, I take out these 2 parts?
Hidden/Spoiler:
Hidden/Spoiler:
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Disabling the Victory Timer
Okay, did that, but now the AI don't spawn.AQT wrote:Yes.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Disabling the Victory Timer
Whoops, sorry about that. Leave the first section but delete the second section.
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Disabling the Victory Timer
Did that, but AI still don't spawn.AQT wrote:Whoops, sorry about that. Leave the first section but delete the second section.
- [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: Disabling the Victory Timer
The AI don't spawn since they have nothing to do. They don't do anything, because you are starting a Conquest game mode with nothing to capture (since you removed all the CPs).
There are many ways to kill the victory timer. One way is to directly go into Conquest's mode scripts and prevent it from starting and/or remove its OnTimerElapse section.
There are many ways to kill the victory timer. One way is to directly go into Conquest's mode scripts and prevent it from starting and/or remove its OnTimerElapse section.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Disabling the Victory Timer
I'm not sure how you would refer to a local function that's inside another function, but couldn't you just set InitDefeatTimer(), which is local to ObjectiveConquest:Start(), to a null value?
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Hiding the Victory Timer
How do I do this? Which exact scripts, and which parts must be removed?[RDH]Zerted wrote:There are many ways to kill the victory timer. One way is to directly go into Conquest's mode scripts and prevent it from starting and/or remove its OnTimerElapse section.
Sorry, never done this before.
EDIT: How do I hide the victory timer?
Thanks.
