polidoros4433 Posted November 2, 2009 Share Posted November 2, 2009 (edited) hello im making a mod and i want to make a red marker so when i walk into it to teleport me to an area i want some coords example 0.1222 121521 12125 is it possible? Edited November 2, 2009 by polidoros4433 Link to comment Share on other sites More sharing options...
TheSiggi Posted November 2, 2009 Share Posted November 2, 2009 sure it is just insert your coord at X1 Y1 Z1 (the sphere will appear there) and X2 Y2 Z2 cj will appear here {$CLEO .cs}03A4: name_thread 'TELE':TELE_21wait 0if 0256: player $PLAYER_CHAR definedjf @TELE_2100D6: if and0038: $ONMISSION == 0 80DF: not actor $PLAYER_ACTOR driving 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere X1 Y1 Z1 radius 1.0 1.0 1.0 on_foot jf @TELE_21016A: fade 0 time 1000 0001: wait 1000 ms 03CB: set_rendering_origin_at X2 Y2 Z300A1: put_actor $PLAYER_ACTOR at X2 Y2 Z20001: wait 500 ms 016A: fade 1 time 1000 jump @TELE_21 this is just a simple one, so you can't teleport into interriors and you can't be teleported to the point X1 Y1 Z1 Link to comment Share on other sites More sharing options...
polidoros4433 Posted November 2, 2009 Author Share Posted November 2, 2009 sure it is just insert your coord at X1 Y1 Z1 (the sphere will appear there) and X2 Y2 Z2 cj will appear here {$CLEO .cs}03A4: name_thread 'TELE':TELE_21wait 0if 0256: player $PLAYER_CHAR definedjf @TELE_2100D6: if and0038: $ONMISSION == 0 80DF: not actor $PLAYER_ACTOR driving 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere X1 Y1 Z1 radius 1.0 1.0 1.0 on_foot jf @TELE_21016A: fade 0 time 1000 0001: wait 1000 ms 03CB: set_rendering_origin_at X2 Y2 Z300A1: put_actor $PLAYER_ACTOR at X2 Y2 Z20001: wait 500 ms 016A: fade 1 time 1000 jump @TELE_21 this is just a simple one, so you can't teleport into interriors and you can't be teleported to the point X1 Y1 Z1 so this one works from example groove street to san fierro station right? Link to comment Share on other sites More sharing options...
TheSiggi Posted November 2, 2009 Share Posted November 2, 2009 yep... Link to comment Share on other sites More sharing options...
polidoros4433 Posted November 2, 2009 Author Share Posted November 2, 2009 ok thanks a lot Link to comment Share on other sites More sharing options...
dtd mods Posted November 3, 2009 Share Posted November 3, 2009 ok thanks a lot file polidore dokimase to teleport mod mou http://www.gtagarage.com/mods/show.php?id=8752 episis diafase ta news gia na doulepsi sosta to read me einai lathos dokimase to Link to comment Share on other sites More sharing options...
polidoros4433 Posted November 3, 2009 Author Share Posted November 3, 2009 (edited) Siggi i used ur script like: {$CLEO .cs}03A4: name_thread 'TELE':TELE_21wait 0if0256: player $PLAYER_CHAR definedjf @TELE_2100D6: if and0038: $ONMISSION == 080DF: not actor $PLAYER_ACTOR driving00FF: actor $PLAYER_ACTOR sphere 1 in_sphere -53.7944 23.8655 7.4181 radius 1.0 1.0 1.0 on_foot jf @TELE_21016A: fade 0 time 10000001: wait 1000 ms03CB: set_rendering_origin_at 211.5379 87.8283 8.778100A1: put_actor $PLAYER_ACTOR at 211.5379 87.8283 8.77810001: wait 500 ms016A: fade 1 time 1000jump @TELE_21 the red marker appears but doesnt teleport to the other place Edited November 3, 2009 by polidoros4433 Link to comment Share on other sites More sharing options...
james227uk Posted November 3, 2009 Share Posted November 3, 2009 Not necessarily solving the problem, but why are you setting the rendering origin? I didn't need to before Link to comment Share on other sites More sharing options...
polidoros4433 Posted November 4, 2009 Author Share Posted November 4, 2009 i tried disabling it but when i try to compile it it appears error doesnt let me to compile.. needs more parameters.. Link to comment Share on other sites More sharing options...
TheSiggi Posted November 4, 2009 Share Posted November 4, 2009 to fix that error just delete the whole : 03CB: set_rendering_origin_at 211.5379 87.8283 8.7781 james is right; this line is not necessary because the exe will render that area automaticly when the player enter it you can check other teleporter scripts to find out more about them: -Crack Palace teleporter script - Wuzis betshop enterable those scripts teleport into interriors so here is an older script (one of the first I wrote ) : // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------03A4: name_thread "TELEPORTATION3" 0001: wait 1000 ms :TELEPORTATION2_230001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @TELEPORTATION2_23 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @TELEPORTATION2_23 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere 2124.637 2379.301 10.8203 radius 1.0 1.0 1.0 on_foot 004D: jump_if_false @TELEPORTATION2_23 00A1: put_actor $PLAYER_ACTOR at 2059.649 2435.161 165.6172 0002: jump @TELEPORTATION2_23 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now