Blockland Forums > Modification Help
Player standard armor base code? How do I disable a datablock from loading?
soba:
Hi, I was wondering if anyone could figure out all the datablocks that are inside the PlayerStandard code and post them here, no I do not want the PlayerStandardArmor, I've already got that one down, I need the part that lists all the animations and the directories, and the debris, and whatever else is required, I'm on the verge of adding custom animations to the main playertype here
EDIT: found the code with all the animations, is there anything else?
Superb:
Can't you just do playerStandarArmor.dump();
Port:
--- Quote from: Superb on December 13, 2011, 08:50:27 AM ---Can't you just do playerStandarArmor.dump();
--- End quote ---
That would be all the methods and fields on playerStandardArmor*. He's looking for "all the animations, and the directories, and the debris, and whatever else is required".
Anyhow, the .dts, it's textures and it's animations are in base/data/shapes/player. The animation constructor is named mDts.
soba:
Okay, I got it ingame, animations and all, but avatar code isn't handled automaticly it seems....
can anyone walk me through this?
Port:
You might find this relevant to what you are doing (custom animations).