Forum

Avirox's Rotation Tutorial Adapted to NetQuake

Post tutorials on how to do certain tasks within game or engine code here.

Moderator: InsideQC Admins

Postby Baker » Fri Jul 16, 2010 6:03 am

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 ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby r00k » Fri Jul 16, 2010 7:50 am

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... :|
r00k
 
Posts: 1108
Joined: Sat Nov 13, 2004 10:39 pm

Postby mh » Fri Jul 16, 2010 6:16 pm

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
User avatar
mh
 
Posts: 2287
Joined: Sat Jan 12, 2008 1:38 am

Postby frag.machine » Fri Jul 16, 2010 6:33 pm

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)
User avatar
frag.machine
 
Posts: 2069
Joined: Sat Nov 25, 2006 1:49 pm

Postby mh » Fri Jul 16, 2010 6:44 pm

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
User avatar
mh
 
Posts: 2287
Joined: Sat Jan 12, 2008 1:38 am

Postby gnounc » Sun Jul 18, 2010 7:31 am

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.
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Junrall » Sun Jul 18, 2010 4:25 pm

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!
User avatar
Junrall
 
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA

Postby goldenboy » Sun Jul 18, 2010 6:33 pm

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.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Postby mh » Sun Jul 18, 2010 6:43 pm

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
User avatar
mh
 
Posts: 2287
Joined: Sat Jan 12, 2008 1:38 am

Postby Junrall » Sun Jul 18, 2010 11:28 pm

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!
User avatar
Junrall
 
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA

Postby goldenboy » Mon Jul 19, 2010 12:20 am

I suggest you ask Lord Havoc. :)
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Postby Junrall » Mon Jul 19, 2010 2:44 am

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!
User avatar
Junrall
 
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA

Postby gnounc » Mon Jul 19, 2010 2:44 am

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
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby goldenboy » Mon Jul 19, 2010 4:13 am

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?
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Postby Junrall » Mon Jul 19, 2010 4:35 am

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!
User avatar
Junrall
 
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA

PreviousNext

Return to Programming Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest