Cutstuff Home
CMM's Twitter
MM8BDM Wiki
ZDoom Wiki
Zandronum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Advanced Search
Cutstuff Forum
»
Mega Man 8-bit Deathmatch
»
Help & Editing
»
Wall climbing/Gravity adjustment
Print
Pages: [
1
]
Author
Topic: Wall climbing/Gravity adjustment (Read 1507 times)
0 Members and 1 Guest are viewing this topic.
November 14, 2020, 10:02:26 PM
Read 1507 times
Hornetzero
Standard Member
Date Registered: November 14, 2020, 09:55:51 PM
Wall climbing/Gravity adjustment
«
on:
November 14, 2020, 10:02:26 PM »
Hey everyone,
I'm seeking a mod by Cutmanmike that allowed players to climb walls, since its link has been dead for sometime and I can't find mirror for it on the internet.
https://forum.zdoom.org/viewtopic.php?t=11547
What I need it for? I'm trying to implement a wall climbing function similar to the Aliens in Alien vs Predator:
https://www.youtube.com/watch?v=i9vghoMZ80A&ab_channel=Sakuraba1982Gaming
There is the camera trickery required and the manipulation of gravity.
I thought about giving the player the +NOGRAVITY flag, and then adding a velocity on every tick, perpendicular to the "floor" the player's currently on. For floors and ceilings, this is usually straight down/up. I don't know how to find the angle of a slope in the level struct. For walls, it's perpendicular to the Line that represents the wall.
I was hoping Mike's wall climbing example could provide some insight on how one can call that function with the direction of the line as the axis.
Thank you
HZ
Logged
Print
Pages: [
1
]
Cutstuff Forum
»
Mega Man 8-bit Deathmatch
»
Help & Editing
»
Wall climbing/Gravity adjustment