Not topic, new subject
I searched for an update CON file for the WT, made by Jolteon, on improving BOSS (four main + BOSS5). I found that there was a code missing to kill them otherwise (alive or with their corpses). Is it possible for a BOSS to be killed by crushing, but ONLY by a moving sector ? This will add consistency to the game.
Thanks for your answers
Page 1 of 1
all BOSS (not squished !) "Possibility of killing the BOSS otherwise."
#1 Posted 17 September 2018 - 07:51 AM
#3 Posted 21 September 2018 - 10:07 AM
Would this be solved by adding a call to state checksquished in the appropriate place in the bosses' actor code?
#4 Posted 21 September 2018 - 11:52 AM
Of course I agree. But everything is not explained in the Wiki and everything is not obvious.
If I understand correctly, I have to move the state checksquished, in the useractor enemy?
If I understand correctly, I have to move the state checksquished, in the useractor enemy?
#5 Posted 21 September 2018 - 01:04 PM
No. Just make a call to that state from inside your new actor's code.
#6 Posted 21 September 2018 - 01:07 PM
Add an ai BOSS1DEAD?
This post has been edited by leninjableu: 21 September 2018 - 01:23 PM
#7 Posted 21 September 2018 - 02:13 PM
If the checksquished state code is already in your con somewhere else all you need to do is type "state checksqished" in your new actor code.
#8 Posted 21 September 2018 - 03:17 PM
There are 2 simple reasons that the bosses don't already use that state. First, it would allow for cheap boss kills. Second, the checksqushed code will delete the sprite if it is squished, bypassing the boss end game trigger. The second of those issues is very easily fixed.
#9 Posted 21 September 2018 - 04:47 PM
Mark, on 21 September 2018 - 02:13 PM, said:
If the checksquished state code is already in your con somewhere else all you need to do is type "state checksqished" in your new actor code.
Thank Mark ! Finally, i managed to correctly placed the state checksquished. I take this the same opportunity to correct details of all general boss.
This post has been edited by leninjableu: 21 September 2018 - 04:50 PM
#10 Posted 21 September 2018 - 04:51 PM
Trooper Dan, on 21 September 2018 - 03:17 PM, said:
There are 2 simple reasons that the bosses don't already use that state. First, it would allow for cheap boss kills. Second, the checksqushed code will delete the sprite if it is squished, bypassing the boss end game trigger. The second of those issues is very easily fixed.
The only reason I have to use this code is ONLY for mini-boss, under some game circumstances. To avoid what you have described, the real bosses will be in secure areas.
#11 Posted 21 September 2018 - 09:43 PM
You can also add "ifspritepal 0 nullop else" as a precondition to your checksquished code so that it only takes effect for minibosses. This is how you can shrink minibosses but not full bosses.
Share this topic:
Page 1 of 1