Page 1 of 1
King of Hills
Posted: Fri Jan 08, 2010 12:17 pm
by eliminator
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?
Re: King of Hills
Posted: Fri Jan 08, 2010 4:31 pm
by Fiodis
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.
Re: King of Hills
Posted: Fri Jan 08, 2010 5:54 pm
by eliminator
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.
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 place
Re: King of Hills
Posted: Fri Jan 08, 2010 9:38 pm
by Fiodis
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.
Re: King of Hills
Posted: Fri Jan 08, 2010 9:42 pm
by [RDH]Zerted
Fiodis wrote:I don't think the code for KotH has been released...
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.
Re: King of Hills
Posted: Fri Jan 08, 2010 10:03 pm
by Fiodis
Oh, wow, thanks! Is this in the released assets forum? I don't recall ever seeing it before.