Button presses in demo

Discuss Nexuiz gameplay here.

Moderators: Nexuiz Moderators, Moderators

Postby Dokujisan » Sat Feb 17, 2007 6:46 pm

divVerent wrote:So from what is IN the demo, you can't infer which keys were actually pressed. And adding that to demos would not be possible without making a new demo format.


Would it need to be completely different? Or just have additional packets added to the stream for the button information? If a dem player did not recognize the extra packets (like an older version of Nexuiz), it would just ignore them.

It seems like it would be an option during the record process, so if someone were making a demo and did not want the buttons to be displayed, they would have that option. So ai's point would not be an issue.
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Postby Dokujisan » Sat Feb 17, 2007 6:47 pm

ai wrote:IMO the whole idea is kinda of stupid.


I'm not sure why you think that. On another thread, you were suggesting the idea of a demo tutorial for learning Nexuiz tricks. This would go perfectly with that idea, wouldn't it?
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Postby divVerent » Sat Feb 17, 2007 7:10 pm

Dokujisan wrote:Would it need to be completely different? Or just have additional packets added to the stream for the button information? If a dem player did not recognize the extra packets (like an older version of Nexuiz), it would just ignore them.


No, Quake family protocols do not work like that. If any unsupported command is part of a packet, this is a fatal error and causes a disconnect (or in case of a demo, stop of playback). It can't be done in a better way without adding a length word to each command, which would cause quite some more traffic (about 10% to 30% more).
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby morfar » Sat Feb 17, 2007 7:34 pm

Is this even possible in theory??? Not all have the same bindings. Some might not even use mouse. And what if I have bound several keys to +forward etc???
But I must confess I have thought about this idea before (months ago)... but never shared it to anyone :P
morfar
Site Admin
 
Posts: 938
Joined: Tue Feb 28, 2006 6:08 pm
Location: The Island

Postby divVerent » Sat Feb 17, 2007 7:39 pm

Actually, I never thought about recording the actual KEYS, but just the functions (like "strafe left", "secondary fire", "jump").
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby morfar » Sat Feb 17, 2007 7:45 pm

divVerent wrote:Actually, I never thought about recording the actual KEYS, but just the functions (like "strafe left", "secondary fire", "jump").

Yeah, that seems more sane to me. And display arrows on screen for the movement. I think I saw this in Quake3 or CPMA.
morfar
Site Admin
 
Posts: 938
Joined: Tue Feb 28, 2006 6:08 pm
Location: The Island

Postby Psychcf » Sat Feb 17, 2007 9:29 pm

I would conclude that this is not worth the time. Sorry.
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby cyan » Sat Feb 17, 2007 10:09 pm

:lol:
irc://irc.quakenet.org/#careland

- cYan & Lunas IRC channel :P
cyan
Alien
 
Posts: 159
Joined: Tue Feb 28, 2006 9:57 pm
Location: Aabybro, Denmark

Postby esteel » Sun Feb 18, 2007 1:31 am

Well such a thing was useful in quake3 / cpma as it had quite complicated movement and that feature could show beginners what buttons to press and WHEN. With the current more simple movement in Nexuiz i fail to see this as a useful feature.
If you just want it to CREATE a demo you could use aliases:
alias +myforward "echo pressed FORWARD; +forward"
alias -myforward "echo released FORWARD; -forward"
and similar ones.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Previous

Return to Nexuiz - Gameplay

Who is online

Users browsing this forum: No registered users and 1 guest

cron