Jump to content


Photo

Secondary weapon


  • Please log in to reply
7 replies to this topic

#1 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 31 October 2014 - 02:29 AM

Hi,

 

I've tried to give Faramir the same ability as Legolas; instead of switching weapons he should get a limited time on his sword stance. I replaced Faramir's WEAPONSET_TOGGLE_1 with WEAPONLOCK_SECONDARY, changed the weaponset, added the knife fighter behavior and compared Legolas' and Faramirs' code. All animations work as they should except for the attacking (FIRING_OR_PREATTACK_A) animation. He just stands still, he does not attack. RoR suggested it was hardcoded, but then the other animations wouldn't work either, would they? Anyway I have no idea what else I could try, does anyone else have an idea?

 

Spoiler

 


26285.png


#2 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 05 November 2014 - 11:19 PM

Anyone? :(


26285.png


#3 Kwen

Kwen

    Vileartist

  • T3A Staff
  • 4,865 posts
  • Location:Korea I wish
  • Projects:It'sa secreeet
  •  T3A's First N00b
  • Division:BFME
  • Job:T3A Expert
  • Donated

Posted 19 November 2014 - 02:37 PM

I actually just encountered this very same issue, I am still working on resolving it, and I'll inform you of anything I may find.


                           https://www.twitch.tv/vileartist - Yes shameless self-promotion

          ----------------------------------------------------------------------------------------------------------------------

                            "Old modders never die, they just fade away" ~ Hostile


#4 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 19 November 2014 - 04:22 PM

I found a workaround for this issue. Try coding it the way Gimli's Slayer is coded. ;)


26285.png


#5 Kwen

Kwen

    Vileartist

  • T3A Staff
  • 4,865 posts
  • Location:Korea I wish
  • Projects:It'sa secreeet
  •  T3A's First N00b
  • Division:BFME
  • Job:T3A Expert
  • Donated

Posted 19 November 2014 - 04:47 PM

Indeed this seemed to have worked! Wonderful!


                           https://www.twitch.tv/vileartist - Yes shameless self-promotion

          ----------------------------------------------------------------------------------------------------------------------

                            "Old modders never die, they just fade away" ~ Hostile


#6 RadagastTheMusical

RadagastTheMusical
  • New Members
  • 1 posts
  • Location:Germany

Posted 20 November 2014 - 03:06 PM

Normally it should have been enough to replace

MOVING FIRING_OR_PREATTACK_A WEAPONLOCK_SECONDARY

with

MOVING FIRING_OR_PREATTACK_B WEAPONLOCK_SECONDARY

and consequently

FIRING_OR_PREATTACK_A WEAPONLOCK_SECONDARY

with

FIRING_OR_PREATTACK_B WEAPONLOCK_SECONDARY

This is because FIRING_OR_PREATTACK_A is automatically connected to the PRIMARY Weapon, FIRING_OR_PREATTACK_B to the SECONDARY Weapon etc.



#7 Mathijs

Mathijs

    Post-modern Shaman

  • Network Leaders
  • 13,756 posts
  • Projects:Age of the Ring
  • Division:Revora
  • Job:Leader

Posted 20 November 2014 - 03:14 PM

Now that's a great first post.

 

Though I seem to remember that name from somewhere...


No fuel left for the pilgrims


#8 Kwen

Kwen

    Vileartist

  • T3A Staff
  • 4,865 posts
  • Location:Korea I wish
  • Projects:It'sa secreeet
  •  T3A's First N00b
  • Division:BFME
  • Job:T3A Expert
  • Donated

Posted 21 November 2014 - 12:33 PM

Normally it should have been enough to replace

MOVING FIRING_OR_PREATTACK_A WEAPONLOCK_SECONDARY

with

MOVING FIRING_OR_PREATTACK_B WEAPONLOCK_SECONDARY

and consequently

FIRING_OR_PREATTACK_A WEAPONLOCK_SECONDARY

with

FIRING_OR_PREATTACK_B WEAPONLOCK_SECONDARY

This is because FIRING_OR_PREATTACK_A is automatically connected to the PRIMARY Weapon, FIRING_OR_PREATTACK_B to the SECONDARY Weapon etc.

Brilliant! This has resolved so many issues. Unlike Echo I am doing something pertaining to a unit, and before this for the horde to properly transition I needed to have it set up to a toggle weapon, because that was the only way I could "hack" animations into working. Now I can have both unit and horde setup to weaponlock and it will retain animations and yield a much better result. Thank you!


                           https://www.twitch.tv/vileartist - Yes shameless self-promotion

          ----------------------------------------------------------------------------------------------------------------------

                            "Old modders never die, they just fade away" ~ Hostile





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users