Garry's Mod

Garry's Mod

17,011 ratings
Sanic Hegehog
7
5
18
7
11
9
8
2
3
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Cartoon, Fun
File Size
Posted
Updated
965.418 KB
29 Aug, 2013 @ 10:55pm
27 Sep, 2022 @ 4:01pm
19 Change Notes ( view )

Subscribe to download
Sanic Hegehog

Description
SANIC THE HEGEHOG
-- It's fun for five minutes!

Sanic will chase down any players or NPCs that find themselves close enough to be noticed. When Sanic is near, their theme (gradually increasing in volume as they draw closer) will let you know of their presence. Many configuration variables are provided, and are listed below.

#### FIRST AND FOREMOST ####
I sincerely hope you already know this, but please note that the art and sounds for Sanic are not my creation. The music and drawing of Sanic were originally created by 0nyxheart. The trailer above was kindly provided by Nate Wingman.

PLEASE CONTINUE TO READ FOR AT LEAST ONE MORE LINE. Your ears may thank you.


Configuration Variables

npc_sanic_music_volume - This is Sanic. Sanic is loud, and that may not always be enjoyable. This variable controls the music volume when being chased by Sanic (a number between 0 and 1, 1 being the loudest).
npc_sanic_smash_props - Whether or not Sanic should smash everything in their path to get to someone.
npc_sanic_allow_jump - Whether or not Sanic should be able to jump.
npc_sanic_force_download - Whether or not connecting clients should be forced to download this addon's resources. I've kept the filesize down below 0.5MB, so this shouldn't be an issue.

Targetting
npc_sanic_acquire_distance - The maximum distance at which Sanic will notice and chase targets.
npc_sanic_spawn_protect - If set to 1, Sanic will not target players or hide within 200 units of a spawn point.

Attacking
npc_sanic_attack_distance - The maximum distance Sanic's attack can reach.
npc_sanic_attack_force - The physical force of Sanic's attack (applied to vehicles being attacked).
npc_sanic_attack_interval - The time (in seconds) between attacks.

Technical
npc_sanic_hiding_scan_interval - Sanic will only seek out hiding places every X seconds. This can be time consuming, so it is not recommended to lower this too much. However, if distant Sanics are not hiding from you quickly enough, you may consider lowering this a small amount.
npc_sanic_chase_repath_interval - The path to and position of Sanic's target will be redetermined every X seconds.
npc_sanic_hiding_repath_interval - The path to a hiding place will be redetermined every X seconds.
npc_sanic_expensive_scan_interval - Slightly expensive operations (distance calculations, entity searching, etc) will occur every X seconds.


Known Issues
  • Sanic is really bad at jumping. That's because there's no code to detect whether or not they're making a good jump. They just get near and leap for it. And no, there is no limit on their jump height.
Popular Discussions View All (89)
370
9
27 Jul @ 7:20am
i love sonic but please delete this mod (hegdHUGS instead of hegdHOGS!)
Tabigotchi
127
5 Apr @ 4:27am
Killing Sanic
KowboyJoe3
2
7 Jul @ 1:59pm
plays the distorted trumpets hl2 radio sound
BuB
1,891 Comments
Xi Jinping 25 Aug @ 1:56pm 
bro walked so we could fly
jesshunt86 10 Aug @ 1:23am 
The Addon that started it all.
LargePotatoHimself 9 Aug @ 8:48pm 
my beloved.
Qy_psh 6 Aug @ 4:14am 
Peak:steammocking:
CitricSpace 1 Aug @ 6:18am 
Best addon of the 21st century
Cheesybacon 25 Jul @ 9:51pm 
Happy birthday Sanic! Crazy to think it's only been two years...
jrp32 22 Jul @ 12:59pm 
well is it was working intell something happened idk
jrp32 22 Jul @ 12:50pm 
it wont work tbh
Dumpster boy 19 Jul @ 5:38am 
when sanic gets damaged 100% of it is negated so it's not possible to kill sanic even if the gun does 1 million damage.
A2008ToyotaCorolla gaming 11 Jul @ 11:41pm 
Apart from official valve nextbots