CP just for humans

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
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

CP just for humans

Post by Executer94 »

I need a commandpost where just human players can spawn!

Is there a way to do that?
User avatar
AgentSmith_#27
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 302
Joined: Thu Feb 11, 2010 3:10 pm
Projects :: No Projects I am ready to unveil
Games I'm Playing :: SWBF2-MW2-Madden 08
xbox live or psn: No gamertag set
Location: Zeroeditor
Contact:

Re: CP just for humans

Post by AgentSmith_#27 »

Well, I'm pretty sure there's a line you can add in your mission LUA to withhold ai spawns altogether, then through more LUA commands you can have them spawn when you want them to, you'd probably have to use the LUA to delete the cp you spawned at and spawn another cp, if you want to be the only one there. I don't know of any other way, sorry (but then again I'm a noob)
Last edited by AgentSmith_#27 on Tue Mar 30, 2010 9:19 am, edited 1 time in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: CP just for humans

Post by Teancum »

You can probably just weight the CP to nothing to keep AI out of it. I've never tried it before though.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: CP just for humans

Post by Executer94 »

So I need to search arround the luas and docs?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: CP just for humans

Post by Teancum »

No, weighting a CP is all done in that CP's ZeroEdit properties if I remember right. I've never had to do it myself. See the topic below from a few days ago:

http://www.gametoast.com/forums/viewtop ... 2&p=389521
Post Reply