Last active: Never
Not logged in [Login - Register]
Portal Portal   Search the forums Search   Frequently Asked Questions FAQ   View member list Member List   Staff Staff List   View Topic Activity Topic Activity   Forum Stats Stats   Board Rules Board Rules   Downloads Downloads
Go To Bottom

Printable Version | Subscribe | Add to Favorites  
Author: Subject: Coop Teleport (Single)
AKMARK5000
Corporal


Avatar

Avatar


Posts: 218
Registered: 22-5-09
Location: United States
Member Is Offline


[*] posted on 19-1-10 at 05:07
Coop Teleport (Single)


I know a group can be teleport... seen it done a few times. What I want to do is teleport a single coop player. I've seen it once so, I know it's possible. In another forum I read a post by someone named Cave Monster:


"single player teleport in coop is an old shoe and works this way (i guess you know what to do in NILE, because i do it in the MED)

if ssn 10000 is in area x then teleport ssn 10000 to target y
if ssn 10001 is in area x then teleport ssn 10001 to target y
if ssn 10002 is in area x then teleport ssn 10002 to target y
if ssn 10003 is in area x then teleport ssn 10003 to target y

....................

if you have a 32 slot server you have to do this for all numbers between 0 and 31 because a human player can occupy any number in the range the server offers !!!"



I tested this in DFX2 using MED. The thing is that I have two choices for the "ssn" of the player... one is "start, player" marker and the other is listed as just "Player". I chose the second choice, "Player".

This translates to an ssn of 10000 as Cave Monster said. So, here's my setup:

--> IF ssn 10000 is in area x THEN teleport ssn 10000 to target y

Although it worked when tested, but I am one person. So, I really don't know if it is just single player material or if it would truly work in a coop.

However, unlike CM's example, I cannot make an IF/THEN for 10001, 10002, 10003... so on and so forth for 32 possible player spawns.

Alternatively, I then tried to set it up using the "start, player". Doing it this way I can make an IF/THEN for every "start, player" marker:

--> IF ssn 9 is in area x THEN teleport ssn 10000 to target y

--> IF ssn 54 is in area x THEN teleport ssn 10000 to target y

--> IF ssn 55 is in area x THEN teleport ssn 10000 to target y

--> IF ssn 56 is in area x THEN teleport ssn 10000 to target y

--> IF ssn 57 is in area x THEN teleport ssn 10000 to target y

--> IF ssn 58 is in area x THEN teleport ssn 10000 to target y... up to 68.

Again, it worked when tested, but I am one person. So, I really don't know if it is just single player material or if it would truly work in a twelve player coop.

** I know it might be asking a lot here, because of the post/thread length and the fact that I am somewhat new to mapping, but any instruction, direction or advice is very much appreciated.




http://i189.photobucket.com/albums/z13/shifty421/Sigs/Mark-5-Sig-22.gif
View user's profile Visit user's homepage View All Posts By User U2U Member
TedSmelly
DFR Mod Team
*********

Avatar

Avatar


Posts: 89
Registered: 6-1-07
Location: Qld Australia
Member Is Offline

Mood: Alive and loving it

[*] posted on 19-1-10 at 09:10


Hi AKMARK5000, to my knowledge it only works in single player or for the host in multiplayer. You can't tell what number is asigned to players to be able to teleport them. When your server is very busy, even teleporting a group can stuff up and only teleport a few of that group .

I will be corrected if I have given you the wrong info.
View user's profile Visit user's homepage View All Posts By User U2U Member
AKMARK5000
Corporal


Avatar

Avatar


Posts: 218
Registered: 22-5-09
Location: United States
Member Is Offline


[*] posted on 19-1-10 at 09:38


Thanks Ted. Yes that's what I thought for a while also.

But I've seen Teleport of single individuals in coop. In fact, I was there... the map author left before I could contact them so I have no idea if they did it through a WAC, NILE, MED.

I am trying to figure out how to do it using the DFX2 MED (not a WAC and not in NILE).

Someone just gave me a WAC script in a NPJ sample... yes it works, but teleport happens just once which is not what I am trying to do.

In my original post I even said:


"I tested this in DFX2 using MED. The thing is that I have two choices for the "ssn" of the player... one is "start, player" marker and the other is listed as just "Player". I chose the second choice, "Player".

This translates to an ssn of 10000 as Cave Monster said. So, here's my setup:

--> IF ssn 10000 is in area x THEN teleport ssn 10000 to target y

Although it worked when tested, but I am one person. So, I really don't know if it is just single player material or if it would truly work in a coop".


*** in the quote I should have said that I am a single individual in a coop map.

Attachment: NPJ or NILE With WAC.zip (1.44kb)
This file has been downloaded 363 times




http://i189.photobucket.com/albums/z13/shifty421/Sigs/Mark-5-Sig-22.gif
View user's profile Visit user's homepage View All Posts By User U2U Member
Eagle_Eye
Owner/Admin
*********

Avatar

Avatar


Posts: 2094
Registered: 2-4-06
Location: Adelaide. South Australia
Member Is Offline

Mood: Grey, not stupid!

[*] posted on 19-1-10 at 16:20


You should never make a map that tries to teleport an individual player. SSN 10,000 was designed for SP use only, and whatever you have heard is not reliable.

If however, you are using the SG mod for JO, it is possible because the mod makes it so, but, even with the new items that make this possible, you don't actually teleport. You use an ssn to ssn, and it tricks the engine into teleporting.

Now, I know that Luke N@dewalker is working to bring the SG mod to DFX2, so, if he does, he will hopefully bring this feature over as well.

Cheers
EE




View user's profile Visit user's homepage View All Posts By User U2U Member This user has MSN Messenger
doc-notap
Private


Avatar



Posts: 8
Registered: 12-1-10
Member Is Offline


[*] posted on 19-1-10 at 18:52


You can use this in all Mods
With the Teleport from Luke you can Teleport more as 1 Player at the same time

Ploop
if ssnride(chair)then
ssnrelease(Player)
endif
end

ploop
if ssnnearssn(Player,Objekt) then
if !ssnride(chair) then
ssn2ssn(player,chair)
ssnuse(chair)
endif
endif
end

Edit: add a note
View user's profile View All Posts By User U2U Member
JET
Gomer !!!


Avatar

Avatar


Posts: 827
Registered: 7-4-06
Location: Northern California
Member Is Offline

Mood: Need a Beer

[*] posted on 20-1-10 at 06:13


Ive seen it done in DFLW coop maps. one especialy comes to mind was you start inside the hanger thats blocked off all the exits and you go into a teleport and you pop up under a tower overlooking where you attack. cant remember the name of the map it was years ago.

I think they made the start markers an individual group for each and teleported that group. markers ofcourse wont teleport but the player that starts on that marker would be in the group.

That wont work in DFX or DFX2.... cant change the group of the start marker. but there is LFP group up in the top right corner that can be set. Have no idea what LFP stands for as i havnt messed with making maps for DFX/DFX2 much.




http://i49.photobucket.com/albums/f257/JET-WTF/jettag2.jpg
Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. --George Carlin
View user's profile Visit user's homepage View All Posts By User U2U Member
JET
Gomer !!!


Avatar

Avatar


Posts: 827
Registered: 7-4-06
Location: Northern California
Member Is Offline

Mood: Need a Beer

[*] posted on 20-1-10 at 06:49


Code:


Try that wac instead of the other, the "and never" command says if it happened once then dont do it again.




http://i49.photobucket.com/albums/f257/JET-WTF/jettag2.jpg
Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. --George Carlin
View user's profile Visit user's homepage View All Posts By User U2U Member
doc-notap
Private


Avatar



Posts: 8
Registered: 12-1-10
Member Is Offline


[*] posted on 20-1-10 at 15:20


Quote:
Ursprünglich verfasst von JET
Code:


Try that wac instead of the other, the "and never" command says if it happened once then dont do it again.


This part of WAC can crash the Map if a 2 Player on ssn 132072 and the first player on 132075
View user's profile View All Posts By User U2U Member
Eagle_Eye
Owner/Admin
*********

Avatar

Avatar


Posts: 2094
Registered: 2-4-06
Location: Adelaide. South Australia
Member Is Offline

Mood: Grey, not stupid!

[*] posted on 20-1-10 at 15:27


Message from Luke N@dewalker.

using that teleport script in any other mod will work, but should the occasion happen where 2 players simultaniously teleport you will sysdump & crash server... and there is no way to avoid this outside of sgmod

he has it whereby you ssnride a chair to teleport..... you do not have to be sat in a chair for it to function..... basically its a bad idea to do it that way if you are not using the sgmod teleport objects

EE




View user's profile Visit user's homepage View All Posts By User U2U Member This user has MSN Messenger
doc-notap
Private


Avatar



Posts: 8
Registered: 12-1-10
Member Is Offline


[*] posted on 21-1-10 at 02:01


When you check the chair that no ssn on it before the teleport start the map dont crash
View user's profile View All Posts By User U2U Member
PREDATOR-53rd
Corporal


Avatar



Posts: 310
Registered: 5-8-06
Member Is Offline


[*] posted on 26-1-10 at 22:13
coop teleport


this has been used in an LST map to teleport a single person from one chair to another. may work for what your needing.


if never() then
set(v1,0) //chair ride variable
endif

if SSNride(3) then
set(v1,1)// chair to
else
set(v1,0)// chair back
endif


if never() then
set(v2,0) //chair ride variable
endif

if SSNride(7) then
set(v2,1)// chair to
else
set(v2,0)// chair back
endif

if never() then
set(v3,0) //chair ride variable
endif

if SSNride(24) then
set(v3,1)// chair to
else
set(v3,0)// chair back
endif

if never() then
set(v4,0) //chair ride variable
endif

if SSNride(28) then
set(v4,1)// chair to
else
set(v4,0)// chair back

endif

if never() then
set(v5,0) //chair ride variable
endif

if SSNride(32) then
set(v5,1)// chair to
else
set(v5,0)// chair back
endif

if never() then
set(v6,0) //chair ride variable
endif

if SSNride(35) then
set(v6,1)// chair to
else
set(v6,0)// chair back
endif


if never() then
set(v7,0) //chair ride variable
endif

if SSNride(38) then
set(v7,1)// chair to
else
set(v7,0)// chair back
endif


if never() then
set(v8,0) //chair ride variable
endif

if SSNride(217) then
set(v8,1)// chair to
else
set(v8,0)// chair back
endif


if never() then
set(v9,0) //chair ride variable
endif

if SSNride(219) then
set(v9,1)// chair to
else
set(v9,0)// chair back
endif

if never() then
set(v10,0) //chair ride variable
endif

if SSNride(224) then
set(v10,1)// chair to
else
set(v10,0)// chair back
endif

if never() then
set(v11,0) //chair ride variable
endif

if SSNride(222) then
set(v11,1)// chair to
else
set(v11,0)// chair back
endif
View user's profile View All Posts By User U2U Member

  Go To Top





Powered by XMB
Developed By The XMB Group © 2001-2008