Duke4.net Forums: all BOSS (not squished !) - Duke4.net Forums

Jump to content

Hide message Show message
Welcome to the Duke4.net Forums!

Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

all BOSS (not squished !)  "Possibility of killing the BOSS otherwise."

#1

Not topic, new subject :P

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 ;)
0

#2

Does anyone here have an idea about these problems?
0

User is offline   Hendricks266 

  • Weaponized Autism

  #3

Would this be solved by adding a call to state checksquished in the appropriate place in the bosses' actor code?
0

#4

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?
0

User is offline   Mark 

  • Honored Donor

#5

No. Just make a call to that state from inside your new actor's code.
0

#6

Add an ai BOSS1DEAD?

This post has been edited by leninjableu: 21 September 2018 - 01:23 PM

0

User is offline   Mark 

  • Honored Donor

#7

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.
0

User is online   Trooper Dan 

  • Duke Plus Developer

#8

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.
0

#9

View PostMark, 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

0

#10

View PostTrooper 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.
0

User is offline   Hendricks266 

  • Weaponized Autism

  #11

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.
0

#12

Thank you, I already placed this line of code ;)
0

#13

This thread must be closed
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked


All copyrights and trademarks are property of their respective owners. Instead of reading this text, you could be playing Ion Fury! ;) © 2019 Voidpoint, LLC

Enter your sign in name and password


Sign in options