ID:180459
 
LOL, my title is so funny, anyways, how would i make it RANDOMIZED for somebody to turn into a super form. Or, maybe have some kind of anger system. Like when u start off, you can pick 3 friends or 1, that are MOBS!!!!!!!! And when they die, you turn super, or your anger meter goes up, and once the anger meter is full, u turn into the Super Form!!!!! Is that at all possible? Yeah, I know, its like everyday i have a stupid question for ya LOL!
If I tell you that the answer to "is it possible" is yes, and the answer to "how do I do it?" is "Any way you want to," would it help?

On 6/8/01 9:01 am Sariat wrote:
LOL, my title is so funny, anyways, how would i make it RANDOMIZED for somebody to turn into a super form. Or, maybe have some kind of anger system. Like when u start off, you can pick 3 friends or 1, that are MOBS!!!!!!!! And when they die, you turn super, or your anger meter goes up, and once the anger meter is full, u turn into the Super Form!!!!! Is that at all possible? Yeah, I know, its like everyday i have a stupid question for ya LOL!
In response to LexyBitch
On 6/8/01 9:10 am LexyBitch wrote:
If I tell you that the answer to "is it possible" is yes, and the answer to "how do I do it?" is "Any way you want to," would it help?
no, not really
On 6/8/01 9:01 am Sariat wrote:
LOL, my title is so funny, anyways, how would i make it RANDOMIZED for somebody to turn into a super form. Or, maybe have some kind of anger system. Like when u start off, you can pick 3 friends or 1, that are MOBS!!!!!!!! And when they die, you turn super, or your anger meter goes up, and once the anger meter is full, u turn into the Super Form!!!!! Is that at all possible? Yeah, I know, its like everyday i have a stupid question for ya LOL!
In response to Sariat
Then how 'bout this...

proc/die()
if (prob(50))
super_form()

I'll leave it up to you to write your super_form proc, and finish up the die proc. Hey, you gotta write some of it yourself!

On 6/8/01 9:14 am Sariat wrote:
On 6/8/01 9:10 am LexyBitch wrote:
If I tell you that the answer to "is it possible" is yes, and the answer to "how do I do it?" is "Any way you want to," would it help?
no, not really
On 6/8/01 9:01 am Sariat wrote:
LOL, my title is so funny, anyways, how would i make it RANDOMIZED for somebody to turn into a super form. Or, maybe have some kind of anger system. Like when u start off, you can pick 3 friends or 1, that are MOBS!!!!!!!! And when they die, you turn super, or your anger meter goes up, and once the anger meter is full, u turn into the Super Form!!!!! Is that at all possible? Yeah, I know, its like everyday i have a stupid question for ya LOL!
In response to Sariat

no, not really

I was afraid of that. See, basically, what you've got is an idea, and what you want is for somebody to write the code for you. If somebody else wants to do that, that's okay with me, but I'm not going to.

Here's one POSSIBLE solution for the friendship portion. It might work for your game, it might not. But it should give you a place to start.

First, declare a list called friends:

mob/var/list/friends[0]

What this does is give each mob a list called "friends", with a starting length of 0. (At least, I think so. I don't normally declare my lists that way.)

mob/verb/befriend()
set src in oview()
usr.friends.Add(src)
usr << "You befriend [src]."
src << "[usr] befriends [src]."

This makes both the usr (the mob activating the friendship) and the src (the mob being befriended) friends with each other.

mob/Del() or whichever proc is called when a mob dies
for (mob/m in oview())
if (src in m.friends) m.GetAngry()

You'll have to make your own GetAngry proc, that does whatever you want the anger's effect to be. How do you put a limit on the number of friends? I'll give you two hints: one, "src.friends.len" is a variable that will tell you how many different items are in the list "friends" for src, and two, a simple if statement is what you need. If you can't figure it out from that, you're not trying. (Note: trying includes hitting F1 in DreamMaker, if necessary.)
In response to LexyBitch
I was afraid of that. See, basically, what you've got is an idea, and what you want is for somebody to write the code for you. If somebody else wants to do that, that's okay with me, but I'm not going to.

Damn straight!

You newly introduced people have to learn that while we will help you out, we won't write your game for you.

If we do write you code, it is because we felt generous enough to do it for you. We are not obligated to do anything for you.

Think of it this way; if, suddenly, all forms of communication besides your game itself were severed, would you still be capable of making your game? If not, you should really think long and hard about whether or not you know enough and are inspired enough to make your game.
In response to Spuzzum
You know what, though? In all honesty, I usually do end up writing code for them... at least part of it, as I did here. See, once I've been presented with a problem, I -have- to think up a solution... and once I've thought up the solution, I want to know if it works... but I don't necessarily want to go off and test it myself.
In response to LexyBitch
On 6/9/01 9:35 pm LexyBitch wrote:
You know what, though? In all honesty, I usually do end up writing code for them... at least part of it, as I did here. See, once I've been presented with a problem, I -have- to think up a solution... and once I've thought up the solution, I want to know if it works... but I don't necessarily want to go off and test it myself.

Well, the friends code worked, im just working on how to actually do it, im not sure how i want it to go about, im thinking on HOW to do it, do i want an anger meter, do i want it random, etc.
In response to LexyBitch
On 6/9/01 9:35 pm LexyBitch wrote:
You know what, though? In all honesty, I usually do end up writing code for them... at least part of it, as I did here. See, once I've been presented with a problem, I -have- to think up a solution... and once I've thought up the solution, I want to know if it works... but I don't necessarily want to go off and test it myself.

I'm not saying that you can't write code... or that you won't.

I'm just saying that, in the words of Sherry Bobbins, "I've been singing songs all day, I'm not a bloody jukebox!"
In response to Sariat
On 6/8/01 9:14 am Sariat wrote:
On 6/8/01 9:10 am LexyBitch wrote:
If I tell you that the answer to "is it possible" is yes, and the answer to "how do I do it?" is "Any way you want to," would it help?
no, not really

Have a var called angry, and another called friend.
1. When a mob dies, check to see var/friend.
2. Then add to var/angry.
3. Check to see if var/angry is X (which is the change level).
4. If var/angry == X, change into super form.
else, game goes on as usual.