Whats my main goal??
I AM ABOUT TO RIP MY HAIR OUT. I AM TRYING MY HARDEST TO MAKE A BOSS WITH ANIMS AND PHASES BUT I CANT EVEN GET HIM TO FIGHT AHAHHAHHHHHFHFHGHGH
Issue?
I just got no clue what to do, I am very inspired by Elden Ring and Dark Souls and I am able to create these amazing looking custom rigs but I can’t even get them to attack I have no code that will help because I am lowk dumb with scripting.
What have I tried?
Scripting by myself, over the course of weeks. None of it worked. No matter hhow much tampering I did.
I Have gone to the point where I have tried to rely on many AI chats, including the roblox AI and I doubted before and wasnt surprised at the stiff result that came with it.
I just want help, parts to scripts, scripts, heck even a kit. Im at the point where I have worked too much on this and it turns out like crap.
If anyone is willing to help me, thank you and your kind soul.
I’ve made a few boss fights in my time here, some slightly different, so here’s how I structure them.
#1 - Create a win/progression condition.
Track some variable to check if the boss fight is advancing. This can be health, time elapsed, number of successful QTEs against the boss, or something else.
This is how you’ll know when the boss fight is over. #2 - Decide what boss type you want.
My first boss fights consisted of a just surviving against them for a set period of time to outlast and defeat them.
My most recent one was one where you had to actually drain the HP of the boss.
This decision should be made early.
#3 - Decide how progress will be gained in the boss fight.
This could be by pulling levers during certain portions of the fight or just attacking the boss for damage.
#4 - Script the fight loop.
Before working on attacks it’d be wise to test a run of your boss fight sequence where you just do the things that let you progress, like dealing damage to the boss until it reaches phase 2 or dies and testing if the program works properly with print statements or something.
#5 - Program the bare bones attacks.
Make a bunch of functions for the boss’s attacks and then you can program the boss AI to randomize attack patterns and target random players.
#6 - Make things pretty.
Add cool effects, cutscenes, etc.
#7 - Reflect
What’d you learn from making the boss? Why did you program it in the way you did? Any alternate approaches to scripting it? This’ll help you gain intuition so you k kw how to approach bosses again in the future.