hi there! for a while I have been conseptualizing the idea of making this type of game, but since I have limited coding knowledge, it has been a challange. I want to make a game where you can morph into an orca by clicking a button (only presented to certain rolls), and have a list of animations the orca can do. I use blender for my models, and I can import my animations I have made through a rigging extension on Roblox, but I am unsure how to even go about making this concept. I want something sort of similar to the game "Oceanic" in the means of you can press certain things to do animations and morph by clicking a button. Any help would be greatly appreciated. This has been a passion of mine for almost 5 years now, and I really want to do this :) Any tutorials or advice, calls or anything would help. I am even willing to pay for some coding or morphing advice, I just want to see this dream come true. I love building and developing, but I become limitted by my coding knowledge. I have a coding book, but it can only get me so far. Thank you!
#Morph Help!!
1 messages · Page 1 of 1 (latest)
hello
classic morphs on roblox work by cloning the model and welding it onto a player's character, and making the rest of the character invisible. This will give you the freedom to move around like you normally would while having your morph there and animatable. More advanced "morphs" work by replacing the character model entirely. You can do this by manually setting the .Character property of the player to a new model as well as setting network ownership to the model.
lmk if u have further questions
ping
hm yes, I have worked with morphs a lot and can transform people into morphs! i just am not sure how to have a button pressed and have a player morphed into a spesific kind of morph (activating a idle animation), and how to set up buttons that trigger certain animations if that makes senes
button like on the players screen
You can do morphs but you don't know how to fire the server to execute the morph code? I'm confused.
i have basic understanding turning players into morphs, like if they were to step on a plate, but I am limited with coding knowledge. I can make morphs and animations and import them into roblox, but I do not know where to go from there! as i said, am willing to call or pay for help I just can not connect the ties and I ahve tried to watch videos and tutorials i just get confused.
if there is a video tutorial you could help point me in the direction of or forum, or anything like that, it would be of great help!
** You are now Level 1! **
-- server code
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local morphMe = Instance.new("RemoteEvent")
morphMe.Name = "MorphMe"
morphMe.Parent = ReplicatedStorage
local function applyMorph(character)
-- do morphing
end
morphMe.OnServerEvent:Connect(function(player)
applyMorph(player.Character)
end)
-- client code for a ui
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local morphMeRE = ReplicatedStorage:WaitForChild("MorphMe")
local button = script.Parent.TextButton
button.Activated:Connect(function()
morphMeRE:FireServer()
end)
thank you very much! would this also apply to an animation cycle or would I need to further look into that?
you can just run animations if the network owner of the character is the player
same as here
oh i see, okay thank you very much is this very helpful
I have one more question if that is okay?
ye
is there a way I would be able to make it so that only certain player roles can have access to these buttons?
hmmm... yes but I would add a check on the server side of things anyways
what do you mean?
it depends how the player roles are determined
for example if it was the player team you could do something like
if player.Team ~= Teams.AdminTeam then button:Destroy() end
or
button.Visible = false
but you'd also want to do on the server
if player.Team ~= Teams.AdminTeam then return end
ohh