Forums Index >> Modding >> Help with 187's teleporters (everyone MUST re...
Page : <1> :
Looks like that file repeats its self XD ! Heheh.
EDITED: Never mined I didn't look close enough.
Last edited: Saturday, June 12, 2004 at 12:38:18 PM
U do NOT need to make a file called teleporters.cs as u must only put the code
Function mainsectorwarp::onenter(%db, %this, %tank)
{
%pos = %tank.getPosition();
%rot = %tank.Rotation;
%newPos = ("-9.0517 -37.6315 140.297" @ " " @ %rot);
%tank.setTransform(%newPos);
}
Datablock powerupdata(mainsectorwarp)
{
Aipickup = 0;
Emitterduration = 0;
Maxoff = 100;
Minoff = 50;
Shadow = 1;
Shadowanimation = 1;
Shape = "game/data/shapes/common/recharge.dts";
Starton = 0;
Staticshadow = 0;
};
BEFORE Object Write Begin
U also need to put lowercase letters only or u MAY have some problems
Some ppl (like I did) also cant make a break I mean:
Blabla
BREAK
Blabla
For me it made my mod lock before it even started loading,
Hope that helped,
@art
Ok watever you say, but this is what I had to do. ;)
I diddent work for me :[
[sigh] nothing I do with teleporters works[/sigh]
I GOT IT TO WORK YAY!!! There can b no capitals in the script ^^
Nice catch tank, just do exactly wat it says up there without caps
:)
U also need to put lowercase letters only or u MAY have some problems
That was wat I said but I cant put no cappitals text so..
PS: Seabiscuit y u using my TT TGE card??
As u see it has Art Crazy on it, with the skin im using and my army lol
Last edited: Wednesday, June 16, 2004 at 1:19:57 PM
Dam, now there not working for me even without caps...
Hey ice if u have msn messenger, I can contact u and maybe help u till it works, k?
Sure, how bout I just send you the mis file (with out any extra ttstatistics) and you can take a look at it.
Sry, I wasnt here when u posted, uve been added to msn messenger, and first ud have to tell me where u wanted to be teleported to..
Last edited: Monday, June 21, 2004 at 3:51:09 PM
I new how to make telaporters bfor u I waz the dumbest person on TT but I guess im no no more :P |_0|_
Page : <1> :
Hi all, scotty here. I have been ask many many times to clarify how to install and use teleporters, so here is my tutorial.
1st step:
Open up notepad or any text editor. Save it as teleporters.cs
2nd step:
Copy and paste the following into that file:
Function bluesectorwarp::onenter(%db, %this, %tank)
{
%pos = %tank.getPosition();
%rot = %tank.Rotation;
%newPos = ("-697.35 92.149 135.004" @ " " @ %rot);
%tank.setTransform(%newPos);
}
Datablock powerupdata(bluesectorwarp)
{
Aipickup = 0;
Emitterduration = 0;
Maxoff = 100;
Minoff = 50;
Shadow = 1;
Shadowanimation = 1;
Shape = "game/data/shapes/common/recharge.dts";
Starton = 0;
Staticshadow = 0;
};
////////////////////////////
////////////////////////////
Function greensectorwarp::onenter(%db, %this, %tank)
{
%pos = %tank.getPosition();
%rot = %tank.Rotation;
%newPos = ("-227.75 -767.13 206.842" @ " " @ %rot);
%tank.setTransform(%newPos);
}
Datablock powerupdata(greensectorwarp)
{
Aipickup = 0;
Emitterduration = 0;
Maxoff = 100;
Minoff = 50;
Shadow = 1;
Shadowanimation = 1;
Shape = "game/data/shapes/common/recharge.dts";
Starton = 0;
Staticshadow = 0;
};
////////////////////////////
////////////////////////////
Function aliensectorwarp::onenter(%db, %this, %tank)
{
%pos = %tank.getPosition();
%rot = %tank.Rotation;
%newPos = ("983.669 656.768 299.555" @ " " @ %rot);
%tank.setTransform(%newPos);
}
Datablock powerupdata(aliensectorwarp)
{
Aipickup = 0;
Emitterduration = 0;
Maxoff = 100;
Minoff = 50;
Shadow = 1;
Shadowanimation = 1;
Shape = "game/data/shapes/common/recharge.dts";
Starton = 0;
Staticshadow = 0;
};
////////////////////////////
////////////////////////////
Function mainsectorwarp::onenter(%db, %this, %tank)
{
%pos = %tank.getPosition();
%rot = %tank.Rotation;
%newPos = ("530.22 -82.8827 78.3048" @ " " @ %rot);
%tank.setTransform(%newPos);
}
Datablock powerupdata(mainsectorwarp)
{
Aipickup = 0;
Emitterduration = 0;
Maxoff = 100;
Minoff = 50;
Shadow = 1;
Shadowanimation = 1;
Shape = "game/data/shapes/common/recharge.dts";
Starton = 0;
Staticshadow = 0;
};
3rd step:
This is a readme of wat to do. Follow this carefully.
After all of the steps above, add a reload station somewhere on your map.
Then take this and put it at the top (above OBJECT WRITE BEGIN) of your mis file:
Exec("game/server/scripts/teleporters.cs");
Then put this above the OBJECT WRITE BEGIN:
Function bluesectorwarp::onenter(%db, %this, %tank)
{
%pos = %tank.getPosition();
%rot = %tank.Rotation;
%newPos = ("0.000 0.000 0.000" @ " " @ %rot);
%tank.setTransform(%newPos);
}
Datablock powerupdata(bluesectorwarp)
{
Aipickup = 0;
Emitterduration = 0;
Maxoff = 100;
Minoff = 50;
Shadow = 1;
Shadowanimation = 1;
Shape = "game/data/shapes/common/recharge.dts";
Starton = 0;
Staticshadow = 0;
};
In this writing you will see this: %newPos = ("0.000 0.000 0.000" @ " " @ %rot);
Change the position to the place where you want to go. I suggest putting a powerup on the spot where you want to teleport to, and then punch in its position.
Now find your reload station in your mis file.
Change its datablock to bluesectorwarp from reload.
This should give you a working teleporter. If you want more than one, just add green sector warp to the beginning of you mis file (to find green sector warp, go into the teleporters.cs file and scroll through. There will also be a red sector warp). If you have any problems, contact me at: onlinewebking@yahoo.com
There you go, this SHOULD work.
-(UF)scotty(W)
Last edited: Friday, June 11, 2004 at 4:55:12 PM