I think this is a .mod format? Idk. Maybe its possible. But it wont be "Waving"
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
This looks like C code, so I dunno what this is supposed to be.
I think he wants a script that makes grass wave.
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Could we make a block change damages each 20 ticks to change the textures of a custom block? It would be SUPER laggy but it might be possible. I dont know though
is posible add the waving grass to mcpe with some .js like this one?
#ifdef WAVING_GRASS
if (mc_Entity.x == 31.0) {
float speed = 0.9;
float magnitude = sin((tick * pi / (28.0)) + position.x + position.z) * 0.1 + 0.1;
magnitude *= grassWeight * 0.5f;
float d0 = sin(tick * pi / (122.0 * speed)) * 3.0 - 1.5 + position.z;
float d1 = sin(tick * pi / (152.0 * speed)) * 3.0 - 1.5 + position.x;
float d2 = sin(tick * pi / (122.0 * speed)) * 3.0 - 1.5 + position.x;
float d3 = sin(tick * pi / (152.0 * speed)) * 3.0 - 1.5 + position.z;
position.x += sin((tick * pi / (28.0 * speed)) + (position.x + d0) * 0.1 + (position.z + d1) * 0.1) * magnitude * (1.0f + rainStrength * 1.4f);
position.z += sin((tick * pi / (28.0 * speed)) + (position.z + d2) * 0.1 + (position.x + d3) * 0.1) * magnitude * (1.0f + rainStrength * 1.4f);
}
if (mc_Entity.x == 31.0) {
float speed = 0.09;
float magnitude = (sin(((position.y + position.x)/2.0 + tick * pi / ((28.0)))) * 0.05 + 0.15) * 0.4;
magnitude *= grassWeight * 0.5f;
float d0 = sin(tick * pi / (112.0 * speed)) * 3.0 - 1.5;
float d1 = sin(tick * pi / (142.0 * speed)) * 3.0 - 1.5;
float d2 = sin(tick * pi / (112.0 * speed)) * 3.0 - 1.5;
float d3 = sin(tick * pi / (142.0 * speed)) * 3.0 - 1.5;
position.x += sin((tick * pi / (18.0 * speed)) + (-position.x + d0)*1.6 + (position.z + d1)*1.6) * magnitude * (1.0f + rainStrength * 1.7f);
position.z += sin((tick * pi / (18.0 * speed)) + (position.z + d2)*1.6 + (-position.x + d3)*1.6) * magnitude * (1.0f + rainStrength * 1.7f);
position.y += sin((tick * pi / (11.0 * speed)) + (position.z + d2) + (position.x + d3)) * (magnitude/3.0) * (1.0f + rainStrength * 1.7f);
}
#endifi speak spanish sorry :$
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThis looks like C code, so I dunno what this is supposed to be.
Oh
I think he wants a script that makes grass wave.
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
is posible to do a animated texture in mcpe?
Thanks, should I make this? But how would I get the coords to set the tile?
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
Use for loops for the co-ordinates and do getTile/setTile within the loops.
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Genius. Why dont I think of these things? Must be my coffee..
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Thats the fun part though, laziness of a modder
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions