Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Criminal When Looting
Author Message
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #1
Criminal When Looting
Hey,

Is there a way to avoid a player from getting Criminal when looting another player body? I couldn't get to this result at all. :<

Thanks!
03-22-2014 10:06 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #2
RE: Criminal When Looting
LootingIsaCrime=0 in sphere.ini

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
03-22-2014 10:29 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #3
RE: Criminal When Looting
Thanks, Ben.

But is there a way to disable it only at certain situations?
As in, faction enemies (defined by TAGs) can loot each other.. Tongue
(This post was last modified: 03-26-2014 06:14 AM by pinku.)
03-23-2014 05:05 AM
Find all posts by this user Like Post Quote this message in a reply
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #4
RE: Criminal When Looting
I'm sorry to be bumping this at this stage, but is there any way I can do this?

Thanks!
03-26-2014 06:15 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Criminal When Looting
You can try this:
1-Do as Ben said by setting
// Looting or carving a blue player is a crime
LootingIsaCrime=0
2- Then add this to t_corpse typedef and add your condition checks
Code:
[TYPEDEF t_corpse]

ON=@PickUp_self
    if (<uid.<link>.tag0.yourfactiontag> != <src.tag0.yourfactiontag)
      src.criminal 1  
    endif
(This post was last modified: 03-26-2014 06:57 AM by darksun84.)
03-26-2014 06:55 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)