Garry's Mod

Garry's Mod

824 ratings
Gordon Freeman SmartNPC
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
27.248 MB
3 Mar, 2019 @ 7:42pm
4 Feb, 2020 @ 9:45pm
11 Change Notes ( view )

Subscribe to download
Gordon Freeman SmartNPC

Description
"Well, Gordon Freeman, and about time too!" - Male Citizen

Well this Mod took a long while to make.
About 2-3 Months to be exact.
This SmartNPC contains over 4,500 lines of code.

WARNING!

This NPC does NOT work with Follower's Mod's Following System. Because of the way I scripted him to do his custom abilities and such, he requires a Name which Follower's Mod replaces with a different one. So you can't have him follow you. But if you do have him follow you, he won't be able to use his abilities until you make him Leave your squad.


This Mod Includes :
---- 1 NPC
---- Located in Humans + Resistance
---- Has a Spawn Icon

NPC Features :

---- Can Use Health Charger ( FIRST NPC to do this )
---- Can Use the Suit Charger ( FIRST NPC to do this )
---- Can shoot Ar2 orbs from the ar2 against enemy Hunters (FIRST Non-Combine, Base Class NPC to do this)
---- Can pick up medkits and vials
---- Can pick up antlion grub nuggets. (Only if health is > 50 and < 100 )
---- Will Squash Grubs to collect them.
---- Spawns with No HEV Suit and needs to pick it up
---- Can pick up armour batteries

---- You can use the ConVar gordon_equipped to spawn Freeman already with his suit, and all his weapons for quickplay.

---- Has an inventory of weapons.
---- Changes weapons depending on enemy's distance from him
---- When using the Crossbow, it will do 100 damage instead of the default 10 Damage.
---- Uses Crossbow for only certain types of enemies.

---- Starts with labcoat and has 50 HP but when puts on HEV Suit, is boosted to 100 HP and can go up to 200 HP for picking up amour batteries
---- If Freeman has a labcoat on and is not holding a weapon and gordon_neutral_to_cops is enabled then metrocops will not be hostile to Freeman.

---- When his HP is 20 or below and sees a medkit or vial, he will SPRINT towards it, even during combat.
---- Reloads weapons faster than normal NPCs.

---- Has grenades
---- Can restock grenades by picking props of grenades or weapon_frag
---- Can also restock grenades by going to a grenade ammo crate. ( Must be a prop_physics )

---- Has Melee attacks. Uses the butt of the gun if the gun uses to hands to hold or uses his fist when using weapons that have 1 hand or no weapon.
---- If he has a crowbar and sees and enemy, he will charge at the enemy up to melee p


---- If he desperately needs a medkit ( at 20 HP or less ) he will leave the Player's Squad to Sprint for that Medkit. ( If it is within range and he sees it )

---- Has Limited Ammo
---- Picks up Ammunition when having none.
---- Puts away weapon when running out of ammo.
---- Pulls out weapon ( if has no current weapon ) after picking up some ammo for that weapon.
---- If an ammo crate is around ( that is a prop_physics ) and needs ammo for that gun from that specifc crate, he will run to it and refill his ammo.
---- If he ran out of ammo for a gun and picked some more up, he will reload the gun to show him 'pulling out an empty gun'.

---- Will not pick up medkits or vials if a player's health ( that he is friendly to ) is lower than his and ai_ignoreplayers is turned off.

---- Is silent and plays no voice death sounds on Death.
---- Has HEV Suit Sounds that periodically play when he preforms a task or updating his status audibly.
---- Can Take Fall Damage if he falls from a high enough point.

---- Citizens (and/or Barney/Alyx) that are not following the player will follow Freeman ( unless gordon_disable_followers is enabled )
---- Citizens will say a quote to tell the player that they are going to follow Freeman.
---- If the global state gordon_precriminal is on, Citizens will not follow Freeman.

--- There is a ConVar (gordon_limit_to_one_free_man) where if you enable it (1) you will only be allowed to have Gordon Spawned Once.
--- The limit resets when Gordon dies. ( So you can respawn him )

--- Has a Custom Name in the Kill Feed for when he kills enemies. (Not for when he dies though. [yet])

ConVars included in this mod :
gordon_equipped
gordon_neutral_to_cops
gordon_disable_followers
gordon_limit_to_one_free_man
gordon_limit_to_one_free_man

Credits :

- Zach88889 :
Scripting the SmartNPC, Ideas, Concepts

- ninjagojosh :
Some ideas for the SmartNPC

- Punk Buster : Suggesting some weapon change conditions

I didn't make it and take no credit for it, they deserve it.

Want to communicate with me? Here is a Discord server that will allow you to chat and discuss bugs and features :

D&Z Modding Discord Server: https://discord.gg/vwy8fnZvwg

tags : Gordon Freeman, NPC, SmartNPC, SNPC, Realism, Not a Nextbot, Advanced NPC, Roleplay, Half-Life, Half Life, Half Life 2
Popular Discussions View All (5)
63
1 Jun, 2023 @ 9:36am
suggestion section.
The Supreme Combine
50
24 Nov, 2022 @ 12:12pm
PINNED: Bug Section.
The Supreme Combine
8
4 May @ 1:48am
GOOD Suggestions and not demanding
EnderVulpes
205 Comments
Zombified Neko 3 Aug @ 3:24pm 
can gordon climb latters?
fotosintesis 14 Jun @ 11:35am 
can it play through half life 2
(dont take this serious)
Giglio 18 May @ 8:10am 
Can you make an option that he has infinite ammo?
Robgerfs1235 10 Apr @ 4:39pm 
Can you make him Have An option to be invicable?
metrocop unit 632 6 Apr @ 3:45am 
hey, what tipe of blur you use, i mean that modernized health and that that says how much live remains on citizen
regunkyle 3 Apr @ 3:09pm 
they cant.
cam 10 Mar @ 7:12am 
@HELIX im pretty sure zeta players can do that
HELIX 16 Feb @ 2:16am 
I'm curious as to what would be required to make an npc capable of using the gravity gun? is it even possible? Admittedly if no one's done it yet then that leaves it in doubt
cool add-on btw, i like it a lot
Pea Soup 12 Feb @ 12:36am 
yes please make one that spawns him with every thing:sentry::sentry::headcrab::gordon:
Someonetocarry #FIX TF2 9 Feb @ 6:34pm 
can you make one that spawns him with all the stuff