Garry's Mod

Garry's Mod

17,252 ratings
Sanic Hegehog
8
5
19
7
12
9
8
3
2
2
3
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Cartoon, Fun
File Size
Posted
Updated
965.418 KB
Aug 29, 2013 @ 10:55pm
Sep 27, 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)
380
9
Apr 23 @ 1:33pm
i love sonic but please delete this mod (hegdHUGS instead of hegdHOGS!)
Tabigotchi
128
Apr 23 @ 1:28pm
Killing Sanic
KowboyJoe3
97
Jun 19, 2022 @ 6:15pm
PINNED: Bug Reports -- Did Something Go Wrong?
Xyxen
1,941 Comments
damanteleonard Apr 25 @ 2:09am 
the one who started it all
TomatoDefense Apr 24 @ 12:10am 
nice mod!
:D
pacmastermeow Apr 19 @ 9:12pm 
nevermind. i had disable thinking on like an idiot
Xyxen  [author] Apr 19 @ 7:41pm 
Can I get the name of the map? I'll have a look later
pacmastermeow Apr 19 @ 12:36pm 
he's not generating navmeshes correctly anymore :(
M00NSM3M0RY Apr 17 @ 9:01am 
the nextbot of all time
Sandvich Cooker Apr 12 @ 2:07am 
how much health sanic got?
Serial Designation N Apr 7 @ 2:17pm 
man this brings back memories and nostalgia
davidjwatts13 Apr 6 @ 9:14am 
G O T T A GO F A S T
Xyxen  [author] Feb 21 @ 12:22am 
ur too fast :(