Ok so if you want a mod that has steve in it you have to over write the texture of a mob. Also if you want the sound to be "OOH!" You would have to over write it to. Heres the basic code of spawning steve.
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==280)
{
var P = Entity.spawnMob(x,y+1,z,11,"mob/char.png");
Entity.setRenderType(P,3);
}
}
Spawns a steve.
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! ---------------->
Ok so if you want a mod that has steve in it you have to over write the texture of a mob. Also if you want the sound to be "OOH!" You would have to over write it to. Heres the basic code of spawning steve.
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==280)
{
var P = Entity.spawnMob(x,y+1,z,11,"mob/char.png");
Entity.setRenderType(P,3);
}
}
Spawns a steve.
Has to have every space between letters actually? And will he be a random spawn and not just be a animal of some sort and you hear animal sounds from him?
Ok so if you want a mod that has steve in it you have to over write the texture of a mob. Also if you want the sound to be "OOH!" You would have to over write it to. Heres the basic code of spawning steve.
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==280)
{
var P = Entity.spawnMob(x,y+1,z,11,"mob/char.png");
Entity.setRenderType(P,3);
}
}
Spawns a steve.
Ok, but how do I download that into a mod format? (js)
I want him to look like a steve in multiplayer, too.
Rollback Post to RevisionRollBack
Here is my Advent of Ascension textures I'm working on:
Has to have every space between letters actually? And will he be a random spawn and not just be a animal of some sort and you hear animal sounds from him?
It doesnt spawn randomly.
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! ---------------->
Paste the code in to a text editor and save the file as anynamehere.js
Use Math.random.
Here is an example code:
var stevePly;
var spawnedmob = 0;
function spawnRandom(ent, skin, quant)
{
for(spawnedmobs = 0; spawnedmobs <= quant; spawnedmobs++)
{
var rX = Math.floor(Math.random()*256);
var rY = 0;
var rZ = Math.floor(Math.random()*256);
for (i = rY; rY < 256 && getTile (rX, rY, rZ) != 0; i++)
{
rY++;
}
if (rY <= 256)
{
stevePly = Level.spawnMob(rX, rY, rZ, ent, skin);
}
else
{
spawnedmob --; //Spawning not successfully, so spawn again
}
}
}
var time;
function newLevel ()
{
time = 0;
}
function modTick ()
{
if (time < 10)
{
time += 0.05;
if (time >= 10)
{
spawnRandom(3, "steve.png", 1);
}
}
}
You will need to have a skin named steve in your mobs folder.
I haven't tested it with a player render type but it should work.
It will spawn a Steve in your world, randomly. You can change the number of them to spawn, you can put 12, 99, 1000...
It's not possible to copy spaces on mine, so i'm going to need a web adress download..
Rollback Post to RevisionRollBack
Here is my Advent of Ascension textures I'm working on:
This is just an example I put together, there is no download, learn from it
I have no idea what's going on in this!! I know there will be no villagers in minecraft pocket edition, and I thiught I would have a chance, but I was WRONG! I GIVE UP AND I QUIT!!
Rollback Post to RevisionRollBack
Here is my Advent of Ascension textures I'm working on:
Don't quit! Never give up
You have to learn more! You can't learn how to make code in few weeks. It is something you practice your whole life. Go and learn more! I used Math.random in that code I posted before you can learn about Math.random here and that site will teach you much more!
Don't give up! Never give up!
You're TRYING to make me angry, and you're TRYING to make me feel stupid!!
I'm not even old enough to understand the basics of this crap, and I never will! I dont HAVE THE TIME FOR YOUR GAMES!! ALL I WANTED IS A SIMPLE SCRIPT LINK!! why the hell does life have to be so difficult for me?!I don't want to learn about math. Random. All I want is to impress my little sister by showing her that I can add steves to my game in multiplayer
Rollback Post to RevisionRollBack
Here is my Advent of Ascension textures I'm working on:
Ok listen MineDefine wanted you to learn from that code... If you want a link why dont you ask? O_o Ok heres the link: https://www.dropbox.com/s/ap0b0janu6msach/Steve.js
Maybe its not perfectly what you want but hey steve
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! ---------------->
To post a comment, please login or register a new account.
I need him to look like steve, and not be a re-model of ANY mob.
I don't want him to say anything, only walk around, maybe even opening doors.
I don't want him to have any hurt sound (except "OOH!")
Steve modelmod!!
Here is my Advent of Ascension textures I'm working on:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2620544-advent-of-ascension-new-textures
I play Pixel Worlds! (Quit for a while)
Deleted old cringy signature.
Subscribe to my channel: Neoslayer PW
function useItem(x,y,z,itemId,blockId,side) { if(itemId==280) { var P = Entity.spawnMob(x,y+1,z,11,"mob/char.png"); Entity.setRenderType(P,3); } }Spawns a steve.
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! ---------------->
Has to have every space between letters actually? And will he be a random spawn and not just be a animal of some sort and you hear animal sounds from him?
Ok, but how do I download that into a mod format? (js)
I want him to look like a steve in multiplayer, too.
Here is my Advent of Ascension textures I'm working on:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2620544-advent-of-ascension-new-textures
I play Pixel Worlds! (Quit for a while)
Deleted old cringy signature.
Subscribe to my channel: Neoslayer PW
It doesnt spawn randomly.
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! ---------------->
It's not possible to copy spaces on mine, so i'm going to need a web adress download..
Here is my Advent of Ascension textures I'm working on:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2620544-advent-of-ascension-new-textures
I play Pixel Worlds! (Quit for a while)
Deleted old cringy signature.
Subscribe to my channel: Neoslayer PW
I have no idea what's going on in this!! I know there will be no villagers in minecraft pocket edition, and I thiught I would have a chance, but I was WRONG! I GIVE UP AND I QUIT!!
Here is my Advent of Ascension textures I'm working on:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2620544-advent-of-ascension-new-textures
I play Pixel Worlds! (Quit for a while)
Deleted old cringy signature.
Subscribe to my channel: Neoslayer PW
You're TRYING to make me angry, and you're TRYING to make me feel stupid!!
I'm not even old enough to understand the basics of this crap, and I never will! I dont HAVE THE TIME FOR YOUR GAMES!! ALL I WANTED IS A SIMPLE SCRIPT LINK!! why the hell does life have to be so difficult for me?!I don't want to learn about math. Random. All I want is to impress my little sister by showing her that I can add steves to my game in multiplayer
Here is my Advent of Ascension textures I'm working on:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2620544-advent-of-ascension-new-textures
I play Pixel Worlds! (Quit for a while)
Deleted old cringy signature.
Subscribe to my channel: Neoslayer PW
Here is my Advent of Ascension textures I'm working on:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2620544-advent-of-ascension-new-textures
I play Pixel Worlds! (Quit for a while)
Deleted old cringy signature.
Subscribe to my channel: Neoslayer PW
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246
. Link?
Here is my Advent of Ascension textures I'm working on:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2620544-advent-of-ascension-new-textures
I play Pixel Worlds! (Quit for a while)
Deleted old cringy signature.
Subscribe to my channel: Neoslayer PW
Here is my Advent of Ascension textures I'm working on:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2620544-advent-of-ascension-new-textures
I play Pixel Worlds! (Quit for a while)
Deleted old cringy signature.
Subscribe to my channel: Neoslayer PW
Maybe its not perfectly what you want but hey steve
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! ---------------->