generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: ROBLOX asset types

Previous Thread :: Next Thread 
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
06 Jul 2013 07:12 PM
1 Image
2 T-Shirt
3 Audio
4 Mesh
5 Lua
6 HTML
7 Text
8 Hat
9 Place
10 Model
11 Shirt
12 Pants
13 Decal
16 Avatar
17 Head
18 Face
19 Gear
21 Badge
22 Group Emblem
24 Animation
25 Arms
26 Legs
27 Torso
28 Right Arm
29 Left Arm
30 Left Leg
31 Right Leg
32 Package
33 YouTubeVideo
34 Game Pass
35 App
37 Code
Not tested beyond 50
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
06 Jul 2013 07:13 PM
YouTubeVideo? Really??

App???
Report Abuse
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
06 Jul 2013 07:14 PM
http://www.roblox.com/My/ContentBuilder.aspx?ContentType=XX
Just replace XX with a number to see for yourself.
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
06 Jul 2013 07:23 PM
this stuff is old
Report Abuse
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
06 Jul 2013 09:24 PM
This is the POST when you upload a model called Part1
http://www.roblox.com/Data/Upload.ashx?assetid=0&type=Model&name=Part1&description=&genreTypeId=1&ispublic=False&allowComments=True
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
06 Jul 2013 09:35 PM
^ i was looking for that
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
06 Jul 2013 09:38 PM
The form data of that post is probably XML.
Report Abuse
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
06 Jul 2013 09:41 PM
Hey merely, mind leading us in the right direction?
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
06 Jul 2013 09:44 PM
What direction is there to be led?
Report Abuse
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
06 Jul 2013 09:48 PM
The direction that leads us to uploading other asset types
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
06 Jul 2013 09:49 PM
If you upload a model, it has to be in XML format, and the root tag MUST be `roblox`.
Report Abuse
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
06 Jul 2013 09:51 PM
Well of course, ROBLOX models/places are renamed XML files
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
06 Jul 2013 09:51 PM
they really need a swag asset type
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
06 Jul 2013 10:02 PM
Whoever finds a LAU asset type gets all of my R$.
Report Abuse
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
06 Jul 2013 10:12 PM
@bohdan77
I already did. Its on imgur. hNIlYa5
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
06 Jul 2013 10:17 PM
Thats Lua: http://www.roblox.com/Forumer-Chat-Room-item?id=9363391
Report Abuse
abaw7 is not online. abaw7
Joined: 23 Oct 2009
Total Posts: 745
06 Jul 2013 10:28 PM
Would there be a way to find the GroupEmblem asset type's asset page? Like http://www.roblox.com/Business-Cat-item?id=121389389? Or any other asset type for that matter?
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
06 Jul 2013 10:38 PM
Since I love using protected stuff, I wrote this code for you:

[ Content Blocked by Forum Bot ]
Report Abuse
abaw7 is not online. abaw7
Joined: 23 Oct 2009
Total Posts: 745
06 Jul 2013 10:39 PM
Why thank you for that code.
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
06 Jul 2013 10:41 PM
Roblox likes to block things it doesn't like.

Here's the pastebin: ikmFcLQQ
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
06 Jul 2013 10:47 PM
Sorry, found a bug that needed to be squashed:

new pastebin: RZgBy4bG
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
06 Jul 2013 10:55 PM
@jordan

IN the tabs it says T-Shirt builder.

You got my hopes up.

:(
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
07 Jul 2013 11:32 AM
I found something like this in the MarketPlaceService code.

function assetTypeToString(assetType)
if assetType == 1 then return "Image"
elseif assetType == 2 then return "T-Shirt"
elseif assetType == 3 then return "Audio"
elseif assetType == 4 then return "Mesh"
elseif assetType == 5 then return "Lua"
elseif assetType == 6 then return "HTML"
elseif assetType == 7 then return "Text"
elseif assetType == 8 then return "Hat"
elseif assetType == 9 then return "Place"
elseif assetType == 10 then return "Model"
elseif assetType == 11 then return "Shirt"
elseif assetType == 12 then return "Pants"
elseif assetType == 13 then return "Decal"
elseif assetType == 16 then return "Avatar"
elseif assetType == 17 then return "Head"
elseif assetType == 18 then return "Face"
elseif assetType == 19 then return "Gear"
elseif assetType == 21 then return "Badge"
elseif assetType == 22 then return "Group Emblem"
elseif assetType == 24 then return "Animation"
elseif assetType == 25 then return "Arms"
elseif assetType == 26 then return "Legs"
elseif assetType == 27 then return "Torso"
elseif assetType == 28 then return "Right Arm"
elseif assetType == 29 then return "Left Arm"
elseif assetType == 30 then return "Left Leg"
elseif assetType == 31 then return "Right Leg"
elseif assetType == 32 then return "Package"
elseif assetType == 33 then return "YouTube Video"
elseif assetType == 34 then return "Game Pass"
end

return ""
end

Sorcus, just use this please.

function assetTypeToString(assetType)
local assetTypes = {"Image","T-Shirt","Audio","Mesh","Lua","HTML","Text","Hat","Place","Model","Shirt","Pants","Decal","Avatar","Head","Face","Gear","Badge","Group Emblem","Animation","Arms","Legs","Torso","Right Arm","Left Arm","Left Leg","Right Leg","Package","YouTube Video","Game Pass"}
if assetTypes[assetType] then
return assetTypes[assetType]
else
return ""
end
end
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
07 Jul 2013 11:33 AM
@Clone: Which one's more readable?
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
07 Jul 2013 11:39 AM
@blocco:
assetTypes = {
[1] = "Imange",
[2] = "T-Shirt",
[3] = "Audio",
[4] = "Mesh"
[5] = "Lua",
[6] = "HTML",
[7] = "Text",
[8] = "Hat"
[9] = "Place",
[10] = "Model",
[11] = "Shirt",
[12] = "Pants",
[13] = "Decal",
[16] = "Avatar",
[17] = "Head",
[18] = "Face",
[19] = "Gear",
[21] = "Badge"
[22] = "Group Emblem",
[24] = "Animation",
[25] = "Arms",
[26] = "Legs",
[27] = "Torso"
[28] = "Right Arm",
[29] = "Left Arm",
[30] = "Left Leg",
[31] = "Right Leg",
[32] = "Package",
[33] = "YouTube Video",
[34] = "Game Pass"
}

function assetTypeToString(assetType)
return assetTypes[assetType] or ""
end
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image