Garry's Mod

Garry's Mod

57 ratings
STRaidKit
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
11.222 KB
29 Sep, 2017 @ 6:31pm
27 Jun, 2022 @ 6:41pm
4 Change Notes ( view )

Subscribe to download
STRaidKit

In 1 collection by SweptThr.one
SweptThrone Catalogue
135 items
Description
An outdated capture points system.

//

HEY! Don’t use this addon! It’s old and malfunctioning and is only here for historical record! Go get STRaidKit Redux instead!

A project we've been debating uploading for a week or so, STRaidKit.

STRaidKit is a simple system to add an interesting way to play Sandbox with your friends. Even though this would be better as its own gamemode, I wanted to release this first.

To use this, spawn a Control Point, optionally name it with a ConVar, then press E to start capturing it. It will then take a certain amount of time, declared in a different ConVar, to claim it as your own. Other players can then steal it from you by doing the same.

I made this because some friends and I play our own little gamemodes in Sandbox, and we wanted something different.

This addon should work in any gamemode, but you shouldn't really use it in all.

Server owners: This addon has two ConVars: sv_st_cpdebug and sv_st_cptime. Debug will allow you to name your control points, and time will allow you to change how quickly the points capture. Default is 0.5.

Features and Contents
Point stealing: steal a point from someone else while they're capturing it.
Sound notifications: sound and chat messages when your point is under attack.
Control panel: a terminal to show who owns which points.
Custom naming: name the points on your map whatever you want.
Multi-session preservation: names of points persist through saves, and probably PermaPropping.
Color changing: points colors change to the owner's player color.

Note that this addon may not work perfectly, as this code is literally if statements. If anything goes wrong, that means script errors, incorrect calculations, or anything else, leave it in a comment below.

Known "issues"
NULL Entity script errors may occur when an owner of a point disconnects.

Future plans
Compatibility for teams
DIsplaying ownership of teams


[sweptthr.one]

Credits:
Me - All of the code
Valve - Models and sounds
27 Comments
SweptThr.one  [author] 29 Jul, 2019 @ 11:23pm 
buy counter strike source
Fiasco 29 Jul, 2019 @ 11:05pm 
how can I resolve the errors,I mean all these entities are errors for me
Videogames 21 May, 2018 @ 7:55pm 
Listening to bug reports? On gmod workshop???

YOU'RE AN ABSOLUTE MADMAN!
Delycan 7 Mar, 2018 @ 12:34pm 
Oh so like.... I could put this in a base an defend it from points being taken? Also, can you damage the machine? Cause there's an add-on to make npcs attack it
SweptThr.one  [author] 7 Mar, 2018 @ 12:20pm 
Capture points, essentially. A fun addition to sandbox or something.
Delycan 7 Mar, 2018 @ 10:39am 
I dont fully understand what this is
Vrag Money Bag 11 Feb, 2018 @ 11:25pm 
Ok so i used that command in singleplayer and it worked, but i will be using it for a server and it didnt work, any advice?
Vrag Money Bag 1 Feb, 2018 @ 3:02pm 
Thank you!
SweptThr.one  [author] 1 Feb, 2018 @ 4:22am 
sv_st_cpdebug 1 then hit E on it. Then turn sv_st_cpdebug 0 when you’re done naming them all.
Vrag Money Bag 31 Jan, 2018 @ 11:25pm 
Question im using this for a server and how exactly do you rename the point?