Garry's Mod

Garry's Mod

Ikke nok vurderinger
[TTT] Floor Weapons Spawner
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun
Filstørrelse:
Offentliggjort:
Opdateret:
14.827 KB
3. sep. 2021 kl. 5:52
12. juni 2024 kl. 0:45
10 ændringsbemærkninger ( vis )

Abonner for at downloade
[TTT] Floor Weapons Spawner

I 1 samling af The Stig
The Stig's TTT Mod List
286 genstande
Beskrivelse
Automatically spawns guns/ammo on the ground of maps that don't have enough, automatically arms any Gmod map to make it playable with TTT!
Also gives guns to anyone who doesn't have any when a round properly begins.

Forget about manually adding guns to maps ever again, with this mod, you can now add maps without having to worry if they're properly armed!

Settings
Put the words in italics in your listenserver.cfg if hosting a game from the main menu,
(Usually located at:
C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\cfg)

or your server's server.cfg if hosting from a dedicated server.


Misc Settings
ttt_floor_weapons_giver [0 or 1]
Default: 1, whether this mod is on or off

ttt_floor_weapons_replace_default_guns [0 or 1]
Default: 1, whether any default TTT guns already on the ground of a map, such as the H.U.G.E. or Glock, are automatically replaced by random guns of the same ammo type


Weapon Giving Settings
ttt_floor_weapons_giver_active [0 or 1]
Default: 1, whether to give weapons to players at the start of a round

ttt_floor_weapons_giver_delay [number]
Default: 0.2, seconds after a round starts until floor weapons are given to players that don't have one

ttt_floor_weapons_giver_ammo [number]
Default: 2, when weapons are directly given to players, how many boxes of ammo are given alongside


Floor Weapon Spawning Settings
ttt_floor_weapons_spawner_active [0 or 1]
Default: 1, if a map has few or no guns, whether floor weapons are automatically spawned on the ground

ttt_floor_weapons_spawner_delay [number]
Default: 0.2, delay in seconds after everyone respawns for the next round, until weapons are spawned on the ground

ttt_floor_weapons_spawner_ammo [number]
Default: 2, how many boxes of ammo are spawned with a gun on the ground

ttt_floor_weapons_spawner_guns [number]
Default: 6, how many guns are spawned on the ground around the map per alive player, if the limit below is never reached

ttt_floor_weapons_spawner_limit [number]
Default: 350, how many weapons and ammo boxes can be on the map before guns and ammo stop being spawned, this includes existing guns and ammo already on the map, or ones added from a weapon script

ttt_floor_weapons_spawner_near [number]
Default: 4, number of guns to spawn near players that don't have a gun near them when everyone respawns for the next round, if the limit above is never reached
38 kommentarer
amit 30. mar. kl. 5:07 
only ttt?:steamfacepalm:
[LCB] BassGaming 26. sep. 2024 kl. 7:48 
Oooh very cool, thanks for the link The Stig!

Some say that he codes his mods while participating in races...
He also once made a git commit during the Rally Montecarlo.
All we know is that he's called The Stig!!!
glitchhunter09 25. sep. 2024 kl. 14:52 
I am guessing this doesn't work in single player... I want something like this that does...
The Stig  [ophavsmand] 12. sep. 2024 kl. 4:17 
[LCB] BassGaming 11. sep. 2024 kl. 18:37 
This mod is a pretty huge gamechanger. Our lobby size doesn't matter anymore and every map is playable. One thing which would be neat would be a convar to adjust grenade spawns per player. We have a lot of random gimmicks in the grenade slots lying on the ground.

Anyways, thanks a lot for your mod and work!
Prof.Profanity 24. aug. 2024 kl. 3:31 
ITS THE STIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

+rep to the stig
MEDIC 5. aug. 2024 kl. 8:06 
only ttt gamemode?
CaptainCow 31. juli 2024 kl. 16:18 
It was 100% an issue on my end and resetting the convars like you suggested seemed to fix it. Thank you so much for taking the time to try so many things and being so thorough its above and beyond and I really appreciate it. Hope you have a great rest of your week
The Stig  [ophavsmand] 29. juli 2024 kl. 6:01 
@CaptainCow I can't find what the problem is myself, I used your collection on a newly installed server and guns were spawning. I tested on gm_construct and ttt_dolls. I also tested on a local server as well.

My only suggestion is to try replicating this with this as the only mod installed, if it works, then try slowly enabling mods until it breaks again. (And let me know what mod is breaking things)

Otherwise you may have messed too much with some of the convars, if you delete all the convars from this mod from your server config that might be it.

There's also of course the option of a server reinstall, but that might be a bit drastic. These are all generic suggestions, there's not much I can do to help you if I can't replicate the problem myself.
CaptainCow 28. juli 2024 kl. 12:51 
About a year ago I was using this addon with my friends and it was great but recently for the life of me I can't get it to work? I don't get any kind of error codes in the console but the guns simply don't spawn and my workshop collection hasn't changed much since then do you have any idea what the issue might be?

Here's the collection I'm using if you're curious: https://sp.zhabite.com/sharedfiles/filedetails/?id=2045522859

Thank you so much for the help! =)