HQ Help?
Posted: October 10th, 2006, 1:55 am
I was wondering if anyone could help me out with how to make the hq gametype. Thanks 

CoDJumper.com - For all your CoDJumping needs!
https://www.codjumper.com/forums/
wrongDrofder2004 wrote: but I am pretty sure it is purely scripting.
Only half wrong...creator wrote:wrongDrofder2004 wrote: but I am pretty sure it is purely scripting.
Code: Select all
if(getcvar("g_gametype") == "hq")
{
level.radio = [];
level.radio[0] = spawn("script_model", (-464, 1864, 96));
level.radio[0].angles = (0, 0, 0);
level.radio[1] = spawn("script_model", (-152, 184, 128));
level.radio[1].angles = (0, 0, 0);
level.radio[2] = spawn("script_model", (756, 3032, 264));
level.radio[2].angles = (0, 90, 0);
level.radio[3] = spawn("script_model", (2608, 3952, 88));
level.radio[3].angles = (0, 270, 0);
level.radio[4] = spawn("script_model", (2984, 2640, 276));
level.radio[4].angles = (0, 0, 0);
level.radio[5] = spawn("script_model", (2700, 816, 132));
level.radio[5].angles = (0, 0, 0);
}
correct. Its an array. Use the same name.creator wrote:i think target names need to be the same.
ps. broken hand -.-
Code: Select all
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<p>Additionally, a 400 Bad Request
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr />
<address>Apache/2.0.40 Server at blacknightmare.weblogger.terra.com.br Port 80</address>
</body></html>