ID:155926
Feb 3 2011, 1:46 pm
|
|
How do I make it so that there are stronger enemies than your average monster? Like for example, lets say we have two average zombies but then you have a really strong spider, how would you accomplish this?
|
Feb 3 2011, 2:01 pm
|
|
Increase the spider's strength.
|
In response to Kaiochao
|
|
That is what I'm asking on how to do it, if you are not going to tell me how then don't bother posting. Please remember I am a beginner when it comes to this. I have been doing programming off and on.
|
In response to Bigmnm
|
|
If you've already made your average zombies, give them a "strength" variable with an average value, and calculate damage done to the player based on it. For spiders, have the "strength" variable above average.
|
In response to Kaiochao
|
|
He wants the code to c&p he made several post where he can easily search for a demo that can easily tell him but he just keeps posting asking for codes.
|
It's simple...
With var(variables). Simply make some kind of variable about health or strength and make some sort of equation to use it with. |
In response to The Eggmen
|
|
The Eggmen wrote:
It's simple... Go to the str var, under the spidert you made, and increase the Strength variable you have, like if it was "5" change it to "15" |
In response to MademanOne
|
|
I have and sometimes I don't find what I need.
|
In response to Bigmnm
|
|
Bigmnm wrote:
That is what I'm asking on how to do it, if you are not going to tell me how then don't bother posting. Please remember I am a beginner when it comes to this. I have been doing programming off and on.I remember when I used to be this gullable. =] |
mob This is a very basic example. xD But simple when you define you mobs, set the vars so one is stronger. |
In response to Bigmnm
|
|
I understand that you need an example because I've been there before.
Here it is: mob |
In response to Bigmnm
|
|
Bigmnm wrote:
I have and sometimes I don't find what I need. Maybe your not specific enough |