News | Forum | People | FAQ | Links | Search | Register | Log in
Q1 Engine Question
hey all,

was wondering if anybody has modded the engine to allow players to walk on walls and ceilings?

if not any coders want to take up the challenge? =D
 
lol, go play AVP 
 
Look for QMATRIX; and I think it was Doctor ShadowBorg had a small mod called 'the red pill' on show at Inside3D ages ago but I'm not sure if anything was released. Also there's Downsider's Cobalt runner that had a few videos but I haven't been to I3D in a while so i don't know its situation.

http://www.youtube.com/watch?v=7GaDMSTLWfs 
 
cobalt runner looks like the best of the three, but is discontinued. Shame really. 
 
it can be done fairly easily by using DotProducts instead of directly reading z values.

assuming gravitydir is normalized, this equation should suffice:
directionz == -dotproduct(gravitydir, direction)
of course you also have to add/subtract multiples of that to cancel out the z directions etc as required.
reorienting the view is actually more tricky, as you'll want the view to rotate around the gravity direction instead of the world-z axis. that can be done easily enough by transforming the current angles by the inverse-surface-matrix, applying the angle changes, then multiplying by the forwards-surface-matrix.
the biggest issue is that you need proper poly-sphere collisions instead of pure-bsp collisions with pre-expanded size.
which has both story ramifications, as well as depending upon something like q2/q3 bsp instead of q1bsp. 
 
Why would the collision need to change? At first blush, it seems like the same "point inside the clipping hull" checks would work. It's just that the point in question is moving in an arbitrary direction instead of always down the Z axis. 
Potential Issues 
The clipping hull design creates a player which is an axis-aligned cuboid. Currently this means that the bottom surface of the player bounding box faces the direction of gravity. Once you take an arbitrary direction losing this might have impact on stability and ease of navigation. 
 
Oh, right, true ... the player isn't a sphere, and it takes that non-spherical shape into account when expanding the clipping hulls, right? Hmm ... 
Post A Reply:
Name:
Title:
Body:
message
question
exclamation
idea
flame
noflame
error
skull
beer
moon
pent
rocket
sheep
pacman
pig
cheese
worldcraft
gauntlet
crate
pitfall
pimp
smile
cool
sad
frown
oi
yay
tongue
evil
wink
neutral
q1
q2
q3
ut
hl
cs
doom
dkt
serious
cube
Website copyright © 2002-2017 John Fitzgibbons. All posts are copyright their respective authors.