Garry's Mod

Garry's Mod

93 ratings
Control Point Mod
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
21.112 KB
11 Sep, 2024 @ 10:21am
4 May @ 9:42am
6 Change Notes ( view )

Subscribe to download
Control Point Mod

Description
Control Point For Both NPC and Player.Custom NPC base probably won't works.



How To Use:
  1. Spawn Control Point(s).
  2. Spawn Faction Assigner(s) ,and press use on the barrel entity to open menu ,and set the name and color of a faction .
  3. Place NPC(s) or yourself within the circle of Faction Assigner.
  4. ????
  5. PROFIT.

AI Tactics In Faction Assigner:
You can now choose tactic for ai in faction assigner. Each tactic will make them do different things.
  • Hyper Aggressive :
    NPC that has been assigned a faction will now prioritize on capturing control point.

  • Aggressive :
    NPC that has been assigned a faction will now prioritize on capturing control point, but only when clear of threat.

  • Harass:
    NPC that has been assigned a faction will only capture control point when there is no threat, and will try to retreat if in combat.

Notes:
  • You need to assign npc or player to any faction in order for them to capture any control point.
  • If you are having performance issue try to tweak the settings inside the Control Point Configuration which is under
    the Option Tab. Or use "cp_ai_think_interval" command and set it to the higher numbers(I'd say 1~3). If you set the
    value too high , npc(s) will behave like biden.
  • If you stand within the circle of faction assigner, you will be assigned to a faction.
  • Faction npcs won't do anything unless they detect uncontrolled control point(s).
  • This mod create a squad for each individual of faction npc, so if you are using AI mod that changes squad ai
    behaviour , RIP.
  • Some players have reported mod breaking bug(s), but the cause of issues & fix are still haven't been found.(Could be mods
    conflict possibly.)
30 Comments
HAHAHAHAHA!  [author] 19 May @ 8:03am 
@UglyFour02 I don't know. There's no problem on my gmod.
You can go to options tab and find the configuration of my mod , and tick off the drawline tick box.
UglyFour02 19 May @ 7:17am 
and for this problem?

[Control Point Mod] lua/entities/ctp_point/cl_init.lua:17: attempt to index a nil value
1. DrawLine - lua/entities/ctp_point/cl_init.lua:17
2. Draw - lua/entities/ctp_point/cl_init.lua:10
3. unknown - gamemodes/base/entities/entities/base_anim.lua:49

when i use in multyplayer server say to me this
HAHAHAHAHA!  [author] 18 May @ 9:24am 
@Just Nope, too much work to do.
Just 18 May @ 8:59am 
Really good mod, but is it possible to create an update where it can modify the factions of vj npcs too?
UglyFour02 9 May @ 7:34am 
it not work in multipayer server
same error of galok, and no i don't have addon conflict
UglyFour02 4 May @ 9:29am 
there is a issue, the dead body of a player continue interacting with the capture point
ProGaming122 25 Mar @ 5:01am 
[Control Point Mod] lua/autorun/server/g_ctp_system.lua:23: bad argument #1 to 'HasCondition' (number expected, got nil)
1. HasCondition - [C]:-1
2. NPCHasVisualOnEnemy - lua/autorun/server/g_ctp_system.lua:23
3. NPC_Get_To_The_Nearest_Object - lua/autorun/server/g_ctp_system.lua:69
4. v - lua/autorun/server/g_ctp_system.lua:108
5. unknown - lua/includes/modules/hook.lua:96
HAHAHAHAHA!  [author] 18 Feb @ 11:13pm 
@Galok Ugr....no. I'm not encountering any error in my gmod. There's another guy in the comment section had the same problem as yours, perhaps he can help you?

It could be some of your addons conflicts with my mod.Maybe try running my mod only to see if any error occurs.
By the way any AI enhancement mod is preferably not to be installed on your game, as they tend to create unforeseen consequences.

Also note that this mod is not created with compatibility in mind, so any mod that works with mine is sheer luck.
Galok 16 Feb @ 2:26am 
[Control Point Mod] lua/entities/ctp_point/cl_init.lua:17: attempt to index a nil value
1. DrawLine - lua/entities/ctp_point/cl_init.lua:17
2. Draw - lua/entities/ctp_point/cl_init.lua:10
3. unknown - gamemodes/base/entities/entities/base_anim.lua:49

this is problem when I spawn point entitie on multiplayer server,
it just happen after spawn that one.

could you fix this problem?
HAHAHAHAHA!  [author] 13 Feb @ 5:57am 
@Galok you don't