Kill Positive!

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
hiddenslayer
Private Recruit
Posts: 25
Joined: Tue Mar 19, 2013 2:51 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBFII
xbox live or psn: No gamertag set

Kill Positive!

Post by hiddenslayer »

Hi all, just wanted to ask (for SERVER modding) how exactly would I make KILLS positive. I understand the points (scripts...points.lua) but I want the kill itself to be positive.

Example:
I Team Kill BUT I still get a positive kill. Not positive point POSITIVE KILL.

What I'm really trying to ask is if you could explain to me how to make all kills positive.....remember KILLS not points.

Thanks Everybody

-Not allowed to place signature D:
User avatar
Zapattack1234
Rebel Colonel
Rebel Colonel
Posts: 574
Joined: Mon Sep 24, 2012 6:44 pm
Projects :: The Wrecked Graveyard_Amongst the Ruins
Games I'm Playing :: SWBF 1 and 2
xbox live or psn: xbla:Rehmfire49
Location: Isla Nublar (Jurassic Park)

Re: Kill Positive!

Post by Zapattack1234 »

so, u want to create a whole new point system? that doesnt even seem possible sorry
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Kill Positive!

Post by Dakota »

I believe he isn't talking about points at all. He's talking of the actual kills. for example if you team kill someone instead of your kill count going down by 1 he wants it to go up by 1.

I don't know how to do this, probably some backwards way to do it though.

Also creating a whole new point system is relatively easy, but that isn't what he's trying to do.
hiddenslayer
Private Recruit
Posts: 25
Joined: Tue Mar 19, 2013 2:51 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBFII
xbox live or psn: No gamertag set

Re: Kill Positive!

Post by hiddenslayer »

Dakota is right on what I'm attempting to do....but how do I do it is the question?! Anybody able to help me????
noMatt
2nd Lieutenant
2nd Lieutenant
Posts: 398
Joined: Sun Mar 10, 2013 12:30 pm
Projects :: The Map has no name so see alpha
Games I'm Playing :: Crysis Battlefront
xbox live or psn: No gamertag set
Location: Germaneeee
Contact:

Re: Kill Positive!

Post by noMatt »

Have a look in all the luas if theres a lua named pointsystem or something like this then you are able to do this. Else it is may hard coded
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: Kill Positive!

Post by nobody3 »

It's in .exe , and to my knowledge gametoast doesn't mod it
I suppose it wouldn't be impossible if you knew assembly language and possible other things, I have no experience with this though
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Kill Positive!

Post by kinetosimpetus »

take a look at data_***\Common\scripts\points.lua to edit the points.

For kills, try writing a function that whenever something dies, it checks to see if it was a team kill and if it is add 2 kills.
EDIT: I just looked all over for code to adjust player kills and couldn't find any.
hiddenslayer
Private Recruit
Posts: 25
Joined: Tue Mar 19, 2013 2:51 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBFII
xbox live or psn: No gamertag set

Re: Kill Positive!

Post by hiddenslayer »

I heard from many people it's the .exe, is there anybody here who can do that? I just need somebody who can make kills positive! It's so hard :eek: If you know how to do the .exe please, help! :bowdown:
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Kill Positive!

Post by Marth8880 »

hiddenslayer wrote:I heard from many people it's the .exe, is there anybody here who can do that? I just need somebody who can make kills positive! It's so hard :eek: If you know how to do the .exe please, help! :bowdown:
Probably, but that's against the mod tools' EULA. :p
noMatt
2nd Lieutenant
2nd Lieutenant
Posts: 398
Joined: Sun Mar 10, 2013 12:30 pm
Projects :: The Map has no name so see alpha
Games I'm Playing :: Crysis Battlefront
xbox live or psn: No gamertag set
Location: Germaneeee
Contact:

Re: Kill Positive!

Post by noMatt »

An .exe is a programm you have to write in a programming language.
And since we dont have the launchers source code you cant change anything on the exe.
You can try to decompile it but the result won be the original code and as long as you dont have strong coding skills you wont get anything changed.
Ah and theres an api for changing programms at runtime but you need to know the adress of the variables you want to change
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Kill Positive!

Post by Marth8880 »

I know. I am saying that we are not allowed to modify or reverse-engineer the game's executable.
Post Reply