Page 1 of 2

Need help

Posted: July 10th, 2007, 4:55 pm
by Jumpy'z
when i want to test my map it say script error... unknown command

here is the script

Code: Select all

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



thread s1cKmap_up(); 
thread s1cKmap_rotate(); 
thread s1cKmap_trap(); 
thread s1cKmap_teleporter(); 

} 


s1cKmap_up()
{
up = getent("up1","targetname");
while(1)
{
up moveZ(456,3,1,1);
wait(4);
up moveZ(-456,3,1,1);
wait(1);
up waittill("movedone");
}
}

s1cKmap_rotate()
{

rotate1 = getent("rotate1","targetname");
while(1)
{
wait(2);
rotate1 rotateroll(360,1,0,0);

rotate1 waittill("rotatedone");
}
}

s1cKmap_trap()
{
trigger = getent("trig_trap","targetname");
trap = getent("trap1","targetname");
platform = getent("platform1","targetname");
while(1)
{
trigger waittill("trigger",user);
user iprintlnbold("^1Ready");
wait(1);
user iprintlnbold("^2Set");
wait(1);
user iprintlnbold("^3Go");
wait(1);
trap moveZ(-8,1,0,0);
wait(2);
trap moveY(-64,1,0,0);
wait(2);
trap moveY(64,1,0,0);
wait(1);
trap moveZ(8,1,0,0);
platform moveY(664,5,2,2);
wait(7);
platform moveY(-664,1,0,0);
wait(4);
platform waittill("movedone");
}
}
teleporter() 
{ 
trigger = getent ("teleporter1", "targetname"); 
while(1) 
{ 
trigger waittill ("trigger",user); 
user iprintlnbold ("Now Teleporting..."); 
wait(1); 
user setOrigin( (-384, 960, 768) ); 
wait(1); 
} 
}
 

Posted: July 10th, 2007, 5:01 pm
by Coontang
yeah I forgot about that.

Posted: July 10th, 2007, 7:10 pm
by Drofder2004
You call...

Code: Select all

thread s1cKmap_teleporter(); 
Yet, your script says...

Code: Select all

teleporter() 

Posted: July 10th, 2007, 8:00 pm
by Jumpy'z
thx :) drofder ur the best lol

Posted: July 11th, 2007, 1:02 am
by Neon
anyone interested in starting the "I <3 Drofder Fanclub" PM me.

Posted: July 11th, 2007, 1:54 am
by Soviet
let me tell you guys something, Drofder isn't so great. True he can map, model, script, and mod but he's terrible in bed...

Posted: July 11th, 2007, 2:12 am
by Neon
Soviet wrote:let me tell you guys something, Drofder isn't so great. True he can map, model, script, and mod but he's terrible in bed...
that gave me an image i could of done without :shock:

Posted: July 11th, 2007, 3:26 am
by Drofder2004
Soviet wrote:but he's terrible in bed...
It takes two to tango... and I can tango ;)

Posted: July 11th, 2007, 3:49 am
by Nightmare
lol, soviet, I would say it would be you that cannot tango. ;)

Posted: July 11th, 2007, 7:13 am
by Soviet
theres not much i can show you of my skills when you're raping me nm :roll:

Posted: July 11th, 2007, 8:42 am
by smarnca
lal guis....posts like that just makes me laugt very loud...btw soviet and sam when can we exspect new cod2 jump map wrom you two? :twisted:

Posted: July 11th, 2007, 4:37 pm
by Drofder2004
smarnca wrote:lal guis....posts like that just makes me laugt very loud...btw soviet and sam when can we exspect new cod2 jump map wrom you two? :twisted:
While their voices have yet to break, three will be no new maps. Sit tight, this could take a while.

Posted: July 11th, 2007, 6:11 pm
by Soviet
well right now i'm working on a cod1 jump map, but thats pretty much halted cause its just too much work and i'm pretty much never going to finish it. Give me an amazing idea and i'll start working on it, cause right now i pretty much got nothing.

Oh, and Droffy, fuck you i'm 15 :)

Posted: July 11th, 2007, 6:18 pm
by Nightmare
well I still have loads of projects underway, but I have started to get myself used to the Hammer editor, so now I make maps for HL2:DM, CS:S, and CoD. Don't worry I still have a bunch of things planned for the future. :)

Posted: July 12th, 2007, 12:49 am
by Drofder2004
Soviet wrote:Oh, and Droffy, fuck you i'm 15 :)
At the age of 15, you shouldn't even be having those sort of thoughts about me.