Garry's Mod

Garry's Mod

Not enough ratings
Second Person Cam [Enhanced]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Comic, Fun, Scenic
File Size
Posted
10.690 KB
26 Jun @ 1:57am
1 Change Note ( view )

Subscribe to download
Second Person Cam [Enhanced]

Description
WITH MORE TOGGLES!

Basically, an attempt of enhancing of this addon

*** THIS CODE IS CLIENT-SIDE ONLY ***

First of all:

There's no bind key, you have to manually enable it from:

Q-key -> Utilities Menu -> Second Person

New improvements for this addon:

+ Fixes the first-time opening menu bug
+ Added "Camera Looks At Player" option
+ Added Auto-Switch after death option
+ Added "Next NPC" & "Previous NPC" buttons
+ Now works with HL:Source NPCs
+ Display NPCs' heads instead of hiding them
+ Added "Ignore NPC Distance" option
+ Added "Auto-Resume when NPC re-enters radius" option
+ Added "Only resume if same NPC returns" option, this way, it doesn't auto-switch to the nearest target

Now, bugs and glitches whilst I'm testing this:
- Since there are no more hiding heads, sometimes it looks goofy on some NPCs
- No NextBot supports
- Original code had a lot of messages, I didn't remove it 'cause I wanted to fix the necessary issues only
- Original code had that auto-resume issue, with the camera being misplaced in Player's POV, so it can get really terrifying/horrifying/goofy, that's why I added "Auto-Resume when NPC re-enters radius" if player still have that camera issue after the target is killed off, the core of the issue is unknown to me
- Won't work with certain Third Person Camera Addons, such as this addon
- Won't work with Self-Portrait Camera or something similar

Explanation for the new features:

"Camera Looks At Player" option:

What it does:

If enabled, the NPC's view will follow and stare at your character.
If disabled, it will use whatever direction the NPC is naturally looking.

Example: If a combine is facing left, the camera will face left unless this is turned on.

"Ignore NPC Distance" option:

What it does:

When enabled, the camera can lock onto any NPC on the map, even if it's very far away.
When disabled, it will only use NPCs that are within a certain range (set by the slider below).

"Auto-Resume when NPC re-enters radius" option

What it does:

If the current NPC goes too far and disappears or the player strayed away from the radius, the camera stops and disabled (if this option is disabled)

With this enabled, the camera will automatically resume once the NPC comes back into range

"Only resume if same NPC returns" option

What it does:

Works together with the "Auto-Resume when NPC re-enters radius" option.
If enabled, it will only resume if the exact same NPC comes back.
If disabled, it will resume with any (if "Ignore NPC Distance" option is enabled)/nearest available NPC.

"Auto-switch if current NPC is gone" option

What it does:

If the NPC you're viewing from dies or disappears, the camera will automatically jump to the next available NPC.
If disabled, the camera just stops until you manually pick another NPC.

"Next NPC" button

What it does: Switches the camera to the next NPC nearby in the list.

Example: If you're currently seeing from a combine soldier's view, pressing this will move to the next NPC like a metro-police or zombie.

"Previous NPC" button

What it does: Same like "Next NPC" button

Otherwise: Enjoy!