Some patches the devs might be interested in :)

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Some patches the devs might be interested in :)

Postby Blµb » Fri Aug 17, 2007 9:38 am

I've been working to increase the gameplay for myself a lot lately, and here's the result:
http://stud4.tuwien.ac.at/~e0725517/nex/patches.xml

There are engine patches for:
Sprite Tracking: You define a list of sprites which you want to have tracked, and when they're out of your view, a scaled version of them is rendered at the sides to easily track them. Like a radar. You can also specify weather they should be flipped upside down when on top edge, and weather they should be rotated when on the sides.

An SDL Mouse patch: This is just a work-around for WM hotkeys (input-grabbing), beryl, compiz screen-corner-triggers (stick_mouse), and beryl/compiz' fullscreen bind (resizable window)
All of it as command-line-options, if you don't specify any, it'll work as usual.
Still using SDL_GetRelativeMouseState to avoid screen-resolution-mouse-movement-limits

The very best IMO:
NICK Tab-Completion
In console, or in the chat-line, type at least 3 letters of a nick (in normal-font without colors), and press tab, it's normal tab completion. As soon as only 1 nick is left also the colors and fonts are automatically added, and a ^7 with a space is added.
And yes, I worked out a nice way for nicks with spaces in them ;)
It needs testing though :)

And if none of these patches makes it into the engine, they'll still be downloadable for whoever wants to use them :)
Just thought I should share :)
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm

Re: Some patches the devs might be interested in :)

Postby Ed » Fri Aug 17, 2007 2:48 pm

Nice work!

Blµb wrote:Sprite Tracking: You define a list of sprites which you want to have tracked, and when they're out of your view, a scaled version of them is rendered at the sides to easily track them. Like a radar. You can also specify weather they should be flipped upside down when on top edge, and weather they should be rotated when on the sides.

I think that would be nice for the Assault game mode as you could a pointer showing where the next objective is.
Ed
Forum addon
 
Posts: 1172
Joined: Wed Mar 01, 2006 12:32 am
Location: UK

Re: Some patches the devs might be interested in :)

Postby Blµb » Fri Aug 17, 2007 4:28 pm

Ed wrote:Nice work!

Blµb wrote:Sprite Tracking: You define a list of sprites which you want to have tracked, and when they're out of your view, a scaled version of them is rendered at the sides to easily track them. Like a radar. You can also specify weather they should be flipped upside down when on top edge, and weather they should be rotated when on the sides.

I think that would be nice for the Assault game mode as you could a pointer showing where the next objective is.


:)
fixed some bugs I ran into: multiple unused colorcodes, like a^9^3^8b caused problems for nickcompletion, is fixed, my sanitize-name function didn't like those :>

and the flag-carrier sprite was visible AS carrier when looking upwards, horrible...

I need some of you to test and report if you find any problems :)
I'll make new win32 executables soon too
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm

Re: Some patches the devs might be interested in :)

Postby Ronan » Fri Aug 17, 2007 5:06 pm

Blµb wrote:Sprite Tracking: You define a list of sprites which you want to have tracked, and when they're out of your view, a scaled version of them is rendered at the sides to easily track them. Like a radar. You can also specify weather they should be flipped upside down when on top edge, and weather they should be rotated when on the sides.


Blµb wrote:NICK Tab-Completion
In console, or in the chat-line, type at least 3 letters of a nick (in normal-font without colors), and press tab, it's normal tab completion. As soon as only 1 nick is left also the colors and fonts are automatically added, and a ^7 with a space is added.
And yes, I worked out a nice way for nicks with spaces in them ;)
It needs testing though :)


These 2 features can improve Nexuiz experience, I hope it will be integrated in the next official release. :D
Ronan
Alien trapper
 
Posts: 292
Joined: Tue Mar 20, 2007 10:25 pm
Location: France

Postby divVerent » Fri Aug 17, 2007 5:29 pm

Not if I don't get internet access anytime soon. Still waiting for my DSL. And today even the open WLANs were gone. Can anyone else test the patches?
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 Blµb » Fri Aug 17, 2007 6:40 pm

I now tracked down and fixed the last `bug' (if you can call it that).
There's only one problem left, you have to type at least 3 letters for nick-completion when a nick is the first thing you type...
But that's no biggie :)

Anyway, the more testers, the faster we know if there are bugs.
I'm now gonna bake win32 executables. (I'm way too nice to win users :P)

EDIT:
Added the win32 exes now...
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm

Postby Mr.Carlyle » Fri Aug 17, 2007 9:56 pm

divVerent wrote:Can anyone else test the patches?


I've tested the Win32 Executable and everything works great. The tab completion is such a time saver (IMO) and I hope it gets included in the next release.

The flag tracker also works like a charm.

Nicely Done Blub! 8)
Image
Mr.Carlyle
Alien
 
Posts: 148
Joined: Sat Jun 16, 2007 6:17 pm
Location: USA

Postby Blµb » Fri Aug 17, 2007 10:16 pm

I see you already edited your post ;)
I now figured out how the attached sprites differ ^^
flags RENDER_EXTERIORMODEL

reversed the unnecessary changes for the visibility and made a clean version, as stated in the v5 patch description :)
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm

Postby Blµb » Sat Aug 18, 2007 5:14 pm

ohkay to make testing easier, there now are win32 and mac universal agl (thx to sYm[PB]) executables
http://stud4.tuwien.ac.at/~e0725517/nex/patches.xml
I'm not 100% sure weather the win32 combo is completely up to date but I think it is.

EDIT: since many linux users use binary packages I added i686 and x86_64 SDL binaries for linux as well.
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm

Postby Spaceman » Mon Dec 03, 2007 12:07 am

I want to try the nick completion patch. How do I patch Nexuiz on Kubuntu?
Spaceman
Alien trapper
 
Posts: 264
Joined: Tue Aug 28, 2007 10:53 am

Next

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron