shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 03 Jan 2015 01:59 PM |
http://www.roblox.com/item.aspx?id=200142757
Feel free to take and or reverse engineer or whatever. Someone who doesn't know much about scripting might learn something from it.
>S-1894~ |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 02:01 PM |
| thx bro,I read this script and now I've become a professional scripter.i don't know what you did mister but you deserve a promotion. |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 03 Jan 2015 02:03 PM |
@Joseph
Err... well... okay then... I was trying to be helpful, not attract trolls... |
|
|
| Report Abuse |
|
|
milos8286
|
  |
| Joined: 06 Dec 2008 |
| Total Posts: 1232 |
|
|
| 03 Jan 2015 02:07 PM |
| Thanks! As an aspiring scripter I haven't tried looking at others scripts as a way of learning how to do it. I'll try that. |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 03 Jan 2015 02:09 PM |
@Milos
I taught myself how to script by looking at other scripts and playing around with them, eventually I got enough of a handle on that to start writing my own. And now I am one of the more prominent scripters in the clan world. It takes time, so bear with it, and one day you will be an amazing scripter. |
|
|
| Report Abuse |
|
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
|
| 03 Jan 2015 02:11 PM |
| I put the script in Workspace and tried it out to no avail. Is there something wrong or am I supposed to change settings? |
|
|
| Report Abuse |
|
|
| |
|
milos8286
|
  |
| Joined: 06 Dec 2008 |
| Total Posts: 1232 |
|
|
| 03 Jan 2015 02:13 PM |
| :') Thanks for the motivating words.. By playing around do you mean like changing the scripts functions and changing some of the things it does? |
|
|
| Report Abuse |
|
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
|
| 03 Jan 2015 02:16 PM |
| I put it in Lighting and still, nothing. |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 03 Jan 2015 02:20 PM |
| Can you paste the source in the thread I can't get on studio right now and ai I wanna see |
|
|
| Report Abuse |
|
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
|
| 03 Jan 2015 02:21 PM |
--[[ shred1894's Rain System ]]--
--[[ Settings ]]--
RainDensity = 5 -- 1 to 5, higher numbers mean thicker rain RainWeight = 5 --1 to 5, affects fall rate and rain size
--[[ The script, edit at your own risk ]]--
function RainFall(RainPart) local dist = RainPart.Distance.Value --local FallUnit = (RainPart.Position+(Vector3.new(RainPart.Position.X,RainPart.Position.Y-400,RainPart.Position.Z))).Unit RainPart.CFrame = CFrame.new(RainPart.Position,RainPart.Position-Vector3.new(0,100,0)) while wait(.00001) do if dist > 100 or game.Workspace:FindPartOnRay(Ray.new(RainPart.Position-Vector3.new(0,dist - RainWeight*3,0),RainPart.Position-Vector3.new(0,dist + RainWeight*3,0))) ~= nil then RainPart:Destroy() break end RainPart.Mesh.Offset = Vector3.new(0,0,-dist) dist = dist + RainWeight*2 end end
function CreateRain() if game.Workspace.CurrentCamera:FindFirstChild("RainParts") == nil then rps = Instance.new("Model") rps.Parent = game.Workspace.CurrentCamera rps.Name = "RainParts" end while wait(1/100) do for i=1,RainDensity do rp = Instance.new("Part") rp.FormFactor = "Custom" rp.Anchored = true rp.Transparency = .25 rp.BrickColor = BrickColor.new("Bright blue") rp.Size = Vector3.new(.2,.2,RainWeight) rp.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-(75),(75)),100,math.random(-(75),(75)))) rp.Parent = game.Workspace.CurrentCamera.RainParts msh = Instance.new("BlockMesh") msh.Parent = rp dstval = Instance.new("IntValue") dstval.Name = "Distance" dstval.Parent = rp v = coroutine.wrap(RainFall) v(rp) end end end
cam = game.Workspace.CurrentCamera if cam:FindFirstChild("RainParts")~= nil then cam.RainParts:Destroy() end
CreateRain() |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 03 Jan 2015 02:21 PM |
| It goes into StarterGui, if you read the description of the model... |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 02:21 PM |
is it local?
logic is logical |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
| |
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
| |
|
| |
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
|
| 03 Jan 2015 02:24 PM |
| Very cool. All you need to do now is make a cloud above you that follows you around that the rain comes out of. |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 03 Jan 2015 02:24 PM |
| Wow, gj shred. I've wanted to make a particle plugin for a while. I wanted to use billboard GUIs thought. |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 03 Jan 2015 02:25 PM |
| I could make a raincloud that follows just for the sake of humor, but ehh. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 02:25 PM |
okay nevermind, that's extremely inefficient
logic is logical |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 03 Jan 2015 02:26 PM |
@DevUndead
The problem with billboard guis is that fog ignores them. It is great if you have the place 100% clear of fog, but the moment you add fog, it gets wonky. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 02:27 PM |
you should also be using camera position, not torso position
logic is logical |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 03 Jan 2015 02:27 PM |
| Make a random vert generator and have it triangulate the verbs to make clouds |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 03 Jan 2015 02:28 PM |
Devious, I know it is, I just didn't take the time to make it super efficient or anything, I was just wanting to churn out a medium quality script that works but isn't the cleanest.
I save my top shelf stuff for myself. |
|
|
| Report Abuse |
|
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
|
| 03 Jan 2015 02:51 PM |
@shred
Remember my cloud idea? Oh yeah, I did it:
http://www.roblox.com/shred1894s-Rain-System-w-cloud-system-item?id=200169366 |
|
|
| Report Abuse |
|
|