added setTextureSize and setRotationPoint to model objects to ease porting of Desktop Edition models
I have tampered with both and can't get either to work. A small example of changed texture size and moved rotation points would be greatly appreciated please.
In the latest release of bl pro, when navigating to the internal storage location folder, the scripts are not sorted in any order e.g. alphabetically. The folders the next level up are not sorted either. However when you navigate to select a skin, the folder is sorted alphabetically. Can it be fixed please. Thanks.
added setTextureSize and setRotationPoint to model objects to ease porting of Desktop Edition models
Hi 500ISE, I edited your enderman script to make the same model as a player but twice the size. See below. Problem is the texture is too small not twice the size to match the model. Can setTextureSize be used to double the texture size so that it matches? Also it looks like it's using the old rotation points. How to use setRotationPoint to fix this please?
function addEndermanToRenderer(renderer)
{
var var2 = 0;
var model = renderer.getModel();
var bipedHead = model.getPart("head").clear().setTextureOffset(0, 0);
bipedHead.addBox(-8.0, -40.0, -8.0, 16, 16, 16, var2);
var bipedBody = model.getPart("body").clear().setTextureOffset(32, 16);
bipedBody.addBox(-8.0, -24.0, -4.0, 16, 24, 8, var2);
var bipedRightArm = model.getPart("rightArm").clear().setTextureOffset(56, 0);
bipedRightArm.addBox(-11.0, -26.0, -4.0, 8, 24, 8, var2);
var bipedLeftArm = model.getPart("leftArm").clear().setTextureOffset(56, 0);
bipedLeftArm.addBox(3.0, -26.0, -4.0, 8, 24, 8, var2);
var bipedRightLeg = model.getPart("rightLeg").clear().setTextureOffset(56, 0);
bipedRightLeg.addBox(-6.0, -12.0, -4.0, 8, 24, 8, var2);
var bipedLeftLeg = model.getPart("leftLeg").clear().setTextureOffset(56, 0);
bipedLeftLeg.addBox(-2.0, -12.0, -4.0, 8, 24, 8, var2);
}
var endermanRenderer = Renderer.createHumanoidRenderer();
addEndermanToRenderer(endermanRenderer);
function procCmd(cmd)
{
var cow = spawnCow(getPlayerX(), getPlayerY(), getPlayerZ(), "mob/char.png");
clientMessage(endermanRenderer.renderType);
Entity.setRenderType(cow, endermanRenderer.renderType);
}
Tell me how to tweak the interface to make it more intuitive.
It's good I was just used to the old screen is all. Maybe can you make it so it doesn't go all the way back to the mc title screen when you select a texture pack or skin but goes back to the bl options screen instead.
I was looking a few pages back when someone asked about the no animation textures. I've turned off 'fancy graphics' and 'animated water' in the game's setting, but water and lava will still randomly appear over some of my crop's blocks. I'm running on ios7/0.8.1 and jailbroken. I know android has the mod: 'no animated textures: disables the animated textures on water, lava, and fire. A fix for HD texture problems.' I was wondering if you had a mod similar to this? Appreciate any help.
I only know of no rotate texture.mod which is for 0.8.1. But it's for Android, not sure if there's a no animated textures for iOS sorry.
few changes
1) Removed god_mod, similar mods out.
2) Removed MP5_ammo+. Use Thecactigod's elemental arrows mod.
3) Removed too_many_items. It was pre custom GUI. Use MrARM's tmi.
4) I will update all mods to use custom GUI in the near future.
0
Deleted...
0
Deleted...
0
0
0
http://imgur.com/xFQKxYo
0
0
function addEndermanToRenderer(renderer)
{
var var2 = 0;
var model = renderer.getModel();
var bipedHead = model.getPart("head").clear().setTextureOffset(0, 0);
bipedHead.addBox(-8.0, -40.0, -8.0, 16, 16, 16, var2);
var bipedBody = model.getPart("body").clear().setTextureOffset(32, 16);
bipedBody.addBox(-8.0, -24.0, -4.0, 16, 24, 8, var2);
var bipedRightArm = model.getPart("rightArm").clear().setTextureOffset(56, 0);
bipedRightArm.addBox(-11.0, -26.0, -4.0, 8, 24, 8, var2);
var bipedLeftArm = model.getPart("leftArm").clear().setTextureOffset(56, 0);
bipedLeftArm.addBox(3.0, -26.0, -4.0, 8, 24, 8, var2);
var bipedRightLeg = model.getPart("rightLeg").clear().setTextureOffset(56, 0);
bipedRightLeg.addBox(-6.0, -12.0, -4.0, 8, 24, 8, var2);
var bipedLeftLeg = model.getPart("leftLeg").clear().setTextureOffset(56, 0);
bipedLeftLeg.addBox(-2.0, -12.0, -4.0, 8, 24, 8, var2);
}
var endermanRenderer = Renderer.createHumanoidRenderer();
addEndermanToRenderer(endermanRenderer);
function procCmd(cmd)
{
var cow = spawnCow(getPlayerX(), getPlayerY(), getPlayerZ(), "mob/char.png");
clientMessage(endermanRenderer.renderType);
Entity.setRenderType(cow, endermanRenderer.renderType);
}
0
It's good I was just used to the old screen is all. Maybe can you make it so it doesn't go all the way back to the mc title screen when you select a texture pack or skin but goes back to the bl options screen instead.
0
0
1
http://imgur.com/trPK6js
http://imgur.com/qWVgV3t
I have all resolutions if you want them...
0
0
few changes
1) Removed god_mod, similar mods out.
2) Removed MP5_ammo+. Use Thecactigod's elemental arrows mod.
3) Removed too_many_items. It was pre custom GUI. Use MrARM's tmi.
4) I will update all mods to use custom GUI in the near future.
0
0
setOtherScriptState("script_name", true/false); //sets another script active/disabled