View previous topic :: View next topic |
Author |
Message |
Slime Objection!!!

Joined: 27 Feb 2005 Posts: 170
|
Posted: Sun Jun 12, 2005 9:43 pm Post subject: How can I make an enemy flee? |
|
|
Hey, guys. I have a bit of a problem. I want to make an enemy be very rare to enounter, but if you do, and you beat it, you gain lots of exp. points.
However, i wanted to make the enemy have 50% chance of fleeing. So to do this, I give it 2 attacks, one, the offensive attack, and two, the fleeing.
Now, I need someone to tell me if there's a way to make an enemy flee. I also want to make it so if it flees, you gain no exp.points. Can anyone help? I know how to make the enemy be rare and all that, so I only need help on this Thanks, guys. _________________ http://hellyeahmyownurl.spaces.live.com/default.aspx?_c02_owner=1
Slime's Sexy and Provocative and Potentially Offensive Space |
|
Back to top |
|
 |
Fenrir-Lunaris WUT

Joined: 03 Feb 2003 Posts: 1747
|
Posted: Sun Jun 12, 2005 10:04 pm Post subject: |
|
|
Essentially, you'd want a cactaur... Hmm.
Firstly, create an enemy that has but one attack that when it is performed, kills itself (a self inflicted spell sould work, although you could make it go out like a bomb and damage the party too). Make a second enemy worth lots of Exp, and give it like 0 hp or make it die without boss. In the monster spawning bitsets of the first enemy, spawn the second enemy when hit by a particular element. The attack mentioned earlier that kills itself should have NO element, so that it won't trigger the exp spawned hidden monster. That SHOULD do it, though I'm probably missing something. |
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Mon Jun 13, 2005 8:15 am Post subject: |
|
|
If you want a simpler workaround (Fen's suggestion is better, but this works) have two different enemy formations: one with an enemy that kills itself (with the run away bitset) and gives no EXP, and one with the actual enemy. Make the second formation appear rarely in the randombattle set.
This is assuming you're using random battles, of course. |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Mon Jun 13, 2005 2:58 pm Post subject: Hmmmm... |
|
|
You know what we need? We need an attack bitset that says:
No rewards for targets killed
And if you kill a target using an attack that has that bitset, it ignores experience and gold. Then that can be used for "Run-Away" self-attacking, or for "banish" type instant-kill spells, and stuff like that.
http://hamsterrepublic.com/bugzilla/show_bug.cgi?id=82 |
|
Back to top |
|
 |
Slime Objection!!!

Joined: 27 Feb 2005 Posts: 170
|
Posted: Mon Jun 13, 2005 7:34 pm Post subject: Too bad... |
|
|
Yeah, that would be a good idea. it's a shame that none of the programmers will ever read this topic so they can add it on the next update, eh James Paige? _________________ http://hellyeahmyownurl.spaces.live.com/default.aspx?_c02_owner=1
Slime's Sexy and Provocative and Potentially Offensive Space |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
|
Back to top |
|
 |
LeRoy_Leo Project manager Class S Minstrel

Joined: 24 Sep 2003 Posts: 2683 Location: The dead-center of your brain!
|
Posted: Tue Jun 14, 2005 1:42 am Post subject: |
|
|
pkmnfrk wrote: | Yeah. Hey, why don't we invite James to work on the OHR?  |
Sensei was right. History does have a funny way of repeating it's self. _________________ Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...
---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. " |
|
Back to top |
|
 |
Ysoft_Entertainment VB Programmer

Joined: 23 Sep 2003 Posts: 810 Location: Wherever There is a good game.
|
Posted: Tue Jun 14, 2005 11:26 am Post subject: Re: Hmmmm... |
|
|
James Paige wrote: | You know what we need? We need an attack bitset that says:
No rewards for targets killed
And if you kill a target using an attack that has that bitset, it ignores experience and gold. Then that can be used for "Run-Away" self-attacking, or for "banish" type instant-kill spells, and stuff like that.
http://hamsterrepublic.com/bugzilla/show_bug.cgi?id=82 |
Done! _________________ Try my OHR exporter/importer.
OHRGFX
Striving to become better pixel artist then Fenrir Lunaris. Unfortunately the laziness gets in the way of my goals. |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
|
Back to top |
|
 |
Setu_Firestorm Music Composer

Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
|
Posted: Wed Jun 15, 2005 10:08 am Post subject: |
|
|
I suppose one thing you could do is set him to flee instead of die and have one of his attacks be a self-inflicting one that shows no damage.
...on that note, than even you wouldn't be able to kill him...
I give up. _________________
Facebook: http://www.facebook.com/georgerpowell
Newgrounds: http://setu-firestorm.newgrounds.com |
|
Back to top |
|
 |
LeRoy_Leo Project manager Class S Minstrel

Joined: 24 Sep 2003 Posts: 2683 Location: The dead-center of your brain!
|
Posted: Wed Jun 15, 2005 2:08 pm Post subject: |
|
|
This Is Actually Very Simple, Guys. Make an enemy and name it "flee".
PS: They stole every good suggestion I had.  _________________ Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...
---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. " |
|
Back to top |
|
 |
Blue Pixel SPY SAPPIN MAH FISH SANDWICH

Joined: 22 Apr 2005 Posts: 621
|
Posted: Fri Jun 17, 2005 10:47 am Post subject: |
|
|
wait, you could have the enemy with the two attacks and the suicide one would be an elimant then when they die on non elimantal hit it spawns a 0hp reword enemy then (this is optinal) have another enemy with a speed of999 and no hp use an attack thats just a caption that says "dont use spells or he'll flee!". that should work... _________________
 |
|
Back to top |
|
 |
Raekuul Delicious!

Joined: 31 Mar 2004 Posts: 641 Location: Nowhere
|
Posted: Fri Jun 17, 2005 2:15 pm Post subject: |
|
|
the_dude257 wrote: | wait, you could have the enemy with the two attacks and the suicide one would be an elimant then when they die on non elimantal hit it spawns a 0hp reword enemy then (this is optinal) have another enemy with a speed of999 and no hp use an attack thats just a caption that says "dont use spells or he'll flee!". that should work... |
I think that was thought up already... And the origional enemy would still give xp and all... _________________ A broken clock is still right twice a day. |
|
Back to top |
|
 |
|