View Full Version : ETpub integer values
TNR360
24th April 2007, 00:23
I just started working with etpub, so um question...
where would I change integer values :?
thanks
coding newb
jaybird
24th April 2007, 03:33
The question is so vague that it doesn't make sense. Please elaborate.
TNR360
24th April 2007, 03:44
hmm sorry
Well I was going to chane some weapon damage values and others and instead return it said
etmain example:
case WP_THOMPSON:
return XX;
etpub example:
G_GetWeaponDamage ( int weapon )
{
int rval;
switch ( weapon )
{
default:
rval = 1;
break;
case WP_THOMPSON:
rval = g_dmgSMG.integer;
-----------------------------------
Sorry was in a hurry
kamikazee
24th April 2007, 10:09
In this case, etpub grabs the damage data from CVars. If you don't know how to work with Cvars, read somewhat more about the topic. I once did at Code 3 Arena (http://code3arena.planetquake.gamespy.com/). (Yes, it's for Q3 but W:ET is derived from it anyway.)
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.