Yoda almighty wrote:quick question: how do I implement this? (what do I do with the code)
Well, i based this on an SVN version of nexuiz, but i guess you might try the following, assuming you use linux:
* Copy and paste the above diff into a text file, call it e.g. dodging.diff
* Then unzip the nexuiz source archive which is shipped with the 2.5.2 release.. It's called something like Nexuiz/sources/gamesource20091012.zip
* You need to have an installation of fteqcc. Finding the right version is a bit of a challenge. Don;t know whether you can just try to compile the one shipped, too
* change into the qcsrc directory which should have been exrtacted from the gamesource zip
* Then do
- Code: Select all
patch --dry-run -p1 < /path/to/dodging.diff
If that applies cleanly and you get no rejects, do
- Code: Select all
patch -p1 < /path/to/dodging.diff
* Then run make and this process should create a file called csprogs.dat or something.. This needs to be copied into the (i think) data/ dir