Garry's Mod

Garry's Mod

Simfphys AI Spammer/Spawner
 This topic has been pinned, so it's probably important
NotAKid  [developer] 14 Jun, 2020 @ 11:41pm
Read Me
Developers/Server Owners
You can add vehicle selections to the spawner to randomly pull vehicles from.

  • If you add these to your Simfphys vehicle spawnlist the spawner will automatically list and use them.
    local V = { Name = "Admiral", Model = "models/gtasa/vehicles/admiral/admiral.mdl", Class = "gmod_sent_vehicle_fphysics_base", Category = "GTA:SA - Sedans/Wagons", SpawnOffset = Vector(0,0,20), SpawnAngleOffset = 90, NAKGame = "GTA:SA", NAKType = "Sedans/Wagons",
    For the NAKType, please generalize them so that everyone can use the same catagory. Having a ton of random catagories for each vehicle pack would be wack.

  • You can also manually add vehicles in an autorun LUA file.
    only change "Example", leave SASCustom!
    --name in the spawner gui + link to the list SASCustomList["[Example]"] = "SASCustomExample" --place custom list into the master list | dont change "SASCustom" list.Set( "SASCustom", "SASCustomExample", { Vehicles = { "sim_fphys_fireturkc", "sim_fphys_cop2" "sim_fphys_cop1" "sim_fphys_hackerman" } } ) --PLACE IN AUTORUN OR SOMETHIN

You can make the entity persistent and it will work completely fine.
If you do not turn off the spawner before reloading the map, the spawner will still be enabled once you load back in.



You can not take this addon and modify it for your servers needs. If it is something you need then it is most likely something others can use too, so if you really need it then I will add it into this addon
Last edited by NotAKid; 15 Jun, 2020 @ 7:52am
< >
Showing 1-7 of 7 comments
sorry but where i can spawn it in the menu ?
NotAKid  [developer] 20 Jun, 2020 @ 4:31pm 
In your entities tab under simfphys. It is with the fuel pumps.
Ubblemon3236 26 Dec, 2020 @ 10:24am 
Can the AI fight each other?

Also, all it does is spawn vehicles, and doesn't make them move.
Ubblemon3236 26 Dec, 2020 @ 10:25am 
There is also NO AI for NPC type.
Misused chair 16 Jun, 2021 @ 4:24pm 
it isnt there
Misused chair 9 Sep, 2021 @ 6:08pm 
how do i get it to spawn stuff? i have all the requirements and i have it enabled but it does absolutely nothing at all. also why is it so dang hard to activate it? why do i have to press e on the exact frame required??
MadNat 8 Feb, 2023 @ 12:11pm 
How does this thing work? When i click on edit properties there's nothing
< >
Showing 1-7 of 7 comments
Per page: 1530 50