what is the structure of nexuiz

Post anything on anything here

Moderator: Moderators

what is the structure of nexuiz

Postby DeVsh » Sat Apr 12, 2008 1:52 pm

can any1 explain to me how nexuiz is made e.g. where is the source code, what lang was it written in, how was it made and etc.

the thing is that i want to make a VoIP app that maybe could be merged into nexuiz or something, i want it to load some data from nex such as player names, their IPs and some other things. What i would like to implement into nex is if it could write player's nicknames and IPs into a .xml file. I also want to know how to make my app not to be visible when chatting. Have it responding to F2, F3, F4 and F5 but not grabbing 100% of keyboards input so you can still play the game after you have pressed F3. Finally i want to make this cool thing like you press F3 and then the list of players rolls down and part of the app becomes visible like Xfire BUT UNLIKE XFIRE IT WOULDN'T BLOCK YOUR KEYS SO YOU CAN'T MOVE , SHOOT OR PLAY. Then you could choose the player using the numpad 0-9, if there would be more than 10 players you would press + to see the next page.

i would appreciate if any1 could send me links to websites or titles of books that could explain how to make apps, the languages that you use to make apps, how to use codecs (spex) and how to implement internet protocols.
I only made isotromic games, websites an unfinishe flash game!
http://www.devushwebs.cba.pl/
DeVsh
Alien
 
Posts: 121
Joined: Fri Jun 08, 2007 7:39 pm

Postby Taiyo.uk » Sat Apr 12, 2008 2:33 pm

can any1 explain to me how nexuiz is made e.g. where is the source code, what lang was it written in, how was it made and etc.

Nexuiz uses the Darkplaces engine which, as a descendant of the Quake 1 engine, is written in the C language. You can find the source code in the SVN repository. The media (models, maps, textures, etc.) are from various sources and contributors to the project - see the credits.

i would appreciate if any1 could send me links to websites or titles of books that could explain how to make apps, the languages that you use to make apps, how to use codecs (spex) and how to implement internet protocols.

Application software can be written in many different languages. GUI applications are often written in a high-level, object-orientated language such as C++ or Java. Both O'Reilly and SAMS publishing among others have a good selection of tutorial books on coding. Implementing a new protocol isn't the easiest of tasks, and it's probably worth searching for a suitable protocol (and a suitable implementation of it) to use before rushing off to write your own.
Taiyo.uk
Alien trapper
 
Posts: 436
Joined: Mon Apr 17, 2006 8:48 pm
Location: Reading, IN-GER-LUND!!!

Postby Psychcf » Sat Apr 12, 2008 3:07 pm

well actually the game itself is written in quakeC, while the engine is written in C.

anyway, how that works is you compile the game's code, which then runs in a virtual machine that's built into the engine (java uses this same principal)
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby DeVsh » Sat Apr 12, 2008 3:26 pm

i mean how was the app done like when you click apply the keys are mapped differently and written into cfg. I want to modify nex so it writes names and the IPs of the players into a XML. So my VoIP can utilise them as a contact list
I only made isotromic games, websites an unfinishe flash game!
http://www.devushwebs.cba.pl/
DeVsh
Alien
 
Posts: 121
Joined: Fri Jun 08, 2007 7:39 pm

Postby DeVsh » Sat Apr 12, 2008 3:42 pm

i would appreciate it greatly if some1 could do that so i can have an installer for windows that can replace the game's code (write into that f ing .pk3) with the one that writes Players' names, IPs and if they are in your team into a XML each time a player joins or the game starts.

do you think any1 could do that? it would be very easy, please sum1 help.

this is how it would be set out

<Player>
<name>in my case deVush</name>
<IP>xx.xxx.xx.xxx:this would be a fixed port for VoIP preferably 9647 the port would be the same all the time</IP>
<Team>Yes or No simple</Team>
</Player>

same for each player
I only made isotromic games, websites an unfinishe flash game!
http://www.devushwebs.cba.pl/
DeVsh
Alien
 
Posts: 121
Joined: Fri Jun 08, 2007 7:39 pm

Postby Phenax » Mon May 12, 2008 11:23 pm

First of all, this would be a server modification.. unless you wanted each client to write an xml.

If this was a server modification, it'd more likely be
team: color

As there is no relativity to the server in terms of a team.
Phenax
Newbie
 
Posts: 4
Joined: Mon Jun 26, 2006 1:34 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron