Community made patches and improvements

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Community made patches and improvements

Postby MirceaKitsune » Sat Nov 08, 2008 11:47 pm

Since people from the community are often willing to make patches and fixes for open source projects like Nexuiz, I thought it would be useful to make a topic for those who are not core developers but make Nexuiz patches over the night to post their work in for adding it to the game. This should both make things in development easier and encourage the community to make and post patches for the game whenever they feel like doing such a thing. Should probably be a sticky too if moderators want to mark it as such.

Any kind of patch you made and believe is good enough to go in officially can be posted here for the devs to look at and apply if they believe it's the case. Since the game runs off SVN it's usually recommended that changes are made over the SVN version and posted as .patch files which can be generated with your SVN client (I use Tortoise SVN which works very well). Anything that helps with the game is useful... code changes, textures / models, sounds, even maps. So if you made anything interesting just upload the patch onto a file hosting website and post the link here with a description about the change if you wish.

To start off, this is my first code patch for Nexuiz (discussed it in #nexuiz.editing on irc tonight). This is a feature I wanted to see in the menus and since I wanted to give my first shot at making a code patch for the game I made a change which includes all weapons in the Mutators window to be played as arena. Currently in SVN there's only the Rocket Launcher and the MinistaGib / NixNex in that category. My patch makes the arena list complete and adds all the weapons to it so whoever makes a server can easily select any weapon to play with... most useful especially when someone wants to train theirselves with a certain weapon to gain a better skill with it :)

The patch can be downloaded from this link and a preview screenshot of the list over here.
MirceaKitsune
Keyboard killer
 
Posts: 593
Joined: Thu Aug 14, 2008 6:48 am
Location: Romania - Bucharest

Postby Alien » Sun Nov 09, 2008 4:53 am

You forgot laser.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Sun Nov 09, 2008 7:29 am

One thing I'd really like to see changed: can you please use a download site that is not such an annoying nagsite? On my first attempt I could see it, but had to enable javascript for it, but then accidentally shut down my eeepc. On my second attempt, I cannot access the site at all.

Please use sites like http://paste.debian.net/ to upload patches made using "svn diff", if you do not have a better kind of webspace. I or someone else will then download them and put them on some "real" webspace, or put them into svn.
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 Alien » Sun Nov 09, 2008 7:47 am

Filedropper is down. There are almost no good upload sites, but it's not relevant for patches.

Uploaded to paste.debian.net: http://paste.debian.net/21020/
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby Blµb » Sun Nov 09, 2008 9:16 am

[strike]I can provide upload space here:
http://nexuiz.kicks-ass.org/~blub/nexfiles

Just drop me a PM[/strike]

why the hell can't I use the 'strike' tag?
Last edited by Blµb on Tue Dec 15, 2009 5:40 pm, edited 1 time in total.
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm

Postby divVerent » Sun Nov 09, 2008 10:13 am

Improved the patch a bit, extended the weapon system to give menu QC more knowledge about the weapons, added a "this weapon can be used for climbing" field... now it looks like:

Image

and is committed. Thanks!
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 MirceaKitsune » Sun Nov 09, 2008 10:26 am

Thank you for that site. The reason I used filedropper was because it was kind of the only hosting service I knew. That one seems much better, I noted it down and will attempt to use that from now one :)

And that looks good div, although arenas are made to be single weapons only so the & laser doesn't make it so much of an arena any more I think. It would probably be better if that got removed, and a weapon arena remained that weapon only without the laser. Or better off, under the Weapon Arenas: category make a "with laser" check box at the end separate from the weapon choice radio boxes, so if someone wants a certain arena weapon with the laser too they check that box separately... that would be the best way if you can make that change so not everyone is forced to play with the laser in arena mode nor miss the laser when playing with certain weapons like the Rocket Launcher if they don't want to.

Also with certain skins and resolutions the "Heavy Laser Assault Cannon & Laser" overlaps with "T.A.G. Seeker & Laser", attached screenshot here.. so that's another reason why Laser should be put separately as a check box to have shorter strings on weapons. Anyway the All Weapons mode is a great idea, many may want to play with all the weapons like in LMS that way :)
MirceaKitsune
Keyboard killer
 
Posts: 593
Joined: Thu Aug 14, 2008 6:48 am
Location: Romania - Bucharest

Postby MirceaKitsune » Sun Nov 09, 2008 7:24 pm

Either way I finished making another patch for the menus. I added a bunch of cvars to the menus which were not present or not properly arranged but are important to the game, and arranged and reordered a few settings a bit so they stick correctly in categories and are properly ordered now.

For now I added the patch here. If this file host is also bad please tell me so I can re-upload quickly in another place.
MirceaKitsune
Keyboard killer
 
Posts: 593
Joined: Thu Aug 14, 2008 6:48 am
Location: Romania - Bucharest

Postby [-z-] » Sun Nov 09, 2008 7:39 pm

MirceaKitsune, I'm very happy to see you contributing :). This thread was a very good idea, bringing attention to not only the possibility but the need for such organization of code contributions!

Nice work.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby C.Brutail » Sun Nov 09, 2008 7:50 pm

Speaking of contributons: the python interpreter is the part of Nexuiz now? :?:
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Next

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest