Attacking/Defending CP's

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
Filipinio
Master Sergeant
Master Sergeant
Posts: 178
Joined: Fri Jan 22, 2010 3:29 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: Mygeeto's Bridge Battle's

Attacking/Defending CP's

Post by Filipinio »

Hello GameToast,

Is there a way to make AI to go full extent to attack/defend a cp? I think I have seen a LUA Code or something similar with the same solution...

Thanks :)
Last edited by Filipinio on Wed Apr 28, 2010 2:35 pm, edited 1 time in total.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Attacking/Defending CP's

Post by Deviss »

well in ZE you can put to one CP if is team 1 or 2 or neutro ( 0 ) and into lua you decide if REP is team 1 or 2 :)
User avatar
Filipinio
Master Sergeant
Master Sergeant
Posts: 178
Joined: Fri Jan 22, 2010 3:29 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: Mygeeto's Bridge Battle's

Re: Attacking/Defending CP's

Post by Filipinio »

I do understand that :lol: , but to make them work "hard" to dafend/attack a CP of my choice :P
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Attacking/Defending CP's

Post by Deviss »

Filipinio wrote:I do understand that :lol: , but to make them work "hard" to dafend/attack a CP of my choice :P
i believe attack is always 1 and def 2 :)
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Attacking/Defending CP's

Post by FragMe! »

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: Attacking/Defending CP's

Post by Fiodis »

What he means, Dev, is how to make them value one CP over another. It's a number in the ZE Properties box for any CP, something called wieght, I think. Higher weight = higher importance.
User avatar
Filipinio
Master Sergeant
Master Sergeant
Posts: 178
Joined: Fri Jan 22, 2010 3:29 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: Mygeeto's Bridge Battle's

Re: Attacking/Defending CP's

Post by Filipinio »

Thanks Fragme! and Fiodis, that's what i was looking for. :lol:
Post Reply