|
| 29 Dec 2012 11:03 AM |
| Hey I was wondering how to put a modal and turn it into a morph in the game? |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 11:05 AM |
Do you mean inserting a model from a pre-made model into the game? Then turning it into a morph? If you do, I'd just recommend pre-making the model to do that. Or do you mean just inserting an old morph into the game? In which case, you could do this:
asset = game:GetService("InsertService"):LoadAsset(THE_LAST_NUMBERS_IN_THE_MODEL_URL) asset.Parent = game.Workspace
The above will insert a model containing your model into Workspace. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 11:40 AM |
| Yes, I mean inserting a pre-made model bought from the catalog into a game. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 12:24 PM |
| Then use the insert script I included in my above post. |
|
|
| Report Abuse |
|
|
| |
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 29 Dec 2012 12:28 PM |
| You help gandalf defeat the devil bollrog and, and gandalf rewards u. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
jody7777
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 1343 |
|
| |
|
jody7777
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 1343 |
|
|
| 29 Dec 2012 01:24 PM |
| you need to help herrry potter defeat voldermot and then he gives you a wand and you use it to insert models. THE END. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 02:02 PM |
OK... let me rephrase that. How can I use: asset = game:GetService("InsertService"):LoadAsset(THE_LAST_NUMBERS_IN_THE_MODEL_URL) asset.Parent = game.Workspace, to help me. |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Dec 2012 04:31 PM |
Step 1: Find a model Step 2: Copy the last numbers in the URL. For example, http://www.roblox.com/Banning-Ban-Hammer-item?id=35724536 would be 35724536 Step 4: Do this, game:GetService("InsertService"):LoadAsset(THE_LAST_NUMBERS_IN_THE_MODEL_URL) asset.Parent = game.Workspace asset:MoveTo(Vector3.new(0, 0, 0))
The model is now in Workspace, at 0, 0, 0 |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 07:40 PM |
its not working it sais that it does not exist
|
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 29 Dec 2012 07:48 PM |
Game:GetService("InsertService"):LoadAsset(ITEM ID).Parent = workspace
~ Secrets Shall Lead Us To The End ~ |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 09:10 PM |
| What does ("insert service") mean? (make fun and you will get reported) |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 09:14 PM |
Don't threaten to report us. The only reason we'd "make fun" is if you say something like that. The reason this forum is here is so you can learn, not so we can make fun of you. So don't worry about it. As long as you're respectful to your peers, no one will be disrespectful to you. (minus the trolls. There's always trolls)
Anyways, I'll break down the code. game:GetService("InsertService"):LoadAsset(asset).Parent = game.Workspcae game:GetService(String service) is creating a new server. InsertService is the service that is being created. LoadAsset(int asset) is what model you are choosing to load into the game. Parent is where you are placing the model. And finally, game.Workspace is where the model is being put. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 09:15 PM |
@myself
I need to remember to proofread. GetService(String service) creates a new services, nice server. game.Workspace is where the physical place the model is put, so other players can see/interact with it. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 09:20 PM |
how would I type game .workspace to put it a particular spot
|
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Dec 2012 09:23 PM |
If you're talking about positioning, you would assign the model a variable, then use MoveTo to move the model to wherever.
local Model = Game:GetService("InsertService"):LoadAsset(asset) Model.Parent = Workspace Model:MoveTo(Vector3)
> Penguin Power |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 09:25 PM |
Okay, you might need some other things to help you understand this. Look in your programs for "Roblox Studio" and open it. Now find your place page, and click "Edit" (not Build, Edit). In the right of your screen you will see a window titled "Explorer" (if not, find Explorer in the View menu). What you will now be seeing is the format of your game, put into a nice little display for you. You will notice a few things there. Workspace, Players, Lighting, StarterGui, Debris, SoundService, and maybe Teams. This is the basic folders for your game. Workspace is the physical aspect of your game, where players see and touch what is around them. Players is where all the players are stored. Lighting is the lighting of the game. StarterGui is where you put Guis for other people to see them (see http://wiki.roblox.com/index.php/ScreenGui). StarterPack is tools that will automatically be given to the player when they join. Don't worry about Debris and SoundScape. Does that explain the whole "Workspace" thing a tiny bit? |
|
|
| Report Abuse |
|
|
eTempest
|
  |
| Joined: 23 Jul 2011 |
| Total Posts: 3704 |
|
|
| 29 Dec 2012 09:30 PM |
Are you talking about doing it through using a script, or just inserting a model?
They are talking about scripting because this is scripting helpers forum.
To insert a pre-made model bought on the ROBLOX catalog on ROBLOX studio, go to your place, or click "File" then "New".
Next, look at the buttons right below "File", "Edit", "View", ect.
Look around that section till you find two wrenches (orange and blue) and click on that.
That is your toolbox. If you click the drop down menu you can click "My Models".
If you click search, you can search and place models straight through the program, but they will not be in your inventory. To search between decals and models click the drop down menu next to the search bar.
For more information on the toolbox go here:
http://wiki.roblox.com/index.php/Toolbox
If you have any other questions feel free to private message (PM) me, or type in your questions/key words here on the ROBLOX wiki:
http://wiki.roblox.com/index.php/Roblox |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 09:32 PM |
| pretty much, but can you go to roblox studios, and have a folder with all your models from your inventory? |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 09:33 PM |
| What do you mean by that? Do you mean all the tools you have? Because if you want everyone to have the same tools that you have, just put the tools in StarterPack. |
|
|
| Report Abuse |
|
|