News | Forum | People | FAQ | Links | Search | Register | Log in
Coding Help
This is a counterpart to the "Mapping Help" thread. If you need help with QuakeC coding, or questions about how to do some engine modification, this is the place for you! We've got a few coders here on the forum and hopefully someone knows the answer.
First | Previous | Next | Last
SOLID_BSP 
I made some progress with SOLID_BBOX but the player slides on top of the pushable instead of walking.

I'm now experimenting with SOLID_BSP and MOVETYPE_PUSH but this has problems with animating the fall. I'm trying to write something that will call SUB_CalcMove(). And brush collision detection will probably not work either. 
The Pushable Now Works Fairly Well! 
So I finally managed to make this work, with some simplifications and workarounds. The pushable drops on the ground with constant speed only and collision against walls is only checked from the bounding box's corners (so if the wall is narrower, it will go through the wall) but this is good enough for most maps. And I'm planning to still make a few more improvements.

The latest code is in my github if anyone wants to take a look:
https://github.com/ValentineQwerty/vqmdk/blob/master/qc/entities/pushables.qc 
Works Great! 
Fun for puzzles.
I could never archive this kind of thing.
Sorry not slopes. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2026 John Fitzgibbons. All posts are copyright their respective authors.