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

Members Online

»
0 Active | 102 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 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: Elevator problem
madmax101
General Member
Since: Aug 28, 2009
Posts: 40
Last: Jun 12, 2013
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Friday, Aug. 28, 2009 02:16 am
i have problem playing my map...after i read elevator tutorial i now can't enter my map and i get some very not helping anoying message [mad]

Code:
******* script compile error *******
Could not find script 'mapsmpmp_elevator': (file 'maps/mp/mp_secretnazibase.gsc', line 5)
mapsmpmp_elevator::main(); 
*
************************************
writing to: D:\Games\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script compile error
(see console for details)


well this is gsc file... i copy the code from beginer tutorial and i add some code for elevator and teleport.
Code:

main()
{
maps\mp\_load::main();
maps\mp\teleportenter::main();
mapsmpmp_elevator::main(); 

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


and this is a mp_elevator code from tutorial
Code:

main()
{
thread elevator();
}

elevator()
{
elevator=getent("elevator","targetname");
trig=getent("trig_elevator","targetname");
while(1)
{
trig waittill ("trigger");
elevator movez (-250,7,1.9,1.9);
elevator waittill ("movedone");
wait(1);
elevator movez (250,7,1.9,5);
elevator waittill ("movedone");
}
} 
Share |
codmp
General Member
Since: Feb 7, 2006
Posts: 905
Last: Aug 1, 2011
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Friday, Aug. 28, 2009 06:58 am
main()
{
maps\mp\_load::main();
maps\mp\teleportenter::main();
mapsmpmp_elevator::main();

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

You forgot the slashes in mapsmpmp_elevator::main();

So it should be
maps\mp\mp_elevator::main();
Share |
madmax101
General Member
Since: Aug 28, 2009
Posts: 40
Last: Jun 12, 2013
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 29, 2009 09:17 pm
This is first time i try to make elevator....well i just can't make elevator working...i need some example map file or picture to see how this look in radiant. For now i have been lucky only with teleport this work perfectly....( teleport is Intermediate level of tutorial and elevator is Beginner [ohwell])
So is there any screenshots or some example map , maybe video about this?
Share |
codmp
General Member
Since: Feb 7, 2006
Posts: 905
Last: Aug 1, 2011
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 29, 2009 10:13 pm
Did you even fix your first problem? Like fix the problem i pointed out. And if you did, what is the new error? From what i see, your elevator script looks fine.

Code:
main()
{
maps\mp\_load::main();
maps\mp\teleportenter::main();
mapsmpmp_elevator::main();

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


SHOULD be:

Code:
main()
{
maps\mp\_load::main();
maps\mp\teleportenter::main();
maps\mp\mp_elevator::main();

game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
}
Share |
madmax101
General Member
Since: Aug 28, 2009
Posts: 40
Last: Jun 12, 2013
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 29, 2009 10:23 pm
i fix the first problem of course....my problem is i get error again ( compile error) But i think my problem is in radiant ... this is how i understand tutorial ..



http://i31.tinypic.com/wmmag4.jpg


edited on Aug. 29, 2009 06:25 pm by madmax101
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

»