Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 91 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: hq map doing my head in
necrophaige
General Member
Since: Jul 23, 2007
Posts: 82
Last: Mar 1, 2016
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Sunday, Aug. 3, 2008 05:34 pm
I have made a map that sucessfully runs the following game types:
DM, TDM, CTF & DOM with no problems at all. The map also has working jeeps and a flakvierling. All these I have done from the tutorials and guidance from ModsOnline.
There is still one gametype that eludes me and that is HQ.
This one is driving me barmy. I have tried building the map by using a script_model and inserted the radios as per the video tut. This has not worked. I tried the alternative i.e writing the game type directly into the gsc file to no avail. I have pk3'd the files an run on my machines at home by starting a new server etc. Each time I select Headquarters the game defaults to DM. I have checked that I have TDM intermission and spawn points many times over. If I remove the DM intermission and spawn and try to run HQ because it tried to run DM instead the map failes.

Here is my gsc file:
main()
{


ambientPlay("ambient_ambient_mp_berlin");

level._effect["fire"] = loadfx ("fx/fire/tinybon.efx");
maps\mp\_fx::loopfx("fire", (-1040, 472, 208), 0.6);
maps\mp\_fx::loopfx("fire", (216, 544, 240), 0.6);
level._effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
maps\mp\_fx::loopfx("smoke", (-1040, 472, 208), 0.7);
maps\mp\_fx::loopfx("smoke", (216, 544, 240), 0.7);
level thread maps\mp\_tankdrive_gmi::main();
level thread maps\mp\_jeepdrive_gmi::main();
level thread maps\mp\_flak_gmi::main();

flak = getent("flak1","targetname"); //maybe give it a better name?

flak maps\mp\_flakvierling::init();

maps\mp\_load::main();
maps\mp\mortar::main();
maps\mp\wall::main();


game["allies"] = "american";
game["axis"] = "german";

game["american_soldiertype"] = "airborne";
game["american_soldiervariation"] = "normal";
game["german_soldiertype"] = "german_waffen";
game["german_soldiervariation"] = "normal";

if (getcvar("g_gametype") == "hq")
{
//spawn radio1
radio = spawn("script_model", (0,0,0));
radio.origin = (2248, 576, -24);
radio.angles = (0, 82,0);
radio.targetname = "hqradio";

//spawn radio2
radio = spawn("script_model", (0,0,0));
radio.origin = (2176, 144, -24);
radio.angles = (0, 82,0);
radio.targetname = "hqradio";

//spawn more radios

}

game["attackers"] = "allies";
game["defenders"] = "axis";


game["layoutimage"] = "mymap";
}

The radio origins are from specific reference points in my map so I know there is no collision ertc.

Can anyone shed some light on this problem. I am quite willing to let the map file go if someone can make it work.

Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoDUO Mapping
Posted: Sunday, Aug. 3, 2008 06:07 pm
You need 2 people to test HQ, else the map defaults to DM
Share |
necrophaige
General Member
Since: Jul 23, 2007
Posts: 82
Last: Mar 1, 2016
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Sunday, Aug. 3, 2008 06:22 pm
Have done this with two people. This is how I go about it.
I start a new server on one machine and select the game type as HQ.
Set pure to no, scroll to game and click start. Immediately game swithches to DM.
My other machine is just waiting for the game to come up and when it does it only sees DM as well.
Share |
Jsyhitman
General Member
Since: Jun 24, 2005
Posts: 38
Last: Aug 3, 2008
[view latest posts]
Level 2
Category: CoDUO Mapping
Posted: Sunday, Aug. 3, 2008 07:13 pm
Sounds like you don't have the approprate spawns in the map.
Share |
necrophaige
General Member
Since: Jul 23, 2007
Posts: 82
Last: Mar 1, 2016
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Sunday, Aug. 3, 2008 08:52 pm
My build file states that I have 1 HQ intermission, 1 TDM intermission, 13 TDM Spawn points, radios 0. Radios are written into the gsc file of which there are 2 for now.
Share |
necrophaige
General Member
Since: Jul 23, 2007
Posts: 82
Last: Mar 1, 2016
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Monday, Aug. 4, 2008 10:19 am
Here is a bit more info.
Loaded the game onto the server at work and started the game running. Connected to the game from another PC and the game as HQ runs up ok.
Yet when I try to run this at home even with 2 machines and making one act as a server it defaults to DM.
I even tried running the game via the tilda key with g_gametype hq
map mymap
and this too defaults to DM.
What is the correct procedure fro running the game from home on a LAN?
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoDUO Mapping
Posted: Monday, Aug. 4, 2008 03:19 pm
Try setting up a dedicated server, is my advice.. though I know not much about servers.
Share |
netter
General Member
Since: Oct 12, 2007
Posts: 8
Last: Jan 15, 2011
[view latest posts]
Level 0
Category: CoDUO Mapping
Posted: Tuesday, Aug. 5, 2008 01:28 pm
dont know if this helps but. when you did your script model did you then press n and put in the following
targetname
hqradio.
i made that mistake when i first did hq maps.
Share |
necrophaige
General Member
Since: Jul 23, 2007
Posts: 82
Last: Mar 1, 2016
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Wednesday, Aug. 6, 2008 08:44 am
I've gone back to the tutorial option of placing the radio in the map via the script_model with targetname. I'm sure it will work OK but as for now the only way I'm going to find out is when I run it on the work server. This will do for now. At this point the map is almost finished, just the final touches, that is why I have left the HQ option to last.
Thanx to all who have helped.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoDUO Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»