Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

MADSOFT's Script Issues
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
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

PostPosted: Sun Jul 27, 2008 2:57 pm    Post subject: MADSOFT's Script Issues Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sun Jul 27, 2008 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
MADSOFT Games
Representing more than 80% of the internet!




Joined: 06 Nov 2004
Posts: 221
Location: AWESOME land

PostPosted: Sun Jul 27, 2008 3:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sun Jul 27, 2008 3:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
MADSOFT Games
Representing more than 80% of the internet!




Joined: 06 Nov 2004
Posts: 221
Location: AWESOME land

PostPosted: Sun Jul 27, 2008 3:48 pm    Post subject: Reply with quote

I was aware it existed, but I have no clue how to use it...
And cool, thanks ^^

_________________
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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
MADSOFT Games
Representing more than 80% of the internet!




Joined: 06 Nov 2004
Posts: 221
Location: AWESOME land

PostPosted: Sun Jul 27, 2008 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Newbie_Power




Joined: 04 Sep 2006
Posts: 1762

PostPosted: Sun Jul 27, 2008 4:47 pm    Post subject: Reply with quote



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
View user's profile Send private message
MADSOFT Games
Representing more than 80% of the internet!




Joined: 06 Nov 2004
Posts: 221
Location: AWESOME land

PostPosted: Sun Jul 27, 2008 4:49 pm    Post subject: Reply with quote

Thanks NewbiePower ^^
_________________
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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sun Jul 27, 2008 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
MADSOFT Games
Representing more than 80% of the internet!




Joined: 06 Nov 2004
Posts: 221
Location: AWESOME land

PostPosted: Sun Jul 27, 2008 4:51 pm    Post subject: Reply with quote

TwinHamster wrote:
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.


I figured that out and fixed it Raspberry!
Thanks anyways~ ^^

_________________
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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
MADSOFT Games
Representing more than 80% of the internet!




Joined: 06 Nov 2004
Posts: 221
Location: AWESOME land

PostPosted: Sun Jul 27, 2008 5:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Mon Jul 28, 2008 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
MADSOFT Games
Representing more than 80% of the internet!




Joined: 06 Nov 2004
Posts: 221
Location: AWESOME land

PostPosted: Mon Jul 28, 2008 1:16 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Mon Jul 28, 2008 2:02 am    Post subject: Reply with quote

They don't count. I just tested.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
MADSOFT Games
Representing more than 80% of the internet!




Joined: 06 Nov 2004
Posts: 221
Location: AWESOME land

PostPosted: Mon Jul 28, 2008 2:03 am    Post subject: Reply with quote

Oh cool, but why wouldn't they count? They're still enemies... o_O;
Well, I guess it's how the OHR works Raspberry!
Thanks for your help Mad Cacti!

_________________
http://www.madsoftgames.net/
http://www.madsoftgames.org/
http://www.andrewdavid.net/


Last edited by MADSOFT Games on Thu Aug 21, 2008 5:06 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group