HQ Help?

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

HQ Help?

Post by Nightmare » October 10th, 2006, 1:55 am

I was wondering if anyone could help me out with how to make the hq gametype. Thanks :)
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Post by Soviet » October 10th, 2006, 2:29 am

the headquarters game script can be found in pakb.pk3

as for adding it, look at the stock .gsc files for maps like carentan in the same pk3 file.

Other than that i don't know

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » October 10th, 2006, 6:12 am

I am not 100% on all the details, but I am pretty sure it is purely scripting.

check "hq.gsc" from the stock files, in the top of the file will be which spawnpoints you need to use...

Then to create the places where HQ radios spawn, you need to use code which you can find in the "<mapname>.gsc" files.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » October 10th, 2006, 10:49 am

.. nm cant u look ur self on modsonline...?
movie link: http://www.modsonline.com/Downloads-full-855.html
Cod 1 Mapper&Modder&Moddeler

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » October 10th, 2006, 11:16 am

Drofder2004 wrote: but I am pretty sure it is purely scripting.
wrong
Cod 1 Mapper&Modder&Moddeler

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » October 10th, 2006, 2:53 pm

creator wrote:
Drofder2004 wrote: but I am pretty sure it is purely scripting.
wrong
Only half wrong...

It requires TDM spawns for a start...

And secondly there are 2 ways of doing it (for CoD 2 at least).
You can
1. Create the radios in the map
2. Use a script to spawn the radios where you want them...

This is an example of HQ...

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);
}
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » October 10th, 2006, 9:46 pm

oh so thats pretty simple, so according to the video, I can do it only with mapping. So I would just call the radio different targetnames?
such as

hqradio1
hqradio2
hqraido3?
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » October 11th, 2006, 11:25 am

i think target names need to be the same.

ps. broken hand -.-
Cod 1 Mapper&Modder&Moddeler

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » October 11th, 2006, 9:40 pm

creator wrote:i think target names need to be the same.

ps. broken hand -.-
correct. Its an array. Use the same name.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » November 4th, 2006, 2:23 pm

nightmare just wana tell u ur site is offline
says when u connect with firefox:

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>
Cod 1 Mapper&Modder&Moddeler

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » November 4th, 2006, 3:48 pm

yes I know, it has been down for a while now.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest