zexika
Member
This is likely an easily one, but this is perplexing me tonight. Okay so I'm trying to have a boss character transform and spawn a more powerful version of it. The example used is SuperBoss and SuperBoss2. I've used the following code as described in the Manual and in Bloodbanes post here: https://www.chronocrash.com/forum/index.php?topic=996.0
In SuperBoss.txt
In the header section I've added:
In the footer section, I then added:
I've made sure SuperBoss2 is also loaded in Models.txt! So, SuperBoss2 definitely spawns just fine after killing SuperBoss. The problem is he can't be damaged! He takes no damage and deals no damage. Whats strange, is when I directly load SuperBoss2 instead of SuperBoss into the level.txt he deals and takes damage fine.
Somehow I am missing a piece of this transformation code, or something is missing that I'm overlooking.
In SuperBoss.txt
In the header section I've added:
Code:
death 1
load SuperBoss2
In the footer section, I then added:
Code:
anim death
delay 8
offset 114 175
spawnframe 0 0 0 0 0
subentity SuperBoss2
frame data/chars/enemies/2d/bosses/SuperBoss2/idle1.png
I've made sure SuperBoss2 is also loaded in Models.txt! So, SuperBoss2 definitely spawns just fine after killing SuperBoss. The problem is he can't be damaged! He takes no damage and deals no damage. Whats strange, is when I directly load SuperBoss2 instead of SuperBoss into the level.txt he deals and takes damage fine.
Somehow I am missing a piece of this transformation code, or something is missing that I'm overlooking.