person2 wrote:divVerent wrote:A new gametype like T:N would essential mean "same engine, completely different game". A mutator would be a small code change. T:N is certainly more than just that. Plus it's based on an REALLY OLD Nexuiz version which makes it impossible to merge now.
You're just lazy. You don't want to give the people what they want, it is time to stop being a developer and pass the torch onto someone else, you are unneeded and just a sarcastic hinderance to progress.
Obviously you haven't read my post.
A total conversion is better not done by putting if-then-else stuff all over the code. As QuakeC isn't an OO language and ALSO quite slow to interpret, you certainly would not want that. Not just maintainability would suffer, but also CPU load.
Also, why do YOU think Counterstrike isn't a just a simple change in Halflife? Tactical Ops isn't just a simple change of Unreal Tournament? Urban Terror isn't just a simple change of Quake 3 Arena? All of them have a separate game code - just like T:N.
Yes, we _could_ "merge" T:N and Nexuiz also another way - a global flag to indicate which of these "games" is being run, and setting all the function pointers up the correct way. It would in fact work. But you will see that these would still be quite separate from each other. Sorry, it is a total conversion, not just a game mode.
What we COULD do is creating a second game directory - why not call it TeamNexuiz - and put it next to the Nexuiz directory. Move "generally" interesting data (textures, maybe some maps) over to Nexuiz and having just the T:N code in the T:N directory.
Now wait... this already has been done! T:N is just next to Nexuiz in SVN. And they indeed run on the same engine. So what's your problem?
Next problem - who is interested in T:N anyway? The ones who are have gone to Project Alaris, which is the successor of T:N. There were quite some reasons for the rewrite. I know it might insult someone else here, but usually you rewrite code because it became unmaintainable. That is, when larger structural changes were needed. Exactly this has happened to T:N and made a rewrite necessary. Look at the code in SVN to know what I mean.
But, as it's a complete rewrite anyway, they also decided to use another engine and programming language. Why not, when you are doing a rewrite anyway, THAT is the time to decide such things. As it will be no longer QC based and no longer be based on the Nexuiz game code, the name Team:Nexuiz isn't appropriate any more and it's instead called Project Alaris.
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.