I was wondering if its possible to either create a spawnlist from scratch or edit an existing spawnlist to include more things. I imagine it would be rather simple.
[QUOTE=Onomous;15979903]I was wondering if its possible to either create a spawnlist from scratch or edit an existing spawnlist to include more things. I imagine it would be rather simple.[/QUOTE]
You'd be wrong. Creatng spawnlists is hard. Here is one in game spawnlist:
"3"
{
"Information"
{
"name" "HL2 Vehicles"
}
"Entries"
{
"1"
{
"model" "models/Combine_Helicopter.mdl"
}
"2"
{
"model" "models/Combine_dropship.mdl"
}
"4"
{
"model" "models/combine_apc.mdl"
}
"5"
{
"model" "models/buggy.mdl"
}
"6"
{
"model" "models/airboat.mdl"
}
"7"
{
"model" "models/props_canal/boat001a.mdl"
}
"8"
{
"model" "models/props_canal/boat001b.mdl"
}
"9"
{
"model" "models/props_canal/boat002b.mdl"
}
"10"
{
"model" "models/props_combine/combine_train02a.mdl"
}
"11"
{
"model" "models/props_combine/combine_train02b.mdl"
}
"12"
{
"model" "models/props_combine/CombineTrain01a.mdl"
}
"13"
{
"model" "models/props_trainstation/train005.mdl"
}
"14"
{
"model" "models/props_trainstation/train003.mdl"
}
"15"
{
"model" "models/props_trainstation/train002.mdl"
}
"16"
{
"model" "models/props_trainstation/train001.mdl"
}
"17"
{
"model" "models/props_vehicles/car002a_physics.mdl"
}
"18"
{
"model" "models/props_vehicles/car001b_phy.mdl"
}
"19"
{
"model" "models/props_vehicles/car001b_hatchback.mdl"
}
"20"
{
"model" "models/props_vehicles/car001a_phy.mdl"
}
"21"
{
"model" "models/props_vehicles/car001a_hatchback.mdl"
}
"22"
{
"model" "models/props_vehicles/apc001.mdl"
}
"23"
{
"model" "models/props_vehicles/car002b_physics.mdl"
}
"24"
{
"model" "models/props_vehicles/car003a_physics.mdl"
}
"25"
{
"model" "models/props_vehicles/car003b_physics.mdl"
}
"26"
{
"model" "models/props_vehicles/car004a_physics.mdl"
}
"27"
{
"model" "models/props_vehicles/car004b_physics.mdl"
}
"28"
{
"model" "models/props_vehicles/car005a_physics.mdl"
}
"29"
{
"model" "models/props_vehicles/car005b_physics.mdl"
}
"30"
{
"model" "models/props_vehicles/tanker001a.mdl"
}
"31"
{
"model" "models/props_vehicles/generatortrailer01.mdl"
}
"32"
{
"model" "models/props_vehicles/trailer001a.mdl"
}
"33"
{
"model" "models/props_vehicles/trailer002a.mdl"
}
"34"
{
"model" "models/props_vehicles/truck001a.mdl"
}
"35"
{
"model" "models/props_vehicles/truck002a_cab.mdl"
}
"36"
{
"model" "models/props_vehicles/truck003a.mdl"
}
"37"
{
"model" "models/props_vehicles/van001a_physics.mdl"
}
"38"
{
"model" "models/props_vehicles/wagon001a_phy.mdl"
}
}
}
And thats just the HL2 vehicles. Ugh..
Oh. Ill just learn to use the search function quicker then. thanks anyway.
Actually it _IS_ rather simple. That list is basically the result of running TableToKeyValues (or whatever it was) on a table on model paths. :P
sorry for bringing up an old topic, but for those so inclined to actually go through with making their own spawnlists, what is it you have to do exactly? i'm looking at the example above and it's still kind of confusing, is it just a simple .txt file? if so where would it go?
[b]C:/Program Files/Steam/Steamapps/*YOURUSERNAME*/garrysmod/garrysmod/settings/spawnlists[/b]
and yes, it [b]CAN[/b] be hard to create spawnlists, [b]IF[/b] you do not know what you are doing, but it is basic Naming and Browsing.
You make a name say i want mine to just contain Barney, i would put:
{
"name" "Barney"
}
After that you would put:
{
"Entries"
}
Then to make the model you would finish up with:
{
"1"
{
"model" "models/Barney.mdl"
}
}
So, a Spawnlist for [b]JUST[/b] Barney in would look like (Don't forget to put "information" and a number first!):
"1"
{
"Information"
{
"name" "Barney"
}
"Entries"
{
"1"
{
"model" "models/Barney.mdl"
}
}
}
Sorry, you need to Log In to post a reply to this thread.