Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
A question for my helpful friends; Level triggering.
- RonnieNeeley
- Member

- Posts: 203
- Joined: May 5th, 2010, 6:35 pm
- Name: Ronnie Neeley
- Location: Illinois
- Contact:
A question for my helpful friends; Level triggering.
Well, my friend was looking around sandbox and noticed that you couldn't use the teleport in the Trainmap in RPG mode.
It is possible to do this though I assume, by this code:
level_trigger_2 = [echo "*message*"; endsp; sleep 1000 [map *name*]]
(I apologize by not trying it myself, I have the code but haven't the wildest clue where to place it >.>)
Anyways, thanks guys.
It is possible to do this though I assume, by this code:
level_trigger_2 = [echo "*message*"; endsp; sleep 1000 [map *name*]]
(I apologize by not trying it myself, I have the code but haven't the wildest clue where to place it >.>)
Anyways, thanks guys.
Tritium - An MMORPG :: viewtopic.php?f=10&t=1246
"Like" Tritium on Facebook :: http://www.facebook.com/pages/Tritium/162872407060264
My Music :: http://www.facebook.com/InternetSlaveMaster
"Like" Tritium on Facebook :: http://www.facebook.com/pages/Tritium/162872407060264
My Music :: http://www.facebook.com/InternetSlaveMaster
-
AndyLangel
- Member

- Posts: 55
- Joined: May 25th, 2010, 12:15 am
- Name: Andy
Re: A question for my helpful friends; Level triggering.
Well, it seems i have found a solution- Rather using that code, is the proper way to trigger level changing through setting an entities tag number and then setting that tag equal to the map?
I see that this is what was done in the Train map- now that i look through the level CFG. Though, is this only for FPS, or is the reason it is only for FPS because it loads the maps with the sp prefix?
Any help would be greatly appreciated.
I see that this is what was done in the Train map- now that i look through the level CFG. Though, is this only for FPS, or is the reason it is only for FPS because it loads the maps with the sp prefix?
Any help would be greatly appreciated.
-
AndyLangel
- Member

- Posts: 55
- Joined: May 25th, 2010, 12:15 am
- Name: Andy
Re: A question for my helpful friends; Level triggering.
After a little bit of tweaking and messing around, i have managed to get teleporting to work. (You must set the entities type to 2 or something, and then set the tag to a number- then go into your map script and type "level_trigger_*number* = [map "*Map Name*"])
Aside from this, i was wondering if i could get some help with possibly making this process more RPGish...
I am looking for a way to make the user have to interact with an item to teleport, or when the user gets so close to the item, it triggers a GUI menu that asks them if they would wish to go to the other map. Also, would there be a way to trigger this GUI menu with code rather than entities? say the player get so close to the map edge, so the code executes and the player can teleport to the next map.
Ill keep looking into it and post any findings, but i would appreciate any help once again.
Aside from this, i was wondering if i could get some help with possibly making this process more RPGish...
I am looking for a way to make the user have to interact with an item to teleport, or when the user gets so close to the item, it triggers a GUI menu that asks them if they would wish to go to the other map. Also, would there be a way to trigger this GUI menu with code rather than entities? say the player get so close to the map edge, so the code executes and the player can teleport to the next map.
Ill keep looking into it and post any findings, but i would appreciate any help once again.
-
arcones
- Support Team

- Posts: 2734
- Joined: January 13th, 2010, 12:42 pm
- Name: Timothy
- IRC Username: I use Steam
- Location: Looking over your shoulder...
- Contact:
Re: A question for my helpful friends; Level triggering.
Well, I'll dissect all the questions, and try to answer them all
As for where you put this, try entering edit mode and hitting F6. That should bring up the in-game config (if not, try F7
).
Now for Andy's questions!
Btw, don't forget to remove those
) But no, it shouldn't be too hard.
That's for dialog.
If you want just to set the level_trigger at the edge of the map so that you just teleport, that's easy as well!
Something like that I'd assume
Hope that helps!
Arc
Unless you code the teleport in, you can't use it in RPG mode. But you can do map teleports by using the script you haveRonnie wrote:Well, my friend was looking around sandbox and noticed that you couldn't use the teleport in the Trainmap in RPG mode.
It is possible to do this though I assume, by this code:
level_trigger_2 = [echo "*message*"; endsp; sleep 1000 [map *name*]]
As for where you put this, try entering edit mode and hitting F6. That should bring up the in-game config (if not, try F7
Now for Andy's questions!
So I'm guessing you saying that if the level trigger is set to "x" and making sure it's the same with the map "x"? It really is just simpler to code in as you can place any map you want with any message you want in between the asterisk!Andy wrote:Well, it seems i have found a solution- Rather using that code, is the proper way to trigger level changing through setting an entities tag number and then setting that tag equal to the map?
My answer for that would be that FPS allows teleporting and RPG doesn't. However, if it has something to do what type of game mode your in (single player, co-op edit, banana relay, capture the banana, etc.) then there might be something that works.Andy also wrote:I see that this is what was done in the Train map- now that i look through the level CFG. Though, is this only for FPS, or is the reason it is only for FPS because it loads the maps with the sp prefix?
It's very possible actually. It'd require some if variables and the teleporting code along with some dialog. (dialog being the hardest for meAndy also wrote:I am looking for a way to make the user have to interact with an item to teleport, or when the user gets so close to the item, it triggers a GUI menu that asks them if they would wish to go to the other map. Also, would there be a way to trigger this GUI menu with code rather than entities? say the player get so close to the map edge, so the code executes and the player can teleport to the next map.
Code: Select all
"level_trigger_1" = //enter script for dialog here (maybe use Chaze's tutorial)
//have "yes" or "no" buttons and depending on which you want, have yes teleport and no close the dialog box.
r_say "Would you like to teleport to Middle?"
r_respond "Yes." [echo "*message*"; endsp; sleep 1000 [map *name*]] //I don't know if this'll work for sure...
r_respond "No." cleargui
If you want just to set the level_trigger at the edge of the map so that you just teleport, that's easy as well!
Code: Select all
"level_trigger_2" = [echo "*message*"; endsp; sleep 1000 [map *name*]]
//now, to make this work use the following steps.
//1 Make a map model (preferably the first mm)
//2 Make the mm a "null" map model by making it a negative one (click the mmodel and scroll so that there isn't one there)
//3 Make the level trigger a 2 and put the code from up above in the in-game config.
//4 SAVE IT =P
//5 Then try it Hope that helps!
Arc
Last edited by arcones on May 27th, 2010, 8:25 am, edited 1 time in total.

Want a user bar like this one? PM Leo!
- Leo_V117
- Support Team

- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: A question for my helpful friends; Level triggering.
NO!!! Arcones...
step 4: Save Map.
step 5: Test it.
step 4: Save Map.
step 5: Test it.
Game Projects
Sandbox Tools
-
arcones
- Support Team

- Posts: 2734
- Joined: January 13th, 2010, 12:42 pm
- Name: Timothy
- IRC Username: I use Steam
- Location: Looking over your shoulder...
- Contact:
Re: A question for my helpful friends; Level triggering.
Oh, well, if that's it... I'll change it


Want a user bar like this one? PM Leo!
- Venima
- Support Team

- Posts: 259
- Joined: February 17th, 2010, 4:56 am
- Name: Tombstone
- IRC Username: Venima
- Location: Somewhere in the eternal planes between the living and the dead
Re: A question for my helpful friends; Level triggering.
And I thought I was the coder guy XD
Tombstone's Tournament round 2 has begun! Tombstone's Posting Tournament
Try out my: CFG Easy Text Editor (Note: still in beta)
-----Venima


Try out my: CFG Easy Text Editor (Note: still in beta)
-----Venima


- Leo_V117
- Support Team

- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: A question for my helpful friends; Level triggering.
You are... you just code the complicated stuff. How are those Achievements coming along?
Game Projects
Sandbox Tools
-
arcones
- Support Team

- Posts: 2734
- Joined: January 13th, 2010, 12:42 pm
- Name: Timothy
- IRC Username: I use Steam
- Location: Looking over your shoulder...
- Contact:
Re: A question for my helpful friends; Level triggering.
lol
I'm gonna need to brush up on CS because Middle coming on fast!
So hopefully I'll be even more help!
I'm gonna need to brush up on CS because Middle coming on fast!
So hopefully I'll be even more help!

Want a user bar like this one? PM Leo!
- Venima
- Support Team

- Posts: 259
- Joined: February 17th, 2010, 4:56 am
- Name: Tombstone
- IRC Username: Venima
- Location: Somewhere in the eternal planes between the living and the dead
Re: A question for my helpful friends; Level triggering.
ahh...those....ummmmLeo_V117 wrote:You are... you just code the complicated stuff. How are those Achievements coming along?
they're coming along.....fine.....just fine...
Yeah I have thought about them but I've been too busy with college work. 3 weeks left with 2 months worth of work. I'll give em a go now though.
Tombstone's Tournament round 2 has begun! Tombstone's Posting Tournament
Try out my: CFG Easy Text Editor (Note: still in beta)
-----Venima


Try out my: CFG Easy Text Editor (Note: still in beta)
-----Venima


