Improved third-person mod with 3D model support

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
Post Reply
User avatar
RederickDeathwill
Posts: 31
Joined: Sun Sep 06, 2020 4:18 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: São Paulo - Brazil
Contact:

Improved third-person mod with 3D model support

Post by RederickDeathwill »

I've modified Cacodemon345's Zscript Chasecam and Precise Crosshair in order to create a somewhat better third-person experience using 3D models.



Features
(Not available in other third-person mods)
  • You can switch back to the first-person using the "DEL" key.
  • You can change the camera distance using "<" and ">".
  • You can access the front-view using the mouse scroll button.
  • You can use my maria.blend, MODELDEF and zscript as a reference for using your own 3D model.
GITHUB REPO: https://github.com/EricsonWillians/maria_third_person

I'll be updating this github repo in order to improve the mod. I've added Cacodemon345's Zscript Chasecam into a separate chasecam.zs file and added input support by overriding InputProcess and NetworkProces. I've disabled Precise Crosshair on first-person in order to avoid a conflict with the default GZDoom crosshair, drawing it only on the third-person. Also, I've modified the camera actor height in order to improve the gameplay with Precise Crosshair. The 3D MODELDEF has an idle, walking, running and a death animation using a custom-rigged Silent Hill 2 Maria model.

This is the modified precise crosshair event handler, if you want to check the input code.
I had to define chasecam variables as global variables on the event handler in order to be able to set the camera actor by the player input, and to be able to create the "front-view" command.
Post Reply

Return to “Gameplay Mods”