Jump to content

NPC's not spawning inside the submarine.

Closed 2.0.4

Hawkhill
Hawkhill

Posted

Hi!
Amazing plugin you have made, and a incredible design job on the submarine! Im really impressed.

Im trying to get this plugin up and running with my configuration, but somehow only the NPC's outside will spawn.
Have no clue what ive done wrong in the config. 
Ive changed the outfits / skins, cleaned the loot table of unnessesary items, and renamed the inside NPC's to "Mariner1" to "Mariner16" so i can easily locate each NPC so i can change their settings and gear depending on where they spawn.
Plugin loads as normal and json file comes with no errors when i validate.
Cant see any difference on the configuration of the inside NPC's than the outide NPC's.
Could you take a look at my json and try to locate where the problem is so i dont need to delete the config and start over again?

Best Regards
Hawkhill

WaterEvent.json

Jbird

Posted

Have you broken into the submarine with this configuration to test them? Or are you just looking at the event with radar?

The NPCs inside the sub should appear when you break the submarine.

If not when you reload the plugin, can you share what text you get after that?

oxide.reload WaterEvent

That would let us know if there were any errors.

Hawkhill

Posted (edited)

Lol... this explains alot....
I just noclipped inside for testing purposes so i didnt have to break doors.... Didnt know you actually had to break the doors to make them spawn.
Damn..... it have been hours with frustration..... Thanks alot for the explaination.

Is it these location settings that triggers the NPC' spawns?  "Position of doors (not edited)"
If yes...... can i for example edit them so i make all NPCs on that floor spawn by breaking a spesific door? Or will that break the plugin?
Can figure out which doors to make the spawn trigger myself.

Last thing..... isnt it possible to make the NPC's move? Now their just like stationary NPC turrets with grenades.....
I use NpcSpawn for another plugin on my server (BetterNPC) to spawns NPC's on monuments.
In that im able to change these settings to make the NPC's move.
"Roam Range"
"Chase Range"
"Is this a stationary NPC? [true/false]"

I see the NPC settings in the WaterEvent plugin is exact the same as BetterNPC, exept the settings that makes them move is missing from the config.
Will it work if i just add these settings into the config myself?
Would be great if they actually rush you instead of being stationary. More challenge with a moving target.
But i guess there is a reason why they are stationary and they maybe will fall through the floors if they run around.

Edited by Hawkhill
Hawkhill

Posted

Nah.... they wouldnt move.
Even tried to copy some lines from BetterNPC into the pluginfile

Jbird

Posted

As far as the doors I believe any of the doors trigger them all. Helps cut down a bit on resources in case the event isn't actually played by anyone then it's only ever going to spawn the guys up top.

I believe that especially in the earlier iterations, KpucTaJl had not done nearly as much as he has done recently. Since they were under the water level there was no way to get them to move. Potentially also because of what the submarine is built out of, it would require an update to the prefab itself for them to be able to move around inside it. Due to NPCs wanting to clip through so many different things it makes plugins like AirEvent and WaterEvent easier to just have them be stationary.

That being said though I'm forwarding this along as a suggestion so don't be surprised to see an update in the future that allows these guys to move around a bit. Just can't promise anything since like I said they like to just phase through some things without putting triggers all over the place to try to stop them. Stay tuned in that regard!

KpucTaJl

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

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.