Jump to content

Changing Hackable Crate / Rocket Launchers

Pending 1.0.9

1.  Hackable Crates:  Can I change the .prefab to be whatever I want?  I want the bots to be able to drop the Oil Rig Hackable Crate
2.  Can the bots use Rocket Launchers yet?  I remember in the old BotSpawn they couldn't.

Share this comment


Link to comment

Hi,
Changing the prefab isn't an option but I could add it as a true/false to give people the choice.

Yes, the npcs can use rocket launchers as well as most, or maybe all, other weapons.
A recent update introduced the use of rocket launchers, mgl, flamethrowers, nailguns, bows, chainsaws, jackhammers etc.

They can also use syringes to heal and throw grenade weapons - both can happen when line of sight to target player is broken briefly.
It's only necessary to give 1 syringe and/or 1 grenade, for the npc to have an infinite supply.

Share this comment


Link to comment

Thank you for the quick response!  I was able to alter the .prefab line in the plugin itself to the Oil Rig crate, which works for me.  As for the rocket launchers, that's great news.  Thanks again!

Share this comment


Link to comment

If they have at least one grenade in their belt and line of sight is broken, they should throw.
Due to the frequency of checks you might have to be out of line of sight for a second or two, sometimes.

Share this comment


Link to comment

Yeah... they just won't throw the grenade.  Broke line of sight and they just keep running toward me, not doing anything.

Share this comment


Link to comment

Ok. I mean, I know it works, but there are some conditions.
They won't throw over huge distances, so make sure you're within sensible throwing range when testing.
Also, they prioritise healing when line of sight is broken, so if their health is down and they have a syringe, they'll do that instead.
They also have a cooldown to prevent grenade spam so make sure the npc you're testing with has been alive for more than, say, 20 seconds or so.

Finally, make sure the grenade is a grenade - F1 or beancan, and ensure that it's in the npc's belt...not container main.

Might be worth redeeming the kit naked, just to be 100% sure.

Share this comment


Link to comment
6 minutes ago, Steenamaroo said:

Ok. I mean, I know it works, but there are some conditions.
They won't throw over huge distances, so make sure you're within sensible throwing range when testing.
Also, they prioritise healing when line of sight is broken, so if their health is down and they have a syringe, they'll do that instead.
They also have a cooldown to prevent grenade spam so make sure the npc you're testing with has been alive for more than, say, 20 seconds or so.

Finally, make sure the grenade is a grenade - F1 or beancan, and ensure that it's in the npc's belt...not container main.

Might be worth redeeming the kit naked, just to be 100% sure.

The bot profile I created was entirely within those specifications.  Not sure what I'm doing wrong.  They just run around, knowing there's a threat, but won't throw.  I'll try it again.

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.