Jump to content

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

Closed 2.1.0

Pixavonne
Pixavonne

Posted

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?

I did check with the author of Rust Rewards to see if the above is possible and they replied as below

"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."

KpucTaJl

Posted

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

KpucTaJl

Posted

The issue was resolved with the same answer in the Discord Mad Mappers ticket

KpucTaJl

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

103.4k

Files Sold

Total number of files sold.

2.1m

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.