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 » Game Test
Home Search
 

Re: Studio plug-ins testing

Previous Thread :: Next Thread 
Gemlocker is not online. Gemlocker
Joined: 25 Jun 2010
Total Posts: 42
04 Aug 2011 11:58 AM
Hey everyone,

So we're starting to test our ROBLOX Studio Plugins today!
(no Terrain Generator yet, it still needs more time - thanks everyone who tested it on Rally)

Studio will come packaged with one sample plugin - Time Of Day Slider, but you can create yours!

Slides from Rally explaining how to create one:
http://www.scribd.com/doc/61618748/Studio-Plug-Ins-Light

Studio Plug-ins talk on youtube (thanks DanGiordanengo!)
http://www.youtube.com/watch?v=IQg8ar24-Vc&feature=related

Technical details:
When you install gametest version, ROBLOX Studio will create a folder "plugins" one folder up from where Roblox installs, this is the place to put yours.
You can find it by looking where Roblox/RobloxApp shortcut is pointing to and going one folder app.

You can look at "BuiltinPlugins" folder to see how sample Time plugin works, just do the same thing in "plugins" folder.

Post any questions and your cool plugins here!
Report Abuse
321sith654 is not online. 321sith654
Joined: 20 Mar 2010
Total Posts: 398
04 Aug 2011 12:03 PM
wait so that means it wont be realsed on aguest 9?
Report Abuse
skyarex is not online. skyarex
Joined: 21 Mar 2010
Total Posts: 12989
04 Aug 2011 12:04 PM
I'm confused, what do these plugins actually DO?
Report Abuse
phoca is not online. phoca
Joined: 14 Nov 2009
Total Posts: 707
04 Aug 2011 12:05 PM
cool
Report Abuse
stenom is not online. stenom
Joined: 19 Feb 2009
Total Posts: 741
04 Aug 2011 12:10 PM
FIRST PAGE.

Ontopic:Cool.
Report Abuse
adamfontenot is not online. adamfontenot
Joined: 01 Oct 2015
Total Posts: 106
04 Aug 2011 12:10 PM
uh
Report Abuse
Anciteify is not online. Anciteify
Joined: 27 Jan 2011
Total Posts: 197
04 Aug 2011 12:12 PM
So glad I'm getting a new laptop this Friday :P
Report Abuse
yomomma128 is not online. yomomma128
Joined: 13 Nov 2008
Total Posts: 23503
04 Aug 2011 12:13 PM
I think it will be very advanced work, and will take some time to learn how to create plug-ins. But it's a great idea
Report Abuse
bladerdude is not online. bladerdude
Joined: 16 Dec 2008
Total Posts: 412
04 Aug 2011 12:15 PM
scrolls
Report Abuse
Batara2233 is not online. Batara2233
Joined: 25 Nov 2010
Total Posts: 26
04 Aug 2011 12:17 PM
Im beginning my First Few Plugins right now...

Anyone willing to make a "Prugin Group on the test server"
Report Abuse
RaspyVoice is not online. RaspyVoice
Joined: 31 May 2010
Total Posts: 3962
04 Aug 2011 12:18 PM
agm first page1111
Report Abuse
Divyesh is not online. Divyesh
Joined: 25 Mar 2010
Total Posts: 958
04 Aug 2011 12:21 PM
I have some questions...


1. I don't see the Time Switcher Plugin...
2. Where do you edit the code to add plugins
Report Abuse
321sith654 is not online. 321sith654
Joined: 20 Mar 2010
Total Posts: 398
04 Aug 2011 12:22 PM
you can can edit the time one using notepad
Report Abuse
321sith654 is not online. 321sith654
Joined: 20 Mar 2010
Total Posts: 398
04 Aug 2011 12:23 PM
typo again?
Report Abuse
321sith654 is not online. 321sith654
Joined: 20 Mar 2010
Total Posts: 398
04 Aug 2011 12:25 PM
when this is added to roblox (not the test one) you can create scripts like this


-----------------
--DEFAULT VALUES-
-----------------
loaded = false
on = false
t = 720




---------------
--PLUGIN SETUP-
---------------
self = PluginManager():CreatePlugin()
self.Deactivation:connect(function()
Off()
end)
toolbar = self:CreateToolbar("Time")
toolbarbutton = toolbar:CreateButton("", "Time of Day", "time.png")
toolbarbutton.Click:connect(function()
if on then
Off()
elseif loaded then
On()
end
end)




-----------------------
--FUNCTION DEFINITIONS-
-----------------------
--converts time in minutes into a string of the format "hours:minutes:seconds" (seconds are always 00)
function timestring(t)
hours = math.floor(t/60)
if hours >= 10 then
hours = tostring(hours)
else
hours = "0"..tostring(hours)
end
minutes = math.floor(t - hours * 60)
if minutes >= 10 then
minutes = tostring(minutes)
else
minutes = "0"..tostring(minutes)
end
ts = tostring(hours)..":"..tostring(minutes)..":00"
return ts
end

function On()
self:Activate()
toolbarbutton:SetActive(true)
frame.Visible = true
for w = 0, 0.8, 0.16 do
frame.Size = UDim2.new(w, 0, w/9, 0)
wait(0.0000001)
end
title.Text = "Time of Day: "..timestring(t)
on = true
end

function Off()
toolbarbutton:SetActive(false)
title.Text = ""
for w = 0.8, 0, -0.16 do
frame.Size = UDim2.new(w, 0, w/9, 0)
wait(0.0000001)
end
frame.Visible = false
on = false
end



------
--GUI-
------
--screengui
g = Instance.new("ScreenGui", game:GetService("CoreGui"))

--frame
frame = Instance.new("Frame", g)
frame.Position = UDim2.new(0.1, 0, 0.85, 0)
frame.Size = UDim2.new(0.8, 0, 0.1, 0)
frame.BackgroundTransparency = 0.7
frame.Visible = false

--title
title = Instance.new("TextLabel", frame)
title.Position = UDim2.new(0.4, 0, 0.25, 0)
title.Size = UDim2.new(0.2, 0, 0.05, 0)
title.Text = ""
title.BackgroundColor3 = Color3.new(0.4, 0.4, 0.4)
title.TextColor3 = Color3.new(1, 1, 1)
title.Font = Enum.Font.ArialBold
title.FontSize = Enum.FontSize.Size24
title.BorderColor3 = Color3.new(0, 0, 0)
title.BackgroundTransparency = 1

--slider
local RbxGui = LoadLibrary("RbxGui")
sliderGui, sliderPosition = RbxGui.CreateSlider(1440, frame.AbsoluteSize.x * 0.95, UDim2.new(0.025, 0, 0.7, 0))
sliderGui.Parent = frame
bar = sliderGui:FindFirstChild("Bar")
bar.Size = UDim2.new(0.95, 0, 0, 5)
sliderPosition.Value = t
sliderPosition.Changed:connect(function()
t = sliderPosition.Value
ts = timestring(t)
title.Text = "Time of Day: "..ts
title.Text = "Time of Day: "..ts
game:GetService("Lighting").TimeOfDay = ts
end)






--------------------------
--SUCCESSFUL LOAD MESSAGE-
--------------------------
loaded = true
print("Time of Day Plugin Loaded")
Report Abuse
Snej1 is not online. Snej1
Joined: 25 Jun 2008
Total Posts: 809
04 Aug 2011 12:27 PM
In the future you're not building anything yourself, you have plugins for everything lol
Report Abuse
1121123 is not online. 1121123
Joined: 10 Aug 2008
Total Posts: 288
04 Aug 2011 12:29 PM
ummm what if you dont know how to script? :/
Report Abuse
moviemakinglover is not online. moviemakinglover
Joined: 13 Jul 2011
Total Posts: 3
04 Aug 2011 12:33 PM
Pointless
Report Abuse
thisisyimhot688 is not online. thisisyimhot688
Joined: 26 Feb 2011
Total Posts: 2
04 Aug 2011 12:34 PM
to much to read
Report Abuse
Gemlocker is not online. Gemlocker
Joined: 25 Jun 2010
Total Posts: 42
04 Aug 2011 12:34 PM
1. I don't see the Time Switcher Plugin...

Try creating a new place by clicking New in Studio or opening existing .rbxl file. New toolbar should appear with Time icon.

It will work by clicking Edit on website too, but there's a bug right now - we're working on it.

2. Where do you edit the code to add plugins

First, try finding .lua files in Roblox install folder and look at them :)
Report Abuse
forgotoldacount is not online. forgotoldacount
Joined: 24 Sep 2009
Total Posts: 10460
04 Aug 2011 12:45 PM
Cool these will make roblox much easier
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
04 Aug 2011 12:46 PM
GemLocker, I just turned

function timestring(t)
hours = math.floor(t/60)
if hours >= 10 then
hours = tostring(hours)
else
hours = "0"..tostring(hours)
end
minutes = math.floor(t - hours * 60)
if minutes >= 10 then
minutes = tostring(minutes)
else
minutes = "0"..tostring(minutes)
end
ts = tostring(hours)..":"..tostring(minutes)..":00"
return ts
end

into

function timestring(t)
local tsTemp = "%0.2d:%0.2d:00"
return tsTemp:format(math.floor(t/60), math.floor(t%60))
end
Report Abuse
Cyrion is not online. Cyrion
Joined: 14 May 2011
Total Posts: 70
04 Aug 2011 12:50 PM
Hey guys, just to clarify, when you update to the newest version of gametest with plugins there will be two plugin directories, one for official Roblox plugins and another for you to put your own.

The official Roblox plugins are located in
C:\Program Files (x86)\Roblox\Versions\version-2be7595bf3c947ab\BuiltInPlugins
for most of you.


The folder to put your own plugins into is
C:\Users\YOURUSERNAME\AppData\Local\Roblox\plugins

Each plugin should be a folder that contains a .lua file and a .png icon (if you are using an icon)


Hope that helps!
Report Abuse
Divyesh is not online. Divyesh
Joined: 25 Mar 2010
Total Posts: 958
04 Aug 2011 12:51 PM
Whatever I do, I cant seem to see the new Time switcher...
Maybe a bug?

I made a couple of new places, in Studio and in the normal version, and no success
Report Abuse
Masterhow101 is not online. Masterhow101
Joined: 30 Apr 2009
Total Posts: 95
04 Aug 2011 12:52 PM
So can anyone help me make or give me a terrain genorater?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Test
   
 
   
  • 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