|
| 20 May 2012 06:39 PM |
I've been asked many a time how to make holo training bases. For those of you not familiar with the term, it's basically a training base consisting of a lobby with a door, and out the door loads a model of a training simulation when an admin/trainer chats a certain thing.
All simulation models go in lighting.
So, instead of teaching you people what to write, I'll simply fork over my script. This is the script for loading a simulation. You have to change the part where it says "Computer, load obstacles1" to what you want trainers to chat to say to load a simulation. Then where it says game.Lighting.Obstacles1:Clone() you change Obstacles1 to the name of the model that you're loading as a simulation. Also change my name to the trainers who can load simulations.
admin = { "Isometricity" } game.Players.PlayerAdded:connect(function(nP) for _,v in pairs(admin) do if nP.Name == v then nP.Chatted:connect(function(msg) if msg == "Computer, load obstacles1." then x = game.Lighting.Obstacles1:Clone() M = Instance.new("Hint") M.Parent = game.Workspace M.Text = "L" wait(0.1) M.Text = "LO" wait(0.1) M.Text = "LOA" wait(0.1) M.Text = "LOAD" wait(0.1) M.Text = "LOADI" wait(0.1) M.Text = "LOADING" wait(0.1) M.Text = "LOADING " wait(0.1) M.Text = "LOADING S" wait(0.1) M.Text = "LOADING SI" wait(0.1) M.Text = "LOADING SIM" wait(0.1) M.Text = "SIM LOADED" x.Parent = game.Workspace wait(3) M:Remove() end end) end end end)
Now here is the unload script. Change my name to your admins, where it says "Computer, unload obstacles2" to what you want the trainer to chat, and at the end, where it says game.Workspace.Obstacles2:Remove() change Obstacles2 to the name of the simulation model.
admin = { "Isometricity" } game.Players.PlayerAdded:connect(function(nP) for _,v in pairs(admin) do if nP.Name == v then nP.Chatted:connect(function(msg) if msg == "Computer, unload obstacles2." then M = Instance.new("Hint") M.Parent = game.Workspace M.Text = "E" wait(0.1) M.Text = "EN" wait(0.1) M.Text = "END" wait(0.1) M.Text = "ENDI" wait(0.1) M.Text = "ENDIN" wait(0.1) M.Text = "ENDING" wait(0.1) M.Text = "ENDING " wait(0.1) M.Text = "ENDING S" wait(0.1) M.Text = "ENDING SI" wait(0.1) M.Text = "ENDING SIM" wait(0.1) M.Text = "SIM ENDED" game.Workspace.Obstacles2:Remove() M:remove() wait(3) end end) end end end)
I hope this helps! |
|
|
| Report Abuse |
|
|
ironboo
|
  |
| Joined: 21 Sep 2008 |
| Total Posts: 932 |
|
| |
|
|
| 20 May 2012 06:48 PM |
I already did that.
Copier. |
|
|
| Report Abuse |
|
|
| |
|
|
| 20 May 2012 06:54 PM |
| Hibob, can you share your better one with me? I'm not a very advance scripter. I made this 100% by myself. :3 |
|
|
| Report Abuse |
|
|
dsalter
|
  |
| Joined: 28 Jun 2010 |
| Total Posts: 1292 |
|
|
| 20 May 2012 07:14 PM |
| I dont know how to make a model Q.Q |
|
|
| Report Abuse |
|
|
Jiyyus
|
  |
| Joined: 25 Dec 2011 |
| Total Posts: 673 |
|
| |
|
|
| 01 Jun 2012 08:09 PM |
I don't think I want to. I don't know which of the 3 works or not.
~Hibob |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Pryovin
|
  |
| Joined: 21 Jan 2010 |
| Total Posts: 31404 |
|
| |
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
| |
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 23 Sep 2012 07:24 AM |
I have a 500+ lined GUI based holo training.
I will convert to chatted events later.
I might make a public domain version for all the peoples here.
"Contact me if you are interested in becoming a developer, innovator, or recruiter for CSA." |
|
|
| Report Abuse |
|
|
Redsoxs4
|
  |
| Joined: 15 Jun 2011 |
| Total Posts: 17324 |
|
| |
|
| |
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
|
| 03 Oct 2012 09:40 AM |
for i=1,#"SIM LOADED",1 do M.Text = ("SIM LOADED"):sub(1,i) wait(0.1) end |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2012 09:43 AM |
| is it possible, to copy the part that makes the computer load obstacle1, to load multiple other things? |
|
|
| Report Abuse |
|
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
|
| 03 Oct 2012 09:47 AM |
| The name "Holo" infuriates me. |
|
|
| Report Abuse |
|
|
alkia
|
  |
| Joined: 15 Nov 2008 |
| Total Posts: 25645 |
|
| |
|
Premise
|
  |
| Joined: 16 Oct 2010 |
| Total Posts: 114 |
|
|
| 03 Oct 2012 10:07 AM |
| I like WIJ's holo trainings very much. |
|
|
| Report Abuse |
|
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
|
| 03 Oct 2012 10:09 AM |
@al
there's no rsf guy in this thread |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2012 10:13 AM |
I have a better one, plus I also have one where you can load maps through GUI.
If you want a script better than this, look in my sets! |
|
|
| Report Abuse |
|
|
jakem1996
|
  |
| Joined: 17 Feb 2012 |
| Total Posts: 18 |
|
|
| 08 Mar 2013 05:27 PM |
Where do I paste the Scripts?
~Still learning about roblox studios~ |
|
|
| Report Abuse |
|
|
| |
|
jakem1996
|
  |
| Joined: 17 Feb 2012 |
| Total Posts: 18 |
|
|
| 08 Mar 2013 05:31 PM |
Igoing, Where do I paste both scripts....Do I post it in my admin commands
|
|
|
| Report Abuse |
|
|