Jump to content

How to add new enemies?

Closed 1.0.9

JoshRosh
JoshRosh

Posted

Hi, I was wondering how I can add new enemies. Since there is is only 3 types of enemies and I would like to have more than that how can I go about to making some more enemy types?

Example: A heavy Sledge enemy with more health than a regular Sledge or an enemy that uses and Multiple Grenade Launcher.

KpucTaJl

Posted

Hi, if you are talking about which new types of NPCs are coordinated, then you need to make your own artificial intelligence for each of them. If you are talking about setting up the current ones, then this is in the plugin configuration. You gave an example using grenade launchers, you can change that, but adding new types of NPCs is not just a configuration revision, each type of NPC has its own AI that will work and that needs to be done

JoshRosh

Posted

Okay, so how would I go about cloning the sledge NPC and just making one of the sledges slower but more health? Would I have to actually modify the plugin to allow for the second sledge? Because I don't think its possible through the config alone.

JoshRosh

Posted (edited)

Never mind, I just figured out how to do it thanks for the help! (just one question before finishing up though)

My new NPC is called "Zombie" its just a Sledge but slower. How would I add it to the line with the type of target the Juggernaut guards? Sorry I'm not familiar with C#, I only have experience with Lua. Thanks!

image.thumb.png.b54018cf2d20a5319ee60e71494dc09b.png

Edited by JoshRosh
Jbird

Posted

Can you expand a little on that @JoshRosh you can just add another Sledge preset. What exactly are you trying to accomplish because unless I am mistaken you can accomplish what you are attempting without changing the CS file.

KpucTaJl

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.