Garry's Mod

Garry's Mod

Capture the Flag
38 kommentarer
Imrgrim 30. jan. kl. 13:38 
forget simphys and lvs cars glide base works with this mode and its better than those two
PNMCarrie7 30. jan. kl. 1:48 
CTF?!
Spooky Spooxl 27. dec. 2023 kl. 17:10 
when i place the point down i cant move my screen and i cant move my character as every time i do it sends me back to the middle of the spawn point.
Imrgrim 19. maj 2023 kl. 15:03 
For those who wanna use vehicles you can use Vehicle damage + Doc's driveable vehicles + seat weaponiser in the meantime
SokerBit12 19. maj 2023 kl. 6:07 
Pls fix simphys vehicles
Imrgrim 6. maj 2023 kl. 15:34 
Pls fix simphys vehicles
✇Schizo Ghost☠ 6. maj 2023 kl. 15:00 
Amigo literalmente los mods de vehículos no se mueven, podrían arreglar esto?
Sovereign Snakboy KI 14. feb. 2023 kl. 9:17 
Why simfphys vehicles can't move?
Barmaros 9. aug. 2022 kl. 4:48 
Me & my friend found we can just spawn endless healthkits in with the spawn-menu. :^\
When The Baka Is Sussy O_O 19. juli 2022 kl. 2:15 
How can one make it so that the flag can be placed anywhere?
I am aware of how to mess with lua, I am just struggling to figure out how to mess with this parameter.

Loving the addon :)
Nefusadi  [ophavsmand] 13. apr. 2022 kl. 13:19 
@Wodian 140
Technically, yes, you can completely block in the flag, but then you would be unable to score, cuz you wouldn't be able to get the enemy's flag to it. More effective is to place your flag in a location that is accessible only one way, or otherwise difficult to escape from, so that you can get flags _in_ but not _out_
Barmaros 7. apr. 2022 kl. 11:03 
You can just completely block in the flag lol.
Ikakalaka 23. mar. 2022 kl. 22:09 
How to turn off player team outline?
吸血鬼兎のヴァニラ 15. jan. 2022 kl. 22:12 
Is this broken now? Why does nothing happen when I hold Q to get this "spawn menu?"
1peppaspear03 18. nov. 2021 kl. 14:14 
Why are there no entity capture the flag mods?
Boxmask 22. maj 2021 kl. 18:02 
Why isn't the vehicle moving?
Ardo_Minkono 18. mar. 2021 kl. 18:13 
How do you set it up?
enderboi 26. jan. 2021 kl. 16:00 
I wish there was a way to disable team color outline.
enderboi 4. nov. 2020 kl. 12:40 
there should be maps for this
MR MOUSTACHE 13. mar. 2020 kl. 15:36 
can you ocult the timer when the build phase finish?
Luvstruckmango 6. jan. 2019 kl. 21:23 
@XarocLP, in essence you must make those changes before clicking Start Game. You can also use console commands and find them all by typing ctf in the console to find the commands.
Luvstruckmango 6. jan. 2019 kl. 21:21 
@XarocLP, the answer to your question is yes you can. Once you've switched to the capture the flag game mode and click Start New Game you have to have the world set for at least 2 people. Once you do that the options beneath where it says "Peer to Peer" there are options to change things like build time, amount of captures to win the game, respawn time etc.
Hootenannypants 30. nov. 2018 kl. 19:56 
[Capture the Flag] gamemodes/capturetheflag/gamemode/cl_init.lua:117: attempt to index a nil value
1. func - gamemodes/capturetheflag/gamemode/cl_init.lua:117
2. unknown - lua/includes/extensions/net.lua:32

[JollyCyclone|8|STEAM_0:0:172842957] Lua Error:

[Capture the Flag] gamemodes/capturetheflag/gamemode/cl_init.lua:117: attempt to index a nil value
1. func - gamemodes/capturetheflag/gamemode/cl_init.lua:117
2. unknown - lua/includes/extensions/net.lua:32


[Jasix|9|STEAM_0:1:50250883] Lua Error:

[Capture the Flag] gamemodes/capturetheflag/gamemode/cl_init.lua:117: attempt to index a nil value
1. func - gamemodes/capturetheflag/gamemode/cl_init.lua:117
2. unknown - lua/includes/extensions/net.lua:
XarocTV 21. nov. 2018 kl. 8:14 
can one adjust somehow that one can play several rounds after the building? Currently one steals the flag and it is over the pity
DeadDave 15. nov. 2018 kl. 18:27 
could you do the same thing but make the flags german and american like dods flags?
yuseford 26. okt. 2018 kl. 19:50 
se ve genial!!! :steamhappy:
Lcboz 22. sep. 2018 kl. 19:49 
Is there any way to make it work on smaller, more enclosed maps? I've been getting the "This location is invalid! Not enough space." whenever I try to use it on a map such as ccs office. Thanks.
Nefusadi  [ophavsmand] 6. aug. 2018 kl. 19:39 
@heroguy5, The timer can be changed 2 ways. The first is when setting up a server. When you go into the Start New Game option on the main menu (with the game mode active), you'll see a green dropdown menu in the top right corner. If you set that to anything except "Single Player" a list of options will appear in that panel on the right side. You can set the build time there. unit type is minutes.

The second option is to use the developer console mid-match. In case you're unfamiliar, the developer console can be accessed by opening the menu and navigating to options->keyboard settings->advanced and checking the "Enable Developer Console" option. The console can then be opened up by pressing the '~' key. Once open, type "ctf_buildtime [time_in_minutes]" without quotes and replacing [time_in_minutes] with the desired number of minutes for the new total build time.

I hope this explanation helps. Good luck, and have fun!
ProudFoot 4. aug. 2018 kl. 1:11 
how do i change the timer?
ProudFoot 3. aug. 2018 kl. 17:35 
i cannot tell how to use it. Did i miss something?
Nefusadi  [ophavsmand] 28. juni 2018 kl. 8:51 
I've started a discussion for an entity adaptation. There's some details that need to be worked out if it's going to be compatable with the use cases people are looking for.

https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/738284170/1727575977552608244/
Reasonably Overworked 28. juni 2018 kl. 3:16 
I wish this was an entity.

That way it can be used in any gamemodes.
Nefusadi  [ophavsmand] 6. juni 2018 kl. 12:21 
Sorry, I guess I was unclear. The short answer is: No. It will not work without the gamemode. The flag initialization and point handling is all handled by the gamemode, not the flag entities. However, if you would like, you can send me a friend request so we could discuss this further, where I could tailer make something for you (and possibly others) to use based on similar functionality.
Jae 6. juni 2018 kl. 7:16 
The server that I would like to put it on us MilitaryRP, so with DarkRP as a base, would this addon work without using the gamemode, and just the points/flags?
Nefusadi  [ophavsmand] 5. juni 2018 kl. 16:54 
@EnergeticD3X

As it stands the flags and bases rely on a few things from the gamemode itself. Namely: setting up flag team information (for skin switching), obtaining references between flags and bases so they can communicate, initial parenting while the bases can still be moved, sending alerts for flag captured/dropped UI updates, and checking match status for collectability.

It would be possible to create a set of bases that don't rely on the gamemode, but there's a lot of details about what would be considered desireable functionality and questions on how much scripting should be involved when it comes to integration into non-CTF gamemodes. If you'd like, we could work together to create something that fits your needs.
Jae 5. juni 2018 kl. 11:22 
Do the flag points work outside of the gamemode (Currently own a MilitaryRP and want a Point Capture kind of outpost)
Nefusadi  [ophavsmand] 25. maj 2018 kl. 13:45 
Well, the construction timer can be changed to however long you think is appropriate. It shows up as an option when creating a new game. Alternitively, you can change it on the fly with the command "ctf_buildtime [time_in_minutes]"
Watzupius 25. maj 2018 kl. 12:06 
wtf 1 hour timer!