How to insert in pop Up Menu

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

How to insert in pop Up Menu

Postby Xventure7 » Wed Dec 17, 2008 10:20 am

I wana edit some code and add some pop Menu Before user enter the game!

Thanks in advances!
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

Postby Alien » Wed Dec 17, 2008 3:24 pm

Take a look at qcsrc/menu.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

how to run the file

Postby Xventure7 » Thu Dec 18, 2008 8:40 am

i have added some portion of the code and compile two .src files, one in \menu and the other one in \server. it produces me two dat files one is menu.dat the other one is progs.dat. But then i don know how to run those file, so any suggestion???

thanks alot to Alien for ur last reply :)
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

Postby divVerent » Thu Dec 18, 2008 8:59 am

progs.dat is run if you create a new game, menu.dat is run immediately if you start Nexuiz
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 Xventure7 » Fri Dec 19, 2008 3:46 am

Hm....i have just started with new tutorial and it provides me with the source code of simple game which it to be compiled by ProQcc,

i got the output : progs.dat from the compilation.

Do i need to Quake.exe to run that file?
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

Postby Alien » Fri Dec 19, 2008 1:20 pm

Mhmmh, progs.dat are supported by all quake engines (if you don't use any extensions), cprogs.dat can be used in darkplaces and fteqw, menu.dat - only in darkplaces. So use darkplaces if you want to use menu and add pop-up.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby Xventure7 » Mon Dec 22, 2008 9:06 am

thx alot Alien, i got some clue arldy :D hehe..
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

Postby [-z-] » Mon Dec 22, 2008 4:10 pm

I asked shaggy about this link yesterday... I thought it might be helpful to you:

http://forums.alientrap.local/viewtopic.php?t=3416
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Xventure7 » Tue Dec 23, 2008 7:17 am

Thx too ninja, i have modified some codes at C:\enginesource20080511\darkplaces\menu.c by trying to add first pop up menu by refering to the link u provided, i got output: nexuiz.exe,

i jus simply run it, but then a pop up msg come out:

"You have reached this menu due to missing or unlocatable contentdata

You may add consider adding -basedir/path/to/game to your line launch commandline"

should i copy nexuiz.exe to replace the on in Nexuiz\nexuiz.exe


Another thing is, i also try to modify some code sources\gamesource20080511\qcsrc\menu\menu.qc and then compile it with fteqcc,
i get menu.dat output then i got back to root to run Nexuiz\nexuiz.exe
Hmm...nothing change when i start.

Thx for all replies :)
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

Postby Xventure7 » Tue Dec 23, 2008 8:47 am

to be simple, now i got nexuiz.exe from the compilation of darkplace,

and 3 files from the fteqcc compilation: csprogs.dat , menu.dat, progs.dat.

so how to could i run nexuiz from these files.
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

Next

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron