Jump to content

Npc Spawn 2.8.0

   (2 reviews)
Message added by KpucTaJl,

This plugin does not have its own functionality. This plugin is only used as an API for other plugins

1 Screenshot

  • 255.1k
  • 37k
  • 43.28 kB
This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Jbird

Posted

On 4/24/2025 at 11:33 AM, Razor said:

On Staging (The given key 'Jungle' was not present in the dictionary.)

Not always going to run on staging.

On 4/27/2025 at 2:49 PM, Razor said:

Is here an option to make them not take less damage when mounted?

Not sure I understand this question. They would only be mounted in specific plugins and it would just be based on that NPCs settings.

Razor

Posted

24 minutes ago, Jbird said:

Not always going to run on staging.

Not sure I understand this question. They would only be mounted in specific plugins and it would just be based on that NPCs settings.

When an npc is mounted his damage he takes from bullets is reduced.  DEEFAULT RUST... So i was wondering is there a way around this or do i need to add a method to add more damage cause its scaled by default.

 

  public override void Hurt(HitInfo info)
  {
    if (this.isMounted)
      info.damageTypes.ScaleAll(0.1f);
    base.Hurt(info);
    BaseEntity initiator = info.Initiator;
    if (!((UnityEngine.Object) initiator != (UnityEngine.Object) null) || initiator.EqualNetID((BaseNetworkable) this))
      return;
    this.Brain.Senses.Memory.SetKnown(initiator, (BaseEntity) this, (AIBrainSenses) null);
  }

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 18
  • Love 10

User Feedback

1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

120.5k

Files Sold

Total number of files sold.

2.5m

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.