Author Topic: ULX targeting  (Read 1884 times)

0 Members and 1 Guest are viewing this topic.

Offline hanleyjaa123

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
ULX targeting
« on: July 24, 2017, 10:27:19 AM »
so i have ULX and i am trying to have it so some ranks can't pickup/target eachother order is here
trialmod
moderator
seniormod
gamemaster
admin
senioradmin
head-gm
head-admin
dev
owner
founder

extra:
Diamond
bronze
silver gold
custom

groups.txt https://pastebin.com/rJHHQd3K
i realy need help

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: ULX targeting
« Reply #1 on: July 24, 2017, 10:48:24 AM »
https://forums.ulyssesmod.net/index.php/topic,5346.0.html

Related: https://forums.ulyssesmod.net/index.php/topic,4314.msg16844.html

There's a search bar on the top right of the screen, you should use that before making a new topic, to see if it has already been asked before.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline hanleyjaa123

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX targeting
« Reply #2 on: July 24, 2017, 11:27:47 AM »
https://forums.ulyssesmod.net/index.php/topic,5346.0.html

Related: https://forums.ulyssesmod.net/index.php/topic,4314.msg16844.html

There's a search bar on the top right of the screen, you should use that before making a new topic, to see if it has already been asked before.

i know but i don't understand it was wondering if someone else could explain it a bit better

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: ULX targeting
« Reply #3 on: July 24, 2017, 11:35:39 AM »
Ok. So say you have your group "trialmod". I'm assuming this is the lowest in your inheritance tree, so I'd guess your inherit_from would be "user". Assuming that "moderator" is your second group, the can_target for "trialmod" would be "!%moderator". What "!%moderator" means is "everything except" ( ! ) "the group 'moderator' and anything that inherits from it" ( %moderator ). I'm actually writing up a topic on this right now, so I can link it once I'm done if you still need help.

But your basics should be like this:
Code: [Select]
user
    inherits: none
    can_target: !%trialmod
trialmod
    inherits: trialmod
    can_target: !%moderator
moderator
    inherits: trialmod
    can_target: !%seniormod
and so on and so forth until you've reached the end of your chain. I recommend not having several 'branches' ( two groups inheriting from the same group ), it should be linear.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline hanleyjaa123

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX targeting
« Reply #4 on: July 24, 2017, 11:55:18 AM »
Ok. So say you have your group "trialmod". I'm assuming this is the lowest in your inheritance tree, so I'd guess your inherit_from would be "user". Assuming that "moderator" is your second group, the can_target for "trialmod" would be "!%moderator". What "!%moderator" means is "everything except" ( ! ) "the group 'moderator' and anything that inherits from it" ( %moderator ). I'm actually writing up a topic on this right now, so I can link it once I'm done if you still need help.

But your basics should be like this:
Code: [Select]
user
    inherits: none
    can_target: !%trialmod
trialmod
    inherits: trialmod
    can_target: !%moderator
moderator
    inherits: trialmod
    can_target: !%seniormod
and so on and so forth until you've reached the end of your chain. I recommend not having several 'branches' ( two groups inheriting from the same group ), it should be linear.

This does help, link me after, but somtimes i get complaints that they can't pickup/ target a user