View previous topic :: View next topic |
Author |
Message |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
Posted: Sun Jul 27, 2008 2:57 pm Post subject: MADSOFT's Script Issues |
|
|
I've said this in a post in the Xerion topic in announcements, but I figured it fits better here.
So, I want to make the slime boss creature summon smaller slimes, which means he shoots parts of himself. The slime boss is untargetable, and every slime he summons uses up 10HP. The only way to defeat him is by killing the smaller slimes until he is out of HP, but I'm not sure how to make this work. Could anyone help me out please? _________________ http://www.madsoftgames.net/
http://www.madsoftgames.org/
http://www.andrewdavid.net/
Last edited by MADSOFT Games on Thu Aug 21, 2008 5:03 pm; edited 2 times in total |
|
Back to top |
|
 |
TwinHamster ♫ Furious souls, burn eternally! ♫

Joined: 07 Mar 2004 Posts: 1352
|
Posted: Sun Jul 27, 2008 3:32 pm Post subject: |
|
|
This would be better placed in the Game Design forum, since it has nothing to do with Plotscripting.
Leave the Slime Boss untargetable by Heroes, but let him be targetable by Foes.
Before (Or after) he summons a minion, make him use an attack that damages itself for 10 HP.
I don't think it's possible to exceed the 8 Enemy Cap in battles through spawning, so that should be enough.
If you want to limit him to only spawning, say, three creatures at once:
Place invisible, untargetable (by all) enemies with the 'Die without Boss bitset', so that they'll stop the Boss by continuously spawning and will die at the end of the battle.
It will make things much easier if you only let him spawn when he's alone, and maybe let him summon a random amount of back up all at once (Random Chaining). |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
Posted: Sun Jul 27, 2008 3:37 pm Post subject: |
|
|
Hmm...I'm not sure I understood what you just explained >_>;
You gave me steps which I already knew, I just don't know how to implement the summoning...
And I'm sorry, can a moderator transfer this to the appropriate forum category?
Ok, so, you mentioned it being easier if the slimeboss was alone. Which he is. What then? _________________ http://www.madsoftgames.net/
http://www.madsoftgames.org/
http://www.andrewdavid.net/
Last edited by MADSOFT Games on Thu Aug 21, 2008 5:03 pm; edited 1 time in total |
|
Back to top |
|
 |
TwinHamster ♫ Furious souls, burn eternally! ♫

Joined: 07 Mar 2004 Posts: 1352
|
Posted: Sun Jul 27, 2008 3:46 pm Post subject: |
|
|
MADSOFT Games wrote: | Hmm...I'm not sure I understood what you just explained >_>;
You gave me steps which I already knew, I just don't know how to implement the summoning...
And I'm sorry, can a moderator transfer this to the appropriate forum category?
Ok, so, you mentioned it being easier if the slimeboss was alone. Which he is. What then? |
Are you aware that this exists?
For spawning cases, I would actually sacrifice a single Element to be used as a Spawn Trigger.
So basically, you want the Slime King to use an attack with the 'Spawn Trigger' element that will hit itself.
If you set the spawning bitsets correctly, the 'Spawn Trigger' attack will force the Slime Boss to spawn a mini-Slime.
It would actually be best to combine the damage and the Spawning into one attack:
Damage = 10, Element: "Spawning Trigger"
To make things simpler for you, I would make one attack for each time you intend the boss to spawn.
So if you made room for exactly 3 mini-slimes to be summoned, you would just use three Damaging-Spawn attacks which would be chained to each other. |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
Posted: Sun Jul 27, 2008 4:43 pm Post subject: |
|
|
Hmmm...ok, I did all this, but for some reason, he does 225 damage to himself the first time he summons, and then he does 0 every time after the first time...
Here's what I did:
"Call Slime" attack:
Damage Math: HP=10% of Maximum
Base Atk: 100
Base Def: Default
Target Stat: HP
Extra Damage %: -90%
Aim Math:Never Miss
Number of Hits: 1
Targeted to Self only.
Bitsets:
Does "Trigger" damage
Do not randomize
Spawning:
How many to Spawn: 2
Spawn on "Trigger" hit: Mini Slime
He's untargetable by heroes and has 250 HP
I think I understand that I inversed the "10% HP" damage thing, (Since he does 225 Damage to itself the first time) I'm never good at using attacks to do anything else but regular attack damage.
But I don't understand why every other time after the first time, he does 0 damage.
All I want is for it to remove 10% of the Maximum HP for each summon, that means 25HP. _________________ http://www.madsoftgames.net/
http://www.madsoftgames.org/
http://www.andrewdavid.net/
Last edited by MADSOFT Games on Thu Aug 21, 2008 5:04 pm; edited 1 time in total |
|
Back to top |
|
 |
Newbie_Power

Joined: 04 Sep 2006 Posts: 1762
|
Posted: Sun Jul 27, 2008 4:47 pm Post subject: |
|
|
Set this bitset, because "10% of maximum" HP literally sets your HP to 10% of the maximum, while turning this bitset on fixes the issue. _________________
TheGiz> Am I the only one who likes to imagine that Elijah Wood's character in Back to the Future 2, the kid at the Wild Gunman machine in the Cafe 80's, is some future descendant of the AVGN? |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
|
Back to top |
|
 |
TwinHamster ♫ Furious souls, burn eternally! ♫

Joined: 07 Mar 2004 Posts: 1352
|
Posted: Sun Jul 27, 2008 4:50 pm Post subject: |
|
|
Quote: | How many to Spawn: 2 |
If you only have one Slime Boss, then he'll never spawn until you set that number to 1. |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
Posted: Sun Jul 27, 2008 5:41 pm Post subject: |
|
|
Hmmm...ok
I want the boss to summon only 1 slime and not summon anything if a slime is already summoned, else the hero can just wait 10 turns till the slimeboss kills itself...
Is there a way to do this? _________________ http://www.madsoftgames.net/
http://www.madsoftgames.org/
http://www.andrewdavid.net/
Last edited by MADSOFT Games on Thu Aug 21, 2008 5:05 pm; edited 1 time in total |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon Jul 28, 2008 12:39 am Post subject: |
|
|
Set the spawning attack to an alone attack. Then the boss shouldn't do anything until its spawn has been killed. BTW, if you have any enemies set to "untargetable by heroes" (if you are using invisible enemies to fill up slots), they aren't counted when checking whether an enemy is alone. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
Posted: Mon Jul 28, 2008 1:16 am Post subject: |
|
|
The Mad Cacti wrote: | Set the spawning attack to an alone attack. Then the boss shouldn't do anything until its spawn has been killed. BTW, if you have any enemies set to "untargetable by heroes" (if you are using invisible enemies to fill up slots), they aren't counted when checking whether an enemy is alone. |
Thank you. I didn't think of that. And yes, they are counted, but I didn't put invisible enemies. _________________ http://www.madsoftgames.net/
http://www.madsoftgames.org/
http://www.andrewdavid.net/
Last edited by MADSOFT Games on Thu Aug 21, 2008 5:05 pm; edited 1 time in total |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon Jul 28, 2008 2:02 am Post subject: |
|
|
They don't count. I just tested. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
|
Back to top |
|
 |
|