Has somebody the lua code for king of the hill? (patch 1.3 eg yavin 4)
And is there a code for a none switching command post avaible?
King of Hills
Moderator: Moderators
- eliminator
- Second Lance Corporal

- Posts: 118
- Joined: Wed Aug 19, 2009 3:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: King of Hills
I don't think the code for KotH has been released, but it's a fairly simple matter to script.
I have no idea what you mean by a "none switching command post". If you mean an uncapturable one, use the stock CTF CPs. No code needed.
I have no idea what you mean by a "none switching command post". If you mean an uncapturable one, use the stock CTF CPs. No code needed.
- eliminator
- Second Lance Corporal

- Posts: 118
- Joined: Wed Aug 19, 2009 3:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: King of Hills
no i mean when you capture the command post and get a point it jump to the next hill, but i want the command post stay ,like others do, at one placeI have no idea what you mean by a "none switching command post". If you mean an uncapturable one, use the stock CTF CPs. No code needed.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: King of Hills
That's a function of the script. I'd imagine it kills one specific command post and repspawns another. Just don't have that in there, and it will stay put.
I'd reccommend you learn LUA.
I'd reccommend you learn LUA.
- [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: King of Hills
I've released all my code (except Wave mode, and I don't know why I'm just sitting on that...): http://zerted.getmyip.com/ Scroll down to the Game Modes section to get ObjectiveKOH.lua, the King of the Hill script.Fiodis wrote:I don't think the code for KotH has been released...
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: King of Hills
Oh, wow, thanks! Is this in the released assets forum? I don't recall ever seeing it before.
