If anyone else that also thought of nyan cat when you first heard the name nyanAI reads this feel free to click the little green arrow at the bottom of this post
If anyone else that also thought of nyan cat when you first heard the name nyanAI reads this feel free to click the little green arrow at the bottom of this post
That's actually what I was aiming for... look at the intro.
I'm going to try to release a big update either tomorrow or the day after. It will include some (hopefully a lot) of the ideas you guys have posted. And, I figured out how to add AI to mobs who previously didn't use the newer AI code, so that unlocks a lot of possibilities.
This is going to turn out to be a triple-post once I announce the update has been released, but whatever.
Anyways, I was looking at my MediaFire shenanigans, and I saw that the latest version of the mod (1.3pre-nyanAI, which is actually compatible with 1.3.1) got 100 downloads in 5 days! Wow, guys, I was not expecting that!
Yurp, triple-post. Anyways, I was playing around with Source Filmmaker and randomly got addicted to Team Fortress 2, so yuppers. I couldn't release it on the 15th. BUUUUUUUUT... it WILL (I swear by cats) be released either today or tomorrow, as I've already made all the changes. I also added a file with all the new features of the mod, and how I made each feature. I don't think I'm quite ready to release the source code yet, I want to keep it a secret for a little longer...
How about making cats able to climb trees or other things in order to get away from dogs? the dogs should still be faster on an open plain, like in real life, but cats climb to escape danger.
How about making cats able to climb trees or other things in order to get away from dogs? the dogs should still be faster on an open plain, like in real life, but cats climb to escape danger.
Nice idea. The problem is, if I were to implement this, I would have to make it so that cats climb any block no matter what.
Version 1.3 is officially out! Or, as I like to call it, the "Village Update." This version includes a list of all the features (an UPDATED list, at that), and some more other stuffs.
So, taken straight from 'NyanAIFeatures.class':
"//Skeletons can, and will, break down doors.
//Zombies, and Skeletons kill Iron Golems and Villagers.
//Villagers are afraid of wolves, and run away from them.
//Ocelots (should, doesn't seem to be working) try to move indoors.
//Ocelots chase and "play" with Creepers.
//Villagers run from Creepers in order to not get murdered brutally."
So, there we go. Need to update the changelog.
Also, people, please post on the thread, or it will die. No one wants this thread to die, do they?
Ah, i have a error when try to loading it, only with modloader.
It's a clean installation with 1.3.2, and meta-inf deleted.
*** MagicMinecraftLauncher 0.9.9 ***
Disable inactive mods
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at magic.launcher.Launcher.main(Unknown Source)
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at rh.<clinit>(SourceFile:241)
at aig.<clinit>(SourceFile:287)
at axk.<init>(SourceFile:14)
at net.minecraft.client.Minecraft.<init>(SourceFile:128)
at anw.<init>(SourceFile:36)
at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
at net.minecraft.client.Minecraft.main(SourceFile:1577)
... 5 more
Looks like a problem with Magic Launcher's mod installer, not the mod. See:
IncompatibleClassChangeError: Implementing class
IncompatibleClassChangeError, meaning something went wrong when the launcher tried to overwrite one of the base class files, Implementing class is pretty straightforward.
Well I love the idea but still cant check how it works. Magic launcher says "not compatible" no matter what would I do, if I run it anyway Im getting the same error as person above:
*** MagicMinecraftLauncher 0.9.9 ***
Disable inactive mods
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at magic.launcher.Launcher.main(Unknown Source)
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at rh.<clinit>(SourceFile:241)
at aig.<clinit>(Block.java:1159)
at axk.<init>(SourceFile:14)
at net.minecraft.client.Minecraft.<init>(SourceFile:128)
at anw.<init>(SourceFile:36)
at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
at net.minecraft.client.Minecraft.main(SourceFile:1577)
... 5 more
This was just explained, it's a problem with Magic Launcher.
A idea: all mobs have a hungry variable(max 20), and they will not try to eat anything, just if they have a hunger of 17 or less(zombies will ALWAYS atack the player and other mobs, even they have more than 17 of hungry) and they start to taking hit when they have 0 of hungry, they can restore her hungry by:
-Zombies: hit player and passive mobs (1 [1/2 "meats"] when hit, 6 [3 "meats"] when kill, and his hungry will decrease faster than the other mobs...)
-magma cubes: restore her hungry when touching lava (1/2 "meats" every five seconds)
-slimes: attacking the player ([slimesize-256]*[-1])-250
-creeper: dont have hungry yet
-spiders(and cave spiders): hit the player and villagers (1.5 "meats" [3])
-enderman: dont have hungry
-enderdragon: dont have hungry
-iron golen: dont have hungry
-snow golen: dont have hungry
if mobs have more than 17 hungry, his lives will start restoring...
other ideas:
-ALL hostile mobs will try to kill villagers too...
-endermans can pick up iron, gold, lapis lazuli, emerald and diamond blocks
-snow golens will start getting hit, when they arnt in a snowy biome ( instant death in desert and desert hills)
-zombies and skeles will try to find a covered place, to protect hiselfs from the sunlight, BEFORE the sunlight come, and will not exit this place, even the player comes(they will try to hit the player, but without exit the sunlight safe place)
Looks like you have a lot of things to do >_<
Sorry for my bad english, i'm brazilian, if you dont understand something, just ask =D
I have an idea! If a creepers AI can not find a way to reach the player, it will blow up whatever is blocking it from getting to you. For example it would blow up your house even if it was out of range.
Version 1.2.1 is out! Or at least it will be once I upload it and update the link...
But anyways, in the new update, I figured out I couldn't do a lot of the stuff I said I could... so here's what I DID do:
- Sheep run away from wolves.
- Snow Golems attack Villagers and Iron Golems.
- Iron Golems get pissed at Snow Golems and hunt them down and sacrifice them to Squidward.
Cats.
MIND=BLOWN
It isn't possible! This is madness, just crazy! YOU SIR, HAVE DONE THE IMPOSSIBLE.
i havent played minecraft in like 4 years lol
simple mod?
great one
I actually looked into that... wanna see the code?
Now you know why I couldn't do it...
Thanks, I'm happy you like it.
That's actually what I was aiming for... look at the intro.
Nice ideas. I'll see how much of it I can incorporate into the mod.
Thank you. I'm glad you like it, too.
Java.
Cats.
villagers don't have brains
Yes they do. That's why zombies go after them.
Anyways, the huge update will probably be released on the 15th, because that's the one-month mark of my mod's existence.
Cats.
Anyways, I was looking at my MediaFire shenanigans, and I saw that the latest version of the mod (1.3pre-nyanAI, which is actually compatible with 1.3.1) got 100 downloads in 5 days! Wow, guys, I was not expecting that!
Cats.
EDIT: Oh yeah, updated to 1.3.2!
Cats.
Nice idea. The problem is, if I were to implement this, I would have to make it so that cats climb any block no matter what.
Cats.
So, taken straight from 'NyanAIFeatures.class':
"//Skeletons can, and will, break down doors.
//Zombies, and Skeletons kill Iron Golems and Villagers.
//Villagers are afraid of wolves, and run away from them.
//Ocelots (should, doesn't seem to be working) try to move indoors.
//Ocelots chase and "play" with Creepers.
//Villagers run from Creepers in order to not get murdered brutally."
So, there we go. Need to update the changelog.
Also, people, please post on the thread, or it will die. No one wants this thread to die, do they?
Cats.
Looks like a problem with Magic Launcher's mod installer, not the mod. See:
IncompatibleClassChangeError, meaning something went wrong when the launcher tried to overwrite one of the base class files, Implementing class is pretty straightforward.
This was just explained, it's a problem with Magic Launcher.
Cats.
The OP fails hard.
Mod looks pretty awesome, you should update it.
Bananas.
Why does my OP fail? And I'm not going to update it; I'm working on a different mod.
EDIT: Oh, the code broke again. I hate it when it does that.
Cats.
-Zombies: hit player and passive mobs (1 [1/2 "meats"] when hit, 6 [3 "meats"] when kill, and his hungry will decrease faster than the other mobs...)
-skeles(and wither skeles): dont have hungry
-cow, sheep, chickens, pigs: eat grass (1 "meat" [2])
-mooshroom: eat mushrooms (1 "meat" [2])
-villager: dont have hungry yet
-silverfish: dont have hugry yet
-bats: dont have hungry tet
-ghast: dont have hungry
-blazes: dont have hungry
-magma cubes: restore her hungry when touching lava (1/2 "meats" every five seconds)
-slimes: attacking the player ([slimesize-256]*[-1])-250
-creeper: dont have hungry yet
-spiders(and cave spiders): hit the player and villagers (1.5 "meats" [3])
-enderman: dont have hungry
-enderdragon: dont have hungry
-iron golen: dont have hungry
-snow golen: dont have hungry
if mobs have more than 17 hungry, his lives will start restoring...
other ideas:
-ALL hostile mobs will try to kill villagers too...
-endermans can pick up iron, gold, lapis lazuli, emerald and diamond blocks
-snow golens will start getting hit, when they arnt in a snowy biome ( instant death in desert and desert hills)
-zombies and skeles will try to find a covered place, to protect hiselfs from the sunlight, BEFORE the sunlight come, and will not exit this place, even the player comes(they will try to hit the player, but without exit the sunlight safe place)
Looks like you have a lot of things to do >_<
Sorry for my bad english, i'm brazilian, if you dont understand something, just ask =D
1 "meat" =
Cats.