Sign in to follow this  
Followers 0
Stoob

Respect loss when killed

9 posts in this topic

Advertisement
_curRespect = _victim getVariable ["ExileScore", 0];
					_newRespect = _curRespect - 666;
					_victim setVariable ["ExileScore", _newRespect];
					ExileClientPlayerScore = _newRespect;
					(owner _victim) publicVariableClient "ExileClientPlayerScore";
					ExileClientPlayerScore = nil;
					format["setAccountMoneyAndRespect:%1:%2:%3", _victim getVariable ["ExileMoney", 0], _newRespect, (getPlayerUID _victim)] call ExileServer_system_database_query_fireAndForget;

I use that, to remove respect. 

Code copied from VEMP mission system. Props to Vamps & ITO7 

Share this post


Link to post
Share on other sites

If you set the rep for kills to the same as the loss for death it will give the impression that rep is being transferred from one player to another. OR I wonder if you could set it up so that for example the killer gets 10% of the victims rep and the victim loses 10% of his own. That would be sweet.

Edited by READTHESCROLL
1 person likes this

Share this post


Link to post
Share on other sites

I'm not keen on the idea.

given the difficulty in getting respect in the first place and the amount needed to upgrade your flag i think getting respect deducted for death would increase the difficulty enough to result people simply by passing the system.

Share this post


Link to post
Share on other sites

The idea is great for PvE purpose I'd say. You get rewarded for staying alive, and you lose respect upon death, not taking huge amounts of loss, it needs to be balanced, but that's up to the server admin to decide. Thanks for the code @Digital Purge ^_^

Share this post


Link to post
Share on other sites

I'm trying to link mine in with a hero and bandit system- only in the apperance.  

 

Need to figure out the the code for skins posted by creampie to read a minus value. 

 

Not sure how I would make minus amount.

 

Thank @IT07 for the code

Share this post


Link to post
Share on other sites

If you set the rep for kills to the same as the loss for death it will give the impression that rep is being transferred from one player to another. OR I wonder if you could set it up so that for example the killer gets 10% of the victims rep and the victim loses 10% of his own. That would be sweet.

That is a good idea. 

I'm not keen on the idea.

given the difficulty in getting respect in the first place and the amount needed to upgrade your flag i think getting respect deducted for death would increase the difficulty enough to result people simply by passing the system.

The respect lost is the pretty much the same as medium sized vehicle sale on out server.  Plus respect for killing Ai. I'm changing it so you only lose it when a player kills you. Hopefully trying readthesrolls idea of 10% going to the killer. Or worked into a hero bandit system

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.