Different amount of points for kill

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
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Different amount of points for kill

Post by skelltor »

is there a way to make somone get different amounts of points for killing different units?
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: different amount of points for kill

Post by Deviss »

skelltor wrote:is there a way to make somone get different amounts of points for killing different units?
well you can 1 point for kill and 10 point for kill hero, but add others like officer the same hero surely is harcoded :S
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: different amount of points for kill

Post by skelltor »

oh ok thx.
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: different amount of points for kill

Post by FragMe! »

or you could edit the file named points.lua found in the scripts directory
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: different amount of points for kill

Post by MercuryNoodles »

Unless there's a way to add working lines to points.lua (which appears to be linked to something in the exe), you can't change point gain/loss for individual unit classes through that script, unfortunately. (I'd looked into the same thing a while back in hopes of creating a new mode.) I believe you could add some scripting to the mission lua for that, but I'm not familiar with the specifics.
Post Reply