Jump to content

Setting up different awarded RP tiers for Boss Monster and Better NPC

Pending 3.1.3

I'm trying to set up Rust Rewards so that players are awarded more RP points when they kill a Boss Monster but from what I can tell, all those mobs are grouped in under heavy scientists which seem to include the oil rig heavies as well.

Is it possible to separate Boss Monsters/Better NPC from the oil rig heavies or plop them into their own group?

Share this comment


Link to comment

Hi,
If there's an easy way for me to identify these npcs I can add them as separate categories.
If there isn't, I'll modify RustRewards API so the owners of those plugins can cancel my default reward for their npcs and manually issue their own. 👍

Share this comment


Link to comment

Received a reply from the owner of those plugins

"Hi, to identify any npc from the NpcSpawn plugin, it is enough to check for skinID == 11162132011012, then it is best to use the name of the NPC (displayName) to indicate which NPC needs to be given how many points. This applies to all NPCs except bosses. As for the bosses, there is a Hook (void OnBossKilled(ScientistNPC boss, BasePlayer attacker)), when they kill the boss, which is perfect, which boss was killed can be identified by displayName, each boss has its own individual name"

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.4k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.