Raised This Month: $12 Target: $400
 3% 

Karma algoritm


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thesnakebiter
Senior Member
Join Date: Oct 2011
Old 12-12-2013 , 04:19   Karma algoritm
Reply With Quote #1

Before i say anything, sorry if bad english, im a spaniard.

Then, I'm making a mod, this mod uses karma and FFA, the karma system is this.
You will know the mod, but im doing it in cs 1.6. Trouble in terrorist town.

When a player goes in the server first time, gets 1000 of karma(saved in a db with steamid),
If you kill one player and is 'innocent' i will RESTAR?(spanish)[deduct/take off/...translate] from your karma X(for example 10) but what i want is to determinate if the other player, the player that is death have shoot first to the killer.

Idk if im explaining ok.If not i will make a video or something..
thesnakebiter is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 12-12-2013 , 05:03   Re: Karma algoritm
Reply With Quote #2

Make video or ask someone to translate it. I don't understand, maybe someone else will answer soon.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-12-2013 , 11:01   Re: Karma algoritm
Reply With Quote #3

Simple math
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 12-12-2013 , 14:44   Re: Karma algoritm
Reply With Quote #4

How do you declare an innocent player?

Is this a Roleplaying server?
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
thesnakebiter
Senior Member
Join Date: Oct 2011
Old 12-13-2013 , 20:33   Re: Karma algoritm
Reply With Quote #5

Quote:
Originally Posted by Backstabnoob View Post
How do you declare an innocent player?

Is this a Roleplaying server?
Its only a variable 0 = inocent, 1 = traitor, 2 = detective.
If youre innocent and you try to kill other innocent karma should go down if the other innocent dont shoot other innocent without reason you will have the same karma,etc

Last edited by thesnakebiter; 12-14-2013 at 13:19.
thesnakebiter is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode