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

Members Online

»
0 Active | 7 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Lantern_lit prefab.....
DjKadu
General Member
Since: Oct 22, 2004
Posts: 10
Last: Sep 9, 2007
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Wednesday, May. 10, 2006 02:20 pm
Hi.. im newbie mapping..Im workin in my first map for call of duty series, i have 4 days worked in one map but im confused about the lantern_lit prefab file...
Which the accurate way to place that lanterns.. i tried alot of lanters from xmodels too.. but dont works, tried the prefab one in prefab/mp/lights/lantern1.map and dont work too.. all these has no fire into it..
Now after add ,,compile..test.. remove..compile ...test that lanterns alot of times i got a weird error if ill do multiple shots at the map like G_Spawn:No free entities and i see 1021 lines after that crash with nodes like `--

980: 'info_grenade_hint', origin: 3154.000000 -1415.000000 240.000000
981: 'info_grenade_hint', origin: 3090.000000 -1418.000000 88.000000
982: 'info_grenade_hint', origin: 3186.000000 -1715.000000 88.000000
983: 'info_grenade_hint', origin: 3216.000000 -1385.000000 88.000000
984: 'node_cover_left', origin: -224.000000 -1216.000000 56.000000
985: 'node_cover_left', origin: 260.000000 -1280.000000 56.000000
986: 'node_cover_left', origin: 224.000000 -1180.000000 56.000000
987: 'node_cover_left', origin: 292.000000 -1704.000000 56.000000
988: 'node_cover_right', origin: -188.000000 -1180.000000 56.000000
989: 'node_cover_right', origin: 256.000000 -1740.000000 56.000000
990: 'node_cover_right', origin: 260.000000 -1216.000000 56.000000
991: 'node_cover_crouch_window', origin: -94.000000 -1224.000000 64.000000
992: 'node_cover_right', origin: -128.000000 -1224.000000 64.000000
993: 'node_cover_left', origin: -60.000000 -1224.000000 64.000000
994: 'node_cover_crouch_window', origin: 18.000000 -1224.000000 64.000000
995: 'node_cover_right', origin: -16.000000 -1224.000000 64.000000
996: 'node_cover_left', origin: 52.000000 -1224.000000 64.000000
997: 'node_cover_crouch_window', origin: -180.000000 -1618.000000 64.000000
998: 'node_cover_right', origin: -180.000000 -1652.000000 64.000000
999: 'node_cover_left', origin: -180.000000 -1584.000000 64.000000
1000: 'node_cover_crouch_window', origin: -134.000000 -1696.000000 64.000000
1001: 'node_cover_right', origin: -100.000000 -1696.000000 64.000000
1002: 'node_cover_left', origin: -168.000000 -1696.000000 64.000000
1003: 'node_cover_crouch_window', origin: -180.000000 -1518.000000 64.000000
1004: 'node_cover_right', origin: -180.000000 -1552.000000 64.000000
1005: 'node_cover_crouch_window', origin: -180.000000 -1518.000000 216.000000
1006: 'node_cover_right', origin: -180.000000 -1552.000000 216.000000
1007: 'node_cover_crouch_window', origin: -154.000000 -1696.000000 216.000000
1008: 'node_cover_right', origin: -120.000000 -1696.000000 216.000000
1009: 'node_cover_crouch_window', origin: -78.000000 -1696.000000 216.000000
1010: 'node_cover_left', origin: -112.000000 -1696.000000 216.000000
1011: 'node_cover_right', origin: -56.000000 -1558.000000 216.000000
1012: 'node_cover_left', origin: -56.000000 -1638.000000 216.000000
1013: 'node_cover_left', origin: 138.000000 -1634.000000 216.000000
1014: 'node_cover_crouch_window', origin: 248.000000 -1398.000000 64.000000
1015: 'node_cover_right', origin: 248.000000 -1364.000000 64.000000
1016: 'node_cover_left', origin: 248.000000 -1432.000000 64.000000
1017: 'node_cover_crouch_window', origin: 248.000000 -1510.000000 64.000000
1018: 'node_cover_right', origin: 248.000000 -1476.000000 64.000000
1019: 'node_cover_left', origin: 248.000000 -1544.000000 64.000000
1020: 'node_cover_crouch_window', origin: 248.000000 -1398.000000 216.000000
1021: 'node_cover_right', origin: 248.000000 -1364.000000 216.000000
*******************
ERROR: G_Spawn: no free entities
********************
----- Server Shutdown -----
thats the error wat i got after shot miltiple times.. if is with a mp44.. or rifles its ok.. but if ill shot with thonpson,, or fast with pistol i got that errors with the lantern on the maps :S

How du u guys place that lanter there?

BTW i tried make one box and added that lantern only if ill try run after compile from compile tools i see that error.. the box has only 1 dm spawn and that lantern...


******* script runtime error *******
undefined is not an array, string, or vector: (file 'maps/mp/_load.gsc', line 113)
if (!isdefined(level._effect["lantern_light"]))
*
called from:
(file 'maps/mp/_load.gsc', line 12)
lanterns thread lanterns();
*
called from:
(file 'maps/mp/mp_e.gsc', line 2)
maps\mp\_load::main();
*
started from:
(file 'maps/mp/mp_e.gsc', line 1)
main() {
*
************************************
writing to: C:\Arquivos de programas\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/mp_e.gsc', line 1)


tnx....[confused][crazy]

2 screens for the map:




edited on May. 10, 2006 10:31 am by DjKadu
Share |
kuijpers007
General Member
Since: Feb 14, 2006
Posts: 177
Last: Apr 7, 2008
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Wednesday, May. 10, 2006 02:38 pm
Nice map; Funny Pictures.... a spooky house [evil][evil][evil][devilishgrin][devilishgrin]
Share |
DjKadu
General Member
Since: Oct 22, 2004
Posts: 10
Last: Sep 9, 2007
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Thursday, May. 11, 2006 12:12 am
kuijpers007 writes...
Quote:
Nice map; Funny Pictures.... a spooky house [evil][evil][evil][devilishgrin][devilishgrin]


tnx [drink]
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Thursday, May. 11, 2006 01:08 am
DjKadu writes...
Quote:

******* script runtime error *******
undefined is not an array, string, or vector: (file 'maps/mp/_load.gsc', line 113)
if (!isdefined(level._effect["lantern_light"]))
*


You need to define the lanternlight in your fx .gsc.

Sample mp_yourmapname_fx.gsc
Code:
main()
{
	precacheFX();
	ambientFX();
	level.scr_sound["flak88_explode"]	= "flak88_explode"; // needed for sd gametype
}

precacheFX()
{
	level._effect["flak_explosion"]				= loadfx ("fx/explosions/flak88_explosion.efx"); // needed for sd gametype
        level._effect["lantern_light"]	                        = loadfx("fx/props/glow_latern.efx");
}


ambientFX()
{

// add your smoke, dust effects etc... here

}


as for the other errors remove the singleplayer elements from your map
Share |
DjKadu
General Member
Since: Oct 22, 2004
Posts: 10
Last: Sep 9, 2007
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Thursday, May. 11, 2006 12:30 pm
Ohh need precache that lantern too lmao tnx..

about the error
1018: 'node_cover_right', origin: 248.000000 -1476.000000 64.000000
1019: 'node_cover_left', origin: 248.000000 -1544.000000 64.000000
1020: 'node_cover_crouch_window', origin: 248.000000 -1398.000000 216.000000
1021: 'node_cover_right', origin: 248.000000 -1364.000000 216.000000
Its my fault i forgot to remove the nodes from the SP prefabs DOH!!!!
Share |
pmilton
General Member
Since: Apr 16, 2005
Posts: 76
Last: Sep 4, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Thursday, May. 18, 2006 03:18 am
ok, let's revisit this. I placed the prefab lanten into my map and created the fx .gsc file to match my map name and all that. I made the gsc file exactly as veef showed. my problem is that I do not see the flame in the lantern. is there something else I am supposed to add into my map before compiling? Is there a flame fx prop that I need?
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Thursday, May. 18, 2006 04:36 am
pmilton writes...
Quote:
ok, let's revisit this. I placed the prefab lanten into my map and created the fx .gsc file to match my map name and all that. I made the gsc file exactly as veef showed. my problem is that I do not see the flame in the lantern. is there something else I am supposed to add into my map before compiling? Is there a flame fx prop that I need?


the prefab you want to use is "lantern_lit" in the lamps directory of your prefabs.
Share |
pmilton
General Member
Since: Apr 16, 2005
Posts: 76
Last: Sep 4, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Thursday, May. 18, 2006 10:24 am
ok, cool, I figured I was missing something simple. thanks, I was looking in the wrong place for the lantern.
Share |
Crossfade
General Member
Since: Jan 5, 2005
Posts: 30
Last: Jun 9, 2006
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Monday, Jun. 5, 2006 07:24 pm
what would be the loadfx propety be if u used the light_walllightcrystal_on model?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP 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

»