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

help with spawning

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
BlastedEarth




Joined: 05 Oct 2009
Posts: 243

PostPosted: Thu Dec 31, 2009 5:46 am    Post subject: help with spawning Reply with quote

Woooo it's almost new year!!! 3 hours to go!!! Happy New Year!!!

A quick question: When spawning, can the spawned enemy spawn exactly in the exact position where the last enemy was destroyed? Razz Razz
_________________
So many ideas, so little focus. Monk spirit please lend me your power!

Back to top
View user's profile Send private message
NeoSpade
Of course!




Joined: 23 Sep 2008
Posts: 249
Location: Wales GB

PostPosted: Thu Dec 31, 2009 6:10 am    Post subject: Reply with quote

right this one is a bit tricky, and you have to use a trick :p

make two copies of the same enemy on the formation, then overlap them, delete the second one. The cursor will still be where the thing was but won't register so.

I found that you can't do this easily with multiple enemies, also something else helpful; make an enemy called fullslot, give it no graphics 1 HP and give it the win battle even if alive bitset. fill up all the other possible enemy slots with these. This'll garutee that it'll appear in the slot you want it to, generally you won't need to do this tho.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
BlastedEarth




Joined: 05 Oct 2009
Posts: 243

PostPosted: Fri Jan 01, 2010 5:07 pm    Post subject: Reply with quote

you're right it really works for a single enemy but when there are others, the enemies respawn in the same spot. the reason i want to do this is to have an explosion where the enemy was destroyed...

what happens is when enemies are destroyed in different areas the explosions are spawned in the same area which is the slot that overlaps the enemy in the nearest unoccupied slot, and if you destroy them all at the same time, the explosions look pretty neat but only one makes a sound.

i tried using the unoccupied enemy but it only worked like the earlier trick...
_________________
So many ideas, so little focus. Monk spirit please lend me your power!

Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Sat Jan 02, 2010 2:40 pm    Post subject: Reply with quote

This reminds me that I really want to add an enemy bitset that makes spawn-on-death enemies fill the spawner's slot instead of the first empty slot.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BlastedEarth




Joined: 05 Oct 2009
Posts: 243

PostPosted: Sat Jan 02, 2010 8:52 pm    Post subject: Reply with quote

wow i would really look forward to that, and also, just a suggestion i think it would be neat to have a battle chain condition something that checks the defender's stats just like the option for the attacker... and a bitset that the attack cannot decrease the enemy or the hero's stat less than 1...
_________________
So many ideas, so little focus. Monk spirit please lend me your power!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
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