Garry's Mod

Garry's Mod

[CTOOLS] NPC Spawner
Showing 1-10 of 13 entries
< 1  2 >
Update: Jan 31 @ 9:14am

- Fixed the category bug after gmod update

Update: Jul 16, 2021 @ 4:29am

- Now tool screen displays selected NPC category
- NPC categories now sorted alphabetically
- Fixed area draw offset when clicking on different surface normals
- Optimized and improved spawning algorithm
- No more tick skips when spawning, all NPCs spawn evenly
- Added area red coloring when npc limit is reached
- Added icons for all combo elements on control panel
- Security: added simple validation for spawn data sent through net
- Added "ct_npc_debuginfo" console command (server only)
- Changed "ct_npc_amount" convar to "ct_npc_tick"
- Added shared convar for npc per area limit - "ct_npc_area"
- Other minor tweaks, fixes and optimizations

Update: Jul 11, 2021 @ 11:30am

- Fixed spawning for ceiling npcs (barnacle, turret, camera) - now you can place an area (be it on the floor or on the ceiling) and then if a ceiling surface was found - they will be spawned
- Made method total and method timer as separate convars
- Made NPC list nicer, now including categories and class names
- Weapon list now displays name and class
- Fixed NPCs with same names from different categories being overwritten
- Fixed "No weapon" option not working
- Fixed area render on ceiling surfaces
- Fixed presets not working

Update: Jul 6, 2021 @ 11:15am

- Changed toolgun screen font to "Staatliches Regular"
- Fixed potential error where selected NPC or weapon class does not exist anymore
- Clamped minimum area cell amount to 1 so it doesn't confuse users when spread multiplier is too high
- Added smart NPC limit check and also decreased NPC limit to 1024 per area

Update: Jul 6, 2021 @ 7:31am

- Added "remove spawned NPCs on removal" option
- Added "respawn delay" option
- Fixed total NPC amount inaccuracy

Update: Jul 4, 2021 @ 7:46pm

- Added experimental feature: respawning method (total amount, timer)
- Added randomized position picking
- Now all areas spawn NPCs evenly
- Fixed function errors for specific NPCs
- Optimized CL2SV networking
- Moved random skin checkbox to skin slider
- Added "default" values to sliders
- Added setting squad feature
- Added default proficiency

Update: Jun 23, 2021 @ 9:39am

- Reworked area angle changing process

Update: Jun 22, 2021 @ 11:20am

- Added angle marker focus feature: hold Shift to center on angle marker
- Fixed changing area NPC boxes when changing NPC class
- Fixed the right base grid size not being loaded when using the tool for the first time
- Added smooth grid animation when changing spread
- Made angle marker bigger to fit large areas
- Other minor tweaks and fixes
- Grouped and sorted spawn flags by importance

Update: Jun 21, 2021 @ 5:38am

- Significant spawn improvement: now NPCs are placed correctly on displacements
- Improved networking
- Added grid base sizes for better NPC placement
- Fixed "Turret" NPC spawn angle
- Set NPC limit per area to 16384

Update: Jun 21, 2021 @ 3:05am

- Fixed error when undoing dead NPCs
- Improved angle marker drawing
- Added scrolling sounds
- Fixed area render render
- Added simple NPC limit notification