Page 8 of 9

Re: Battlesuit

Posted: Tue Dec 13, 2016 1:58 am UTC
by Ishq

Thanks gavlig. I'll get back to you by Wednesday.


Re: Battlesuit

Posted: Tue Dec 13, 2016 10:00 am UTC
by Ishq

So, it looks like we only implemented deltas for the regular human. I'm refactoring the code to more modularize our hacks so that we can add similar hacks for all of our models!


Re: Battlesuit

Posted: Tue Dec 13, 2016 1:32 pm UTC
by Viech

+1 for "modularized hacks" :smile:


Re: Battlesuit

Posted: Wed Dec 14, 2016 7:46 am UTC
by Ishq

http://unvanquished.net/~modi/unvanquished_0.50.1.pk3

See if this helps fix bsuit deltas. note that blaster has its own idle animation and shouldn't use a delta: "stand_blaster"

Furthermore, also note that I've included an edit to bsuit_human's character.cfg:

I've put

modifiers
{
HandDelta
}

underneath the "sex" directive. This tells the engine to apply the HandDelta animation modifier which will apply deltas to the model.

code is here if you're interested in background: https://github.com/Unvanquished/Unvanqu ... /974/files


Re: Battlesuit

Posted: Wed Dec 14, 2016 7:27 pm UTC
by gavlig

I'm interested in background, thank you. Butt why blaster has its own delta? I don't remember why we decided to do it that way, but i think it's redundant, up to 400 frames when you can utilize usual idle + delta


Re: Battlesuit

Posted: Wed Dec 14, 2016 8:40 pm UTC
by gavlig

whining again, to find proper names for animations i had to look through cg_players.cpp : 439, and find BG_WEAPON and then bg_misc.cpp : 564. I'm not going to stay forever Ishq, warnings should give expected names for animations ;)


Re: Battlesuit

Posted: Wed Dec 14, 2016 8:56 pm UTC
by gavlig
  • cheat that works only for our md5 human hands breaks iqm bsuit hands if i look slightly upwards or downwards
    this is still an issue, iirc you had a hardcoded number somewhere for md5 human hands and that number doesn't work with bsuit obviously

meanwhile i'm exporting an iqm with all deltas now and gonna check them soon


Re: Battlesuit

Posted: Wed Dec 14, 2016 9:23 pm UTC
by gavlig
  • blaster still doesnt work with idle animation added to iqm. No warnings in console
  • oh no, i just realized we don't have animation for going/running/crouching left and right. And i made them all.

Re: Battlesuit

Posted: Wed Dec 14, 2016 9:30 pm UTC
by gavlig
  • continuously firing with flamer causes animation to glitch out occasionally

Re: Battlesuit

Posted: Wed Dec 14, 2016 9:55 pm UTC
by gavlig