help needed for new Q3Map2Toolz


(Hr.O) #1

Hi, i’m in the buzz of completely recoding my Q3Map2Toolz, The idea is to add more freedom to the user. Now to make stuff complete, i need a bit of help.

i got this file called switches.txt, and i need some help completing it.
this is the file:


// This file contains the switches (checkboxes) used by Q3Map2Toolz
// Syntaxis: <The tab/stage the switch belongs to>,<the actual switch>,<type of optional additional variable>,<the helptext shown when mouse is over the switch>
// Types of additional variables:
// 0 = no additional value (zero)
// s = string (any ascii character exept ",")
// f = loadfile	(ms-dos path)
// c = savefile	(ms-dos path)
// p = path		(ms-dos path)
// i = integer	(-32768 - 32767 step 1)
// d = decimal	(-65535 - 65535 step 0.001)
// n = natural	(0 - 65535 step 1)
// G = degrees	(0 - 360 step 1)
// m = normalized	(0.0 - 1.0 step 0.1)
// The "," is used as a separator, You will break this file when you use a ",". 
// Use a "." for the decimals.
// For the run-game part there is a slight difference.
// switches work just the same, but if you would like to add a gametype, use the following..
// syntaxis: "game",<* & The name/caption of the radio button>,<value of the gametype (the 3 of +set g_gametype 3)>,<the helptext shown when mouse is over the switch>
// sample line: game,*Team Death Match,3
// to start Quake III arena in Team Deathmatch mode
// note the "*" that's what Q3Map2Toolz will react to. 

bsp,-custinfoparms,0,This is a sample tooltip
bsp,-convert,s,
bsp,-debuginset,0,
bsp,-debugportals,0,
bsp,-debugsurfaces,0,
bsp,-fakemap,0,
bsp,-flares,0,
bsp,-fulldetail,0,
bsp,-leaktest,0,
bsp,-meta,0,
bsp,-mi,n,
bsp,-mv,n,
bsp,-nocurves,0,
bsp,-nodetail,0,
bsp,-nofog,0,
bsp,-nohint,0,
bsp,-nosubdivide,0,
bsp,-notjunc,0,
bsp,-nowater,0,
bsp,-np,g,
bsp,-onlyents,0,
bsp,-patchmeta,0,
bsp,-scale,d,
bsp,-snap,n,
bsp,-subdivisions,n,
bsp,-texrange,n,
bsp,-v,0,
bsp,-verboseentities,0,
vis,-fast,0,
vis,-hint,0,
vis,-merge,0,
vis,-nopassage,0,
vis,-nosort,0,
vis,-passageonly,0,
vis,-nohint,0,
vis,-nosubdivide,0,
vis,-saveprt,0,
vis,-v,0,
light,-areascale,d,
light,-approx,n,
light,-border,0,
light,-bounce,n,
light,-bouncegrid,0,
light,-bouncescale,d,
light,-cheap,0,
light,-cheapgrid,0,
light,-custinfoparms,0,
light,-debug,0,
light,-debugaxis,0,
light,-debugcluster,0,
light,-debugorigin,0,
light,-debugsurfaces,0,
light,-debugunused,0,
light,-dump,0,
light,-export,0,
light,-extra,0,
light,-extrawide,0,
light,-fast,0,
light,-fastbounce,0,
light,-faster,0,
light,-fastgrid,0,
light,-filter,0,
light,-import,s,
light,-lightmapsize,n,
light,-lomem,0,
light,-nocollapse,0,
light,-nogrid,0,
light,-normalmap,0,
light,-nosurf,0,
light,-notrace,0,
light,-novertex,0,
light,-patchshadows,0,
light,-pointscale,d,
light,-samples,n,
light,-samplesize,n,
light,-scale,d,
light,-shade,0,
light,-shadeangle,g,
light,-sky,d,
light,-smooth,0,
light,-sunonly,0,
light,-subdivisions,n,
light,-super,n,
light,-tresh,d,
light,-v,0,
bspc,-breathfirst,0,
bspc,-cfg,f,
bspc,-freetree,0,
bspc,-forcesidesvisible,0,
bspc,-grapplereach,0,
bspc,-nobrushmerge,0,
bspc,-nocsg,0,
bspc,-noverbose,0,
bspc,-optimize,0,
game,+set r_speeds 1,0,
game,+set r_showtris 1,0,
game,+set r_clear 1,0,
game,+set r_nocurves 1,0,
*game,None,x 


//end of file (do not remove)

If you help me, i’ll be forever greatfull, and ofcourse i’ll mention you in the credits

on beforehand thanks

Hr.O
ps. picie of what is happening with tha toolz:


(MuffinMan) #2

i’m sorry but i can’t help with your problem - all i wanna say is thank you for a great tool, keep up the good work! :clap:


(redfella) #3

HrO pwns. :beer:

I like the new scrollbar on the options list! Looks sharp.

Hey btw… the other night I was trying to create a new batch thread (under build options), but it keep giving me an error and booting me from da toolz. All I did was simply “add” and then put in my compile name and then when I hit “ok”… it kicked me. Any idea?

Oh and I dont know how to answer your question. :stuck_out_tongue: :wink:


(onu) #4

I’m assuming you want things, like… tooltip text?

It would probably help people out if you were more specific about what needed to be done.


(onu) #5
// m = normalized   (0.0 - 1.0 step 0.1) 

Does this imply that Q3map2 Toolz will adjust normalized values to one-tenth accuracy? Shouldn’t it be more along the lines of one-millionth? Or at least, one-thousandth?


(ydnar) #6

You might want to use an XML format or the same format that Q3Map2Build by dlb uses.

That way I could maintain one file of switch data, next to Q3Map2.exe, called q3map2.switches (or something) that your app (and any other) could load.

That way if I add/remove/modify switches, your app will always be up to date.

The only reason I suggest using DLB’s format (or XML) is that it has tooltip support, which are useful for determining what a switch does.

y


(Hewster) #7

Hi,

Just a quick note to say Thankyou Hr.O for your great tool :slight_smile:
I pimp this app to everyone :wink:

My only issue with it (5.19) is that sometimes when I open it, the window is off screen
and I have to move it the old fashioned way so I can see it ?

I like the idea of Ydnar creating an “official” switches XML doc, with “official”
tool tips :smiley: thats gota be the way to-go IMO

Hewster