I tried to make my character be able to transform into a different shape while the animations still work
but couldn´t get it to work
So what way can I make my character change shape and be able to add armor for example and make it still be able to play the animations
please be specific didn´t get it last time I asked
And could someone please post a Save-n-Load-many-Properties script
I tried on learning python but I´m too short on time
So I´m planning on leaning python later
and I really need to have this script as soon as possible
I’ve never tried it, but I would make a copy of the armature and then parent a new body to it. For the transform you might make one visible and the other invisible. I’ve never tried that either. Just some ideas.
I’ll see if I can write a save script for multiple properties and objects. But what type of properties would you be saving?
Numbers, strings, or both? In order to do this, it would be easier if all the objects had the same property names, can you do that?
Well, I can somewhat explain to you what needs to be done, but you may have to learn some python to understand it.
To save:
import GameLogic
file = open("gameData","w")
scene = GameLogic.getCurrentScene()
obj = scene.getObjectList()["name of your object to save"]
file.write(str(obj.nameOfYourProperty))
when your done you use
file.close()
keep repeating the last 2 lines until you have saved all your properties
If the name of your object is Cube, then it’s name in GameData is “OBCube”
That should write a file called gamedata with all your properties. You do the same thing but read them in and assign them in the same order when you load.