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

Members Online

»
0 Active | 61 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: CoD Mapping
CoD 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: .gsc file/s ?
RDHCypher
General Member
Since: May 29, 2004
Posts: 15
Last: Dec 18, 2005
[view latest posts]
Level 1
Category: CoD Mapping
Posted: Sunday, Jan. 9, 2005 07:13 pm
okay, have pretty much copied and pasted the one Wyatt gave with his Tute, heres what I have,

--------------------------------------------------

main()
{

setCullFog (0, 13500, .32, .36, .40, 0);
ambientPlay("ambient_mp_brecourt");

mapsmp_load::main();
mapsmpRomelleB_fx::main();

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


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

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

--------------------------------------------------

Now, I think this is correct, and it goes with this FX file

-----------------------------------------------------

main()
{
precacheFX();
}

precacheFX()
{

level._effect["tigertankexplosion"] = loadfx("fx/explosions/explosion1_nolight.efx");
level._effect["dirt"] = loadfx ("fx/cannon/dirt.efx");

}

---------------------------------------------------------------------

now my .arena file goes like this,

---------------------------------------------------------------------

{
map "RomelleB"
longname "Romelle"
gametype "sd dm"
}

---------------------------------------------------------------------

All my settings are the same as the post Strykwer has put in this forum somewhere, the only thing i'm suss on is he has

exploder 1 and 2

and not

script_exploder 1 and 2

Is this right?

Now to the actual problem that is doing my f**king head in :lol: I've managed to compile it, Since my last post, i.e. Brushes not working, so I redid the building and all is good now, but now, once compiled when I try to load it in S&D (From CoDBuilder) It comes up with this -

------------------------------------------------------------

*******Script Runtime Error*******

getent used with more than one entity : (file 'mapsmpgametypessd.gdc' line 1959) bombzone_A = getent("bombzone_A" ; "targetname") ;

Called from:
(file 'mapsmpgametypessd.gsc' , line 340)

Called from:
(file 'mapsmpgametypes_callbackSetup.gsc' , line 15)
[[level.callbackstartgametye]]()

Called from:
(file ' mapsmpgametypes_callbackSetup.gsc' , line 10)
codecallback_Startgametype()

------------------------------------------------------------------
Any ideas on this?? Have double checked my Trigger areas, Origins, FX and Tanks for their properties and can't find anything...Am stuck good and solid... [confused]
Share |
Mystic
General Member
Since: Apr 10, 2004
Posts: 6147
Last: Apr 15, 2018
[view latest posts]
Level 10
Forum Moderator
Im a fan of MODSonair
Category: CoD Mapping
Posted: Sunday, Jan. 9, 2005 07:27 pm
post this script 'maps\mp\gametypes\sd.gdc'

it looks like theres a problem with that!
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11672
Last: Apr 20, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD Mapping
Posted: Sunday, Jan. 9, 2005 07:28 pm
thank you for pointing out that error...you are correct - it should be script_exploder...the SD sample map file has been corrected, as has the forum post here
the error sounds like you have failed to modify one of the bombzone calls from A to B [angryalien]
Share |
RDHCypher
General Member
Since: May 29, 2004
Posts: 15
Last: Dec 18, 2005
[view latest posts]
Level 1
Category: CoD Mapping
Posted: Monday, Jan. 10, 2005 06:24 pm
Yea thats what I thought too, but, Like I said, I split the tanks/FX/Clip metal and went over everything again and it all looks right...Maybe it was just the fact it's Script_exploder etc will try that and go over them again then...Btw Stryker, does the rest of it look ok? the .gsc files I made
Share |
RDHCypher
General Member
Since: May 29, 2004
Posts: 15
Last: Dec 18, 2005
[view latest posts]
Level 1
Category: CoD Mapping
Posted: Monday, Jan. 10, 2005 06:25 pm
rasta writes...
Quote:
post this script 'mapsmpgametypessd.gdc'

it looks like theres a problem with that!



Oops sorry my typo, is .gsc [tongue]
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11672
Last: Apr 20, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD Mapping
Posted: Tuesday, Jan. 11, 2005 01:29 am
yes...everything looks ok in that respect...most SD errors are mapping errors or entity value entry [angryalien]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD 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

»