King of Hills

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
eliminator
Second Lance Corporal
Second Lance Corporal
Posts: 118
Joined: Wed Aug 19, 2009 3:39 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

King of Hills

Post 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?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: King of Hills

Post 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.
User avatar
eliminator
Second Lance Corporal
Second Lance Corporal
Posts: 118
Joined: Wed Aug 19, 2009 3:39 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: King of Hills

Post 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
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: King of Hills

Post 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.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: King of Hills

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: King of Hills

Post by Fiodis »

Oh, wow, thanks! Is this in the released assets forum? I don't recall ever seeing it before.
Post Reply