Forum

Crawling on Walls...?

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Crawling on Walls...?

Postby Ranger366 » Tue Sep 07, 2010 4:23 pm

After some playing of Aliens versus Predator, Alien Class, i asked me how Wall Crawling would be possible in Quake. Actually it changes alot in the Movement thought... And dont want to think of the worst possible answer (playing with the Gravity, rotating the view and changing playermoving in a crappy way..) i decided to ask here.
User avatar
Ranger366
 
Posts: 203
Joined: Thu Mar 18, 2010 5:51 pm

Postby Spike » Tue Sep 07, 2010 5:11 pm

the client would need to be fixed to allow full angle changes, rather than being purely pitch/yaw/roll. player movement would have to accept an 'up' direction that is not always up.
probably the biggest issue is that you can't rotate a player hull, and so you would need to implement some sort of capsule tracing allowing you to treat the alien as a sphere, rather than a box - this could perhaps be done purely in qbsp. Without doing so, your alien will never be able to scale cave walls, and it'll look completely broken in multiplayer (when standing on a wall, you'll be closer than if you were standing on the floor, and the ceiling is again different).
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby Ranger366 » Tue Sep 07, 2010 5:52 pm

Wow, more to change than i thought.
Actually i think Quake's Movement is kinda worse, the Collision was a big problem for my mods thought too (not movement related and per poly collision fixed alot - yeah)
I never thought of making an Alien related mod, but good to know that. For me it was always a big point of making Quake even more easiert to modify, as example Full rotation of the Player View Cam over QC. And after learning and understanding over the hours of working with Quake, i love it even more to build my own Worlds in it... Super!
User avatar
Ranger366
 
Posts: 203
Joined: Thu Mar 18, 2010 5:51 pm

Postby mankrip » Tue Sep 07, 2010 8:20 pm

I would try using an invisible MOVETYPE_NOCLIP entity for the player, whose input velocity would be rotated and applied to a secondary MOVETYPE_FLY entity showing the character model, and would set the camera view to this entity.

Dunno if SOLID_TRIGGER could help on the collision; maybe something similar to the hypnotic mission pack's rotating doors should be done.
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
Dev blog / Twitter / YouTube
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am

Postby jim » Tue Sep 07, 2010 8:30 pm

It could be made some simpler climbing, just like climbing a ladder. Somehow specify which surfaces are climbable. The character can move up/down, left and right on these surfaces. Then you don't have to worry about the view rotating.
zbang!
User avatar
jim
 
Posts: 599
Joined: Fri Aug 05, 2005 2:35 pm
Location: In The Sun


Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest