Forum

Quoth ladder

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Quoth ladder

Postby Nahuel » Wed Nov 30, 2011 8:44 pm

Hello forum, someone know where can i find the source code of the quoth´s ladder. I've been trying to make the code from a ladder a long time and really do not find a balance as perfect as it is this ladder. Thanks in advance :)
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: Quoth ladder

Postby Baker » Wed Nov 30, 2011 11:10 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Quoth ladder

Postby goldenboy » Thu Dec 01, 2011 3:53 pm

Quoth's ladders are a bit different from the Extras one, in that the angle works in reverse and there is some code to push you off when you jump etc. Unfortunately the Quoth source isn't available, but Extras ladders tend to work just fine (possible problems with DP and FTE though because of QW physics).
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: Quoth ladder

Postby Nahuel » Fri Dec 02, 2011 3:22 pm

Currently i am using darkplaces, and the extra´s ladder doesn´t work :(, i will try to make my own :)
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: Quoth ladder

Postby Spike » Sat Dec 03, 2011 1:28 pm

extras' ladders don't work because extras requires a specific framerate in order to detect movement without gravity. you could fix the QC using the frametime global, or by using .movement in engines that support it.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Quoth ladder

Postby xaGe » Sun Dec 04, 2011 4:25 am

..Why not use the ladder code I thought was in the dpmod?? I'm at work but a quick look in the code shows.



In dpextensions.qc
Code: Select all
line 1521: float Q3SURFACEFLAG_LADDER = 8; // climbable surface

There is more in halflife.qc & playermovement.qc.
User avatar
xaGe
 
Posts: 461
Joined: Wed Mar 01, 2006 8:29 am
Location: Upstate, New York

Re: Quoth ladder

Postby Baker » Sun Dec 04, 2011 5:09 am

xaGe wrote:..Why not use the ladder code I thought was in the dpmod?? I'm at work but a quick look in the code shows.



In dpextensions.qc
Code: Select all
line 1521: float Q3SURFACEFLAG_LADDER = 8; // climbable surface

There is more in halflife.qc & playermovement.qc.


Quake map format does not support surface flags. Quake 3 supports them. I'm pretty sure Quake 2 supported them. But is not a feature of Q1 map format.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Quoth ladder

Postby xaGe » Thu Dec 08, 2011 1:07 am

..I am aware of your points, but my mistake then I didn't see where he specified he was using Q1bsp. :oops:



Baker wrote:
Quake map format does not support surface flags. Quake 3 supports them. I'm pretty sure Quake 2 supported them. But is not a feature of Q1 map format.
User avatar
xaGe
 
Posts: 461
Joined: Wed Mar 01, 2006 8:29 am
Location: Upstate, New York


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest