First Person Sniper

First Person Sniper v1.4

PikaJade

Member
PikaJade submitted a new resource:

First Person Sniper - It's time to get first-personal.

Credit to @clairebun for the Fang Popgun Modifications addon this was based on.

Have you ever been playing as Fang and noticed that the auto-aim was a bit off? That it couldn't seem to hit anything moving with significant speed? Have you ever wanted to wrestle the gun out of Fang's hand and aim it yourself?
View attachment 110836
Now you can. Introducing First Person Sniper, an addon that transforms Fang's...​

Read more about this resource...
Post automatically merged:

Okay, so uh, a bit of an issue. I added a quick bug fix right before I submitted it, and I didn't feel the need to test it since it was such a simple fix and I had to get to bed. I forgot to take into account that Lua is too difficult for my poor little GML-oriented brain, and now the file I have in my submission is broken and throws a compile error when adding it. It was simple to make it work again, so I have a fixed version now, attached here. I can't figure out how to attach it back to the original post, though, so if someone could do that for me, I'd really appreciate it.
 

Attachments

  • L_FirstPersonSniper-v1.pk3
    173.8 KB · Views: 85
Last edited:
PikaJade submitted a new resource:

First Person Sniper - It's time to get first-personal.



Read more about this resource...
Post automatically merged:

Okay, so uh, a bit of an issue. I added a quick bug fix right before I submitted it, and I didn't feel the need to test it since it was such a simple fix and I had to get to bed. I forgot to take into account that Lua is too difficult for my poor little GML-oriented brain, and now the file I have in my submission is broken and throws a compile error when adding it. It was simple to make it work again, so I have a fixed version now, attached here. I can't figure out how to attach it back to the original post, though, so if someone could do that for me, I'd really appreciate it.
I went ahead and replaced the addon with your fixed version.
Thanks for that btw, I about to reject due to the addon not working lol.

Thanks for the Upload! This really helps Fang be cool lmao.
 
"fang with limited ammo. what could possibly go wrong?" will probably be my famous last words. but I'll play the actual thing before jumping to conclusions.
 
"fang with limited ammo. what could possibly go wrong?" will probably be my famous last words. but I'll play the actual thing before jumping to conclusions.
it reloads after not shooting for a few seconds, or when shooting an enemy.
 
first seconds in and aiming is confusing. to hit a crawla. you have to shoot directly at their face. their foreheads don't register
[the gif didn't want to load. discord link it is then]
other than that. it's a pretty good mod (also it locks you to first person. but that is just picking at straws by that point)
 
Yeah I noticed that too, I think it's due to how the Crawlla's it detection works in SRB2.
This could be fixed with a Blockmap search or something on the cork.
 
first seconds in and aiming is confusing. to hit a crawla. you have to shoot directly at their face. their foreheads don't register
[the gif didn't want to load. discord link it is then]
other than that. it's a pretty good mod (also it locks you to first person. but that is just picking at straws by that point)

I knew something was off with the collision detection, I just couldn't tell what! I'll try and fix this once I get around to updating this mod, along with the jank that you get when firing straight up or down.

As for locking the player into first person, I did that since I figured there wasn't a way to make it all that possible to aim in first person short of entirely hijacking the camera, something which I don't have the coding skills to do currently.
 
Last edited:
Addon are nice.
but wth with hud idk.
maybe it's problem with my resolution.
my is 1366x768
well if forget about that glitch it's better than normal fang.
srb20393.png
 
I knew something was off with the collision detection, I just couldn't tell what! I'll try and fix this once I get around to updating this mod, along with the jank that you get when firing straight up or down.

As for locking the player into first person, I did that since I figured there wasn't a way to make it all that possible to aim in first person short of entirely hijacking the camera, something which I don't have the coding skills to do currently.
Disabling the forced first person for personal use just now didn't really change the first person aiming when switched back to manually. You could make it only do your manual aim in first person mode, that plus your other changes would go a long way towards making Fang feel better to play. Maybe also increase the cork radius a little or something to account for so many hitboxes being slightly below where you'd think they are, but basically every manual aiming mod has that issue so there's really only so much that can be done there.

Either way, you should absolutely add the "character: Fang The Sniper" tag to this. I recently switched over from a multiple character overhaul mod to individual stuff and was looking for something to make Fang more playable, and I completely missed this until I happened to just be scrolling through "Lua" like an hour and a half ago.

(There does not currently appear to be another mod that removes the stop and start from the popgun and isn't part of a multi-character overhaul, btw. So this sounded like the perfect popgun overhaul to me. Still pretty cool to play around with as-is, also.)
 
PikaJade updated First Person Sniper with a new update entry:

Fixes, Feature(s), and Fconsolevariables

  • Due to popular demand (which I still don't personally understand but oh well), you can still go into third person, and first person is only forced when first spawning in
    • As a result of this, 2D sections are now playable (or at least to the same extent as vanilla)
    • I do not intend to add auto-aim back for third person mode, since I removed all the code that allowed for that in the mod I based this on and it would be too much effort to put it back for something I think...

Read the rest of this update entry...
Post automatically merged:

Either way, you should absolutely add the "character: Fang The Sniper" tag to this. I recently switched over from a multiple character overhaul mod to individual stuff and was looking for something to make Fang more playable, and I completely missed this until I happened to just be scrolling through "Lua" like an hour and a half ago.
I don't think I'm able to add tags to an addon after I've already posted it. Maybe an admin could?
 
Last edited:
Tried this today with a friend, and we ran into a weird Bug
Basically Fang player joined me online, but would run into an issue where They would sometimes see themselves shooting a cork, but I as the host, would see them shoot nothing (but not make the no ammo sound, it made the shooting sound)

this would go further, if they see themselves kill something, that, since I as the host didn't see, the enemy wouldn't be dead, and cause a resync at some point.
 
PikaJade updated First Person Sniper with a new update entry:

Fixes, Feature(s), and Fconsolevariables



Read the rest of this update entry...
Post automatically merged:


I don't think I'm able to add tags to an addon after I've already posted it. Maybe an admin could?
Couldn't tell you on the tags, I haven't actually finished anything enough to feel comfortable releasing it yet.

As for the third person compatibility and theoretically auto-aim (honestly with the hitbox changes, the auto-aim doesn't feel necessary), there's two main reasons for wanting that:

1. The changes to moving/shooting in your mod are really good ones that many vanilla character overhauls make, but aren't actually in a standalone mod currently. Clairebun's popgun changes still bring kill all of your momentum whenever you shoot, even if they don't make you stop first.

2. I mean you basically said it yourself at the start of the mod description. Sometimes you want to just take over the aim and do it yourself. Sometimes. Platforming is usually better in third person, plus I for one usually play this game with a controller and if I wanted to do kb/m and play an FPS there are multiple FPS characters, but a Sonic character that can switch to FPS mode when it's useful? There's Whisper, and now there's Fang with this mod. If you like to toss most of your mod characters in at once and pick at random every stage, Fang stuck in first person is maybe a bit much to have in there, but Fang with the ability to fire without a movement penalty and to switch to first person for precision shots? That's way better than vanilla Fang.

Anyway cool mod, forgot to complement the first person sprites but they blend in well. Thanks for the changes, the hitbox changes feel really nice too and in addition to what they're most likely meant for, are also probably a funner solution to third person shooting than auto-aim.
 
PikaJade updated First Person Sniper with a new update entry:

v1.2 - The Handy Man Can

  • Added new hand sprites, courtesy of @Dry_Ny (who made them unprompted - once again, thank you very much!)
  • Added hand positioning effects
    • Hand sways from side to side while walking
    • Hand drifts up and down while in the air according to vertical momentum
    • Hand lowers while tail bouncing
    • Yes, I'm aware this means I'll have to replace the GIFs in the post. No, I'm not doing this immediately. If you want to (and you're better with this mod than I...

Read the rest of this update entry...
 
After running a few tests with a knowledgeable friend.
atleast one issue seems to be the way you enforce FPS on the player
When a Client joins in coop, The host sees them still in third person aiming, but the client sees themselves in first person, and so the gun starts shooting 'blank' shots, where the client simply shoots the floor directly infront of them, as far as the host can tell.
 
After running a few tests with a knowledgeable friend.
atleast one issue seems to be the way you enforce FPS on the player
When a Client joins in coop, The host sees them still in third person aiming, but the client sees themselves in first person, and so the gun starts shooting 'blank' shots, where the client simply shoots the floor directly infront of them, as far as the host can tell.
Could what your saying be simplified?
 
PikaJade updated First Person Sniper with a new update entry:

v1.3 - Fancy Animations

  • Created 5 (3? 4? it's kinda weird) new hand sprites and used them to make a myriad of new animations
    • Now, when reloading, Fang actually puts a cork into his gun instead of just bringing it down where he thinks you can't see it
    • Bouncing has a more distinct animation so you can tell whether or not you're doing it before you hit the ground
    • No more disappearing hands - there are now bespoke animations for getting hurt, clearing a level, and just about everything else...

Read the rest of this update entry...
 
PikaJade updated First Person Sniper with a new update entry:

v1.4: Baby-Faced & Netgame Safe

  • Added boost meter
    • Disabled by default, can be enabled with the console variable fangfragboost
    • When enabled, decreases the player's base top speed and acceleration, but gives a small boost to both each time the player hits an enemy, up to a limit that can be configured with the console variable fangfraglimit
      • Note that this only changes how many frags are needed to get the maximum boost; the minimum and maximum speeds are fixed
    • Designed...

Read the rest of this update entry...
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top