Page 1 of 1

Kill Positive!

Posted: Mon Apr 08, 2013 11:45 pm
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:

Re: Kill Positive!

Posted: Sat Apr 13, 2013 3:03 pm
by Zapattack1234
so, u want to create a whole new point system? that doesnt even seem possible sorry

Re: Kill Positive!

Posted: Sat Apr 13, 2013 3:18 pm
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.

Re: Kill Positive!

Posted: Sat Apr 13, 2013 5:54 pm
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????

Re: Kill Positive!

Posted: Sat Apr 13, 2013 7:29 pm
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

Re: Kill Positive!

Posted: Sun Apr 14, 2013 4:59 am
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

Re: Kill Positive!

Posted: Sun Apr 14, 2013 12:24 pm
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.

Re: Kill Positive!

Posted: Thu Apr 25, 2013 8:51 pm
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:

Re: Kill Positive!

Posted: Thu Apr 25, 2013 9:21 pm
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

Re: Kill Positive!

Posted: Fri Apr 26, 2013 7:51 am
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

Re: Kill Positive!

Posted: Fri Apr 26, 2013 10:45 am
by Marth8880
I know. I am saying that we are not allowed to modify or reverse-engineer the game's executable.