Help with CoD4 Teleporter?
Posted: May 2nd, 2010, 11:02 pm
Well ive recently been trying to make a teleporter in cod4 radiant. I have been following the tutorial from Modsonline.com and i have done everything correctly
so far. But i get a problem. Here is what my .gsc file looks like for my map....
And here is what is in my mp_teleport.gsc
And here what my .csv file looks like.

And when i try to build my fast file....I get this

And Finally, when i actually test my map, i get this:

Can anyone help?!
so far. But i get a problem. Here is what my .gsc file looks like for my map....
Code: Select all
main()
{
maps\mp\teleport::main();
//maps\mp\mp_crash_fx::main();
//maps\createart\mp_crash_art::main();
maps\mp\_load::main();
maps\mp\_compass::setupMiniMap("compass_map_mp_scream");
game["allies"] = "marines";
game["axis"] = "opfor";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["allies_soldiertype"] = "desert";
game["axis_soldiertype"] = "desert";
setdvar( "r_specularcolorscale", "1" );
setdvar("compassmaxrange","1600");
}
Code: Select all
main()
{
entTransporter = getentarray("enter","targetname");
if(isdefined(entTransporter))
{
for(lp=0;lp < entTransporter.size; lp++)
entTransporter[lp] thread Transporter();
}
}
Transporter()
{
while(true)
{
self waittill("trigger",other);
entTarget = getent(self.target, "targetname");
wait(0.10);
other setorigin(entTarget.origin);
other setplayerangles(entTarget.angles);
//iprintlnbold ("You have been teleported !!!");
wait(0.10);
}
}

And when i try to build my fast file....I get this

And Finally, when i actually test my map, i get this:

Can anyone help?!