Garry's Mod

Garry's Mod

27 ratings
Tood's NPC Drop Pod Tool v4
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
188.763 KB
Jul 18, 2020 @ 4:52pm
Dec 14, 2023 @ 12:29pm
5 Change Notes ( view )

Subscribe to download
Tood's NPC Drop Pod Tool v4

Description


ALL SUPPORT IS NOW HANDLED VIA MY NEW DISCORD: discord.gg/YSzU6MY2Yb

Tood's NPC Drop Pod Tool.

- NPC Dispenser/Drop Pod that spawns in NPCs after landing.
- Destructable Dispenser/Drop Pod.
- Class, Models, HP, weapons etc all controlled by the player using the in-game configurable tool menu.

Future Plans:
- More tool options? I've ran out of ideas so if you want a tool feature then drop a suggestion below.
_______________________________________________________________



Tood - Adding:
- Destructable dispensers/drop pods.
- NPC spawning automatically from the dispenser/drop pod once landed.
- In-game configurable tool menu.
AussiWozzi - For the original droid dispensers located here
_______________________________________________________________



In-game configurable tool menu.
- NPC Model Field: Copy an NPC mdl link from your spawnlist and paste it into the field to set the model of the NPCs that spawn from the dispenser/drop pod.
- Dispenser Model Field: Copy an mdl link of any prop from your spawnlist and paste it into the field to set the model of the dispenser/drop pod.
- NPC Weapon Field: Copy a weapon class from the weapons tab in your spawnlist and paste it into the field to give the NPCs that spawn from the dispenser/drop pod to give them that weapon.
- NPC Health Slider: Move the slider left or right to set the health of the NPCs that spawn from the dispenser/drop pod.
- Min Spawn Slider: Move the slider left or right to set the minimum time it takes for NPCs to spawn in.
- Max Spawn Slider: Move the slider left or right to set the max time it takes for NPCs to randomly spawn in or how long it takes for the last NPC to spawn in.
- Dispenser Health Slider: Move the slider left or right to set the health of the dispenser/drop pod.
- NPC Amount Slider: Move the slider left or right to choose how many NPCs you want to spawn in from the dispenser/drop pod.
- NPC Weapon Proficiency List Box: Choose how well the NPCs aim is with the weapons you give them on the tool. (v2)
- Presets: You can now save the values you choose to custom presets! Simply click on the green + symbol in the top right of the tool menu to save the CURRENT values you have set on the tool. Click the wrench icon to view all of your saved presets and you can further edit your saved presets via the editor. (v2)
- NPC Class Field: You can now use custom NPCs rather than just having the option to change the NPCs model and using the default Half-Life hostile NPC class. (v3)
- NPC Model Field: The model field is now optional, leave this field blank if you would like to use your NPCs default model or paste a NPC model path to override the NPCs default model. (v3)
- NPC Relationship List Box: You can now choose if the NPCs from the drop pod should be hostile or friendly towards players and NPCs. (v3)
- Right-Click: Simple little extra feature, right click on any NPC to get the NPCs class if you want to avoid looking through your lists of different NPCs in your spawnmenu. (v3)
_______________________________________________________________



You have full permission to edit my code to preference but must be kept at personal use only for your own server.

You do not have permission to reupload this or claim this script as your own.
If you wish to use my script in another script then do not merge the files with your own, simply add my script as "Required Content".
_______________________________________________________________

Update v2

- NPC Weapon Proficiency added into the tool menu.
- Presets now added in to the tool allowing you to save your tool value choices.
- A default preset added in if anyone decides not to change the tool values.
- A few default values increased.
- A few min & max values increased to avoid drop pod exploding on collide.
- Cleaned up a few lines of code.
_______________________________________________________________

Update v3

Check out the 2nd attached YouTube video to see the new features in action and how they work!

- Added NPC Class field added to the tool menu to allow users to use their own custom NPCs if they have any.
- Reworked NPC Model code to allow the user to have the option of using the NPCs default model or use a custom model.
- NPC Relationships now added to the tool menu.
- Spawning code cleaned up, now stored in a custom function then called on collide.
_______________________________________________________________

Update v4

v4 update YouTube video is attached.

- NPC position code updated.
- Drop Pod spawn height tool option added.
- Repeat NPC spawning tool option added.
- Tool feature added to enable/disable repeat NPC spawning.

Update v4.1 Patch
- Updated the NPC spawn position code, now searches a bigger area for a position to spawn and also updated the fallback spawn position for the NPC's.
- Props/entities are no longer removed when the drop pod collides.
- Default "minimum" spawn height for the drop pod increased (some models spawn underground when spawned at Vector( 0, 0, 0 )).
_______________________________________________________________

Want to donate and support my Development Progression? Click the image below <3
[paypal.me]
_______________________________________________________________

If you have any questions, comments or concerns then drop them down below and I'll be more than willing to help you out however I can.
Feel free to drop a like if you enjoy this addon and if you have any suggestions or bug reports then please use the designated discussion posts.
Enjoy!!
9 Comments
Dat1Person Jul 14, 2023 @ 11:37am 
Is it possible to make this an entity as well so it functions with entity spawner mods?
Antiderivatives Apr 8, 2023 @ 9:52am 
Also, is there any way to make it nextbot npc compatible?
Antiderivatives Apr 8, 2023 @ 9:50am 
A drop ship feature would be neat.
Tood  [author] Feb 23, 2021 @ 6:43am 
Not using my tool. You can check the Garry's Mod wiki
296cherry Feb 22, 2021 @ 8:08pm 
Is there an easy way to get the model name of an npc?
Baldo Jan 27, 2021 @ 4:29am 
Then don't put an NPC model in NPC weapons
HerpBrownstainz Aug 4, 2020 @ 1:21am 
Hey, so some of my server Event Masters found an issue. if you put a NPC model or something in the "NPC Weapons" section you can crash the server
Tood  [author] Jul 25, 2020 @ 9:12pm 
They aren't spawners to place around the map so no, they are designed for drop pod type spawning.
Willay Jul 25, 2020 @ 6:50pm 
Do these spawners last even after a server restart?