All fingers crossed for your problem. A junkyard straight in your neighborhood, who wouldn´t get upset for that... Good luck!
Re: [ASSET] - DM SKELETON
Posted: Fri Apr 18, 2014 8:00 pm
by Leki
Leki wrote:Ok, last days I was looking for solution but it's impossible to achieve it without ingame script - it means I will leave the idea to make skeleton jumping out from the coffin.
Impossible I said? Well, I solved it, I guess
Re: [ASSET] - DM SKELETON
Posted: Sat Apr 19, 2014 2:08 am
by Isaac
Leki wrote:
Leki wrote:Ok, last days I was looking for solution but it's impossible to achieve it without ingame script - it means I will leave the idea to make skeleton jumping out from the coffin.
Impossible I said? Well, I solved it, I guess
Custom Pressure plate animation?
Re: [ASSET] - DM SKELETON
Posted: Sat Apr 19, 2014 8:07 am
by Leki
Isaac wrote:
Leki wrote:
Leki wrote:Ok, last days I was looking for solution but it's impossible to achieve it without ingame script - it means I will leave the idea to make skeleton jumping out from the coffin.
Impossible I said? Well, I solved it, I guess
Custom Pressure plate animation?
No, custom plate uses only two frames in anim. I use smth like:
1st monster:
onAttack = function(monster)
for i in entitiesAt(party.level, party.x, party.y) do
if i.class == "Monster" then
i:destroy()
end
end
end
Well it's a little bit more complex, but the idea is described there. You can set monster position without warnig in console and you no need external scripts, timers - everything works as simple plugin - just place coffin in scene.[/color]
Re: [ASSET] - DM SKELETON RAISING FROM COFFIN
Posted: Tue Apr 22, 2014 11:52 pm
by Leki
Ok, it's time to share some progress in this case. In the end I found some solution, how to achieve the goal.
Animation set is not 100% ready yet and I will polish it a bit, particles and monster definitions in general as well, so it will take few days until it will be available - but it's already ok for short presentation I guess
What you can see on the video:
- breakable coffin with undead skeleton inside
- raised skeleton can walk out of the coffin
- he can fight in front of the coffin or push party attacking by shield one cell back
- then he can follow the party and fight
- opened coffin is still blockade, but it can be destroyed to the pieces
- there is no performance issues - you can open as many coffins as you want
- skeleton can step out from coffin and there is no corrner collision, you can see 2 of them in one cell
- there is no script errors or warnings, no print empty lines in console and stuff like that
- coffin with skeleton is pulugin, you NO NEED to write any line of script in editor, you no need frameworks etc --> just add coffin in your dungeon like any other monster/custom object
So what next?
- I'm thinking about the Necromancer/Lich - he will be able to raise skeleton from coffins, so he is good candidate for some boss fights (but you can use goromorg for that I guess - it's so easy...)
- Next one can be a ninja warrior with ability to jump over the pits and doing similiar acrobatics tricks, using counterattacks and stuff like that and with ability to throw shurikens from the distance and use ninjato and kicks in close combat.
- Or Spider Queen - a monster 3x4 cell size big, with hitzones and special abilities like spiderweb shooting, you need to cast "Free move" spells etc.
Or maybe smth else... Let me know what you like more
Re: [ASSET] - DM SKELETON RAISING FROM COFFIN
Posted: Wed Apr 23, 2014 12:00 am
by lexdr
Wow, you did it!
Amazing! Really.
Lex
Re: [ASSET] - DM SKELETON RAISING FROM COFFIN
Posted: Wed Apr 23, 2014 7:14 am
by JKos
Wow, that looks really good, great job as usual from you. But I was thinking what happens if you attack the skeleton when he is coming out of the coffin?
Re: [ASSET] - DM SKELETON RAISING FROM COFFIN
Posted: Wed Apr 23, 2014 7:39 am
by Leki
JKos wrote:Wow, that looks really good, great job as usual from you. But I was thinking what happens if you attack the skeleton when he is coming out of the coffin?
I chose solution to put skeleton in protect mode for a while, so you can attack him but you will miss. In whole skeleton activities this protect mode takes in sum about 3.5 sec: when he steps out of the coffin, when he advances to cell in front of the coffin. I have solution when you can kill him in any moment including steping out, but you have to do over 120 dmg to do it, because of monster hp setup. In other word protect mode simulates dark magic power of this creature when raising cannot be interupted.