Avirox's Rotation Tutorial Adapted to NetQuake

Post tutorials on how to do certain tasks within game or engine code here.
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Post by Baker »

After seeing this map and looking at the anomaly, I can't wait until RemakeQuake single player can be played.
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 ..
r00k
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Post by r00k »

goldenboy wrote:r00k: Like Baker said, start with phat map capacity, skyboxes, fog, alpha, support -sndspeed 44100, raise static entities limit to like 1024, raise max_channels, modify Read/WriteCoord for higher map size limit and include this rotation stuff with the smooth angles fix and the flicker fix.

RMQ's engine source is available at my blog. We declared our collection of hacks protocol 999.

We have this evil plan to add csqc support, so be warned. ;-)
[O] phat map
[x] skybox
[x] fog
[x] alpha
[x] 44100hz
[x] static ents
[x] max channels
[x] rotation support (w/ extended leafs support, thanks mh!)

Also added cls.protocol but need to truly implement support for it.
I get going in different directions sometimes and leave things untested :(

CSQC is on my todo list after i implement much needed builtins... :|
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

Baker wrote:After seeing this map and looking at the anomaly, I can't wait until RemakeQuake single player can be played.
Yeah, there are elements of this map that I found very reminiscent of the best parts of a certain other game (not saying, nyah nyah nyah) from years ago. And I mean that as the highest possible form of compliment, as the genuine magic and sense of wonder that was present in that certain other game has never been recaptured until now.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

Post by frag.machine »

mh wrote:
Baker wrote:After seeing this map and looking at the anomaly, I can't wait until RemakeQuake single player can be played.
Yeah, there are elements of this map that I found very reminiscent of the best parts of a certain other game (not saying, nyah nyah nyah) from years ago. And I mean that as the highest possible form of compliment, as the genuine magic and sense of wonder that was present in that certain other game has never been recaptured until now.
AAAARGH STOP STOP STOP STOP STOP DAMMIT I WANT TO PLAY IT TOO THAT'S NOT FAIR :evil: :evil: :evil:
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

frag.machine wrote:
mh wrote:
Baker wrote:After seeing this map and looking at the anomaly, I can't wait until RemakeQuake single player can be played.
Yeah, there are elements of this map that I found very reminiscent of the best parts of a certain other game (not saying, nyah nyah nyah) from years ago. And I mean that as the highest possible form of compliment, as the genuine magic and sense of wonder that was present in that certain other game has never been recaptured until now.
AAAARGH STOP STOP STOP STOP STOP DAMMIT I WANT TO PLAY IT TOO THAT'S NOT FAIR :evil: :evil: :evil:
If it's any consolation it's unplayable in it's current state. More down to the fact that it's not finished, and all we got was the bare minimum to make it run without crashing - so there are still a lot of surprises in store. :D
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
gnounc
Posts: 428
Joined: Mon Apr 06, 2009 6:26 am

Post by gnounc »

Just tried out the rotate map test in DirectQ, and everything works, except when you stand on the rotating bridge, the player doesnt rotate with the bridge, the bridge just rotates under the player.

Thought that should be brought up.

Pretty sweet though.
Junrall
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA
Contact:

Post by Junrall »

gnounc wrote:Just tried out the rotate map test in DirectQ, and everything works, except when you stand on the rotating bridge, the player doesnt rotate with the bridge, the bridge just rotates under the player.

Thought that should be brought up.

Pretty sweet though.
Also, if yo stand in front of a door that opens towards you the door suddenly passes through you... or is it you pass through the door?

Though, I must agree... very sweet!
Good God! You shot my leg off!
goldenboy
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel
Contact:

Post by goldenboy »

please play this testmod:

http://kneedeepinthedoomed.wordpress.co ... ing-doors/

this is the newer version.

See if rotatetest.bsp runs without problems with this mod.

If you install patch3, you get acceleration and deceleration as well.
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

And if you're not using the most recent (RC3) DirectQ you won't clip properly against rotating models at all. Sometimes you'll just go through them, other times you'll be thrown into the solid leaf.
Last edited by mh on Sun Jul 18, 2010 11:56 pm, edited 1 time in total.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
Junrall
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA
Contact:

Post by Junrall »

Ah, I see now. Just tried it with the latest DirectQ and it works great!
Do you think Darkplaces be updated to get rid of the clipping?
Good God! You shot my leg off!
goldenboy
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel
Contact:

Post by goldenboy »

I suggest you ask Lord Havoc. :)
Junrall
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA
Contact:

Post by Junrall »

goldenboy wrote:I suggest you ask Lord Havoc. :)
'gulp' is this a quagmire to be stepped in? :)
I bet I wouldn't be the first to have asked this of him!
Sure must get awful tiresome to have tons of requests thrown at you... especially when you are busy busting your but on other projects! :wink:
Good God! You shot my leg off!
gnounc
Posts: 428
Joined: Mon Apr 06, 2009 6:26 am

Post by gnounc »

Hokay player rotates with bridge, I'll be completely satisfied when the player view updates too, which I see is on the to do list.

Well done guys
goldenboy
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel
Contact:

Post by goldenboy »

Junrall wrote:'gulp' is this a quagmire to be stepped in? :)
No, I'm just saying that if you want to know something about Darkplaces, LH would be the guy to ask (on irc maybe). He's usually pretty responsive. I read that he's travelling atm though.

What do you mean exactly by "get rid of the clipping", btw?
Junrall
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA
Contact:

Post by Junrall »

goldenboy wrote:What do you mean exactly by "get rid of the clipping", btw?
I'm not sure if "clipping" is the right word.
In DP, when I stand in front of a door that is rotating closed (or open) the door passes through the player model rather than pushing it. It appears to snap the player model to the other side of the door... though I think what happens is that the player model passes through the door model and causes the door to disappear?

Sorry, I'm not savvy to mapping lingo :)
Good God! You shot my leg off!
Post Reply