float row, column;
for(i=0; i<teams_count; ++i)
{
- vector pos, size;
+ vector pos, itemSize;
pos = myPos + eX * column * mySize_x*(1/columns) + eY * row * mySize_y*(1/rows);
- size = eX * mySize_x*(1/columns) + eY * mySize_y*(1/rows);
+ itemSize = eX * mySize_x*(1/columns) + eY * mySize_y*(1/rows);
- DrawDomItem(pos, size, aspect_ratio, layout, i);
+ DrawDomItem(pos, itemSize, aspect_ratio, layout, i);
++row;
if(row >= rows)
self.wait = 5;
float points, waittime;
- if (g_domination_point_rate)
- points = g_domination_point_rate;
+ if (autocvar_g_domination_point_rate)
+ points = autocvar_g_domination_point_rate;
else
points = self.frags;
- if (g_domination_point_amt)
- waittime = g_domination_point_amt;
+ if (autocvar_g_domination_point_amt)
+ waittime = autocvar_g_domination_point_amt;
else
waittime = self.wait;
precache_model("models/domination/dom_unclaimed.md3");
precache_sound("domination/claim.wav");
InitializeEntity(world, dom_delayedinit, INITPRIO_GAMETYPE);
-
- g_domination_point_rate = cvar("g_domination_point_rate");
- g_domination_point_amt = cvar("g_domination_point_amt");
};