Author Topic: Animation Problems With New/Renamed Handweapons  (Read 1128 times)

Offline Professor_Smith

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Animation Problems With New/Renamed Handweapons
« on: 22-03-2010, 19:03:36 »
Hello,
    I was wondering if you know anything about editing the animation.rfa file?  I recently changed the weapon names in my HTroop mod, and now the debugger is telling me all these scripts such as:  Ub_StandGrenadeAllies         cannot be found (there are a lot more than just that one).

     I tried going through each of the .con files in the Animations.rfa, and changing the names of every single weapon to match all my new ones, including changing all the names in the .inc files.  Nothing seems to work.

    How do I make the Animations work with newly renamed Handweapons?

Thank You,

Professor Smith
Lets make war games, not war.

Offline Archimonday

  • Full Member
  • ***
  • Posts: 1.197
  • Sir vis pacem, para bellum!
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #1 on: 23-03-2010, 21:03:53 »
Oh boy, been a long time since I've done this for '42, give me a few minutes.

Offline Professor_Smith

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #2 on: 23-03-2010, 23:03:04 »
Thank You; anything you can give me would be very helpful.

Professor Smith
Lets make war games, not war.

Offline Professor_Smith

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #3 on: 23-03-2010, 23:03:05 »
I just recently changed a lot in the objects.rfa file, mostly changing the names and all lines within each Handweapon, to read correctly, but after doing so, the debugger is telling me things like:

Anmations state not found:  Ub_FireShotgun
File:  Animations/AnimationStatesCameraShakes.con

And a lot of others.  Plus, after renaming my Medpack and my RepairPack as well, their animations work, and the heal/repair "ammo" gets used up, but they don't heal or repair anything.

Can you please direct me to someone who can help me?

Know of any animation scripting tutorials? (something that tells me what each line means in the Animations   .con files or the .inc files, such as in:  multiShotWeaponsMod.inc  where it says:  AnimationStateMachine.copyState2
or AnimationStateMachine.copyState     or
AnimationStateMachine.copyState2 Flamethrower Bar1918)
Lets make war games, not war.

Offline Natty

  • Developer
  • ******
  • Posts: 3.170
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #4 on: 24-03-2010, 07:03:40 »
still struggling with this copy-paste multimod?

Offline Professor_Smith

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #5 on: 24-03-2010, 15:03:26 »
Look, just because I used material from your mod and others, doesn't mean I haven't done any work.  I have changed almost EVERY SINGLE script within EVERY SINGLE object, effect, etc. okay??  So please stop calling my mod a copy-paste mod, unless you want to start a fight, and just help me, please.

Thank You,

Professor Smith
Lets make war games, not war.

Offline sn00x

  • Hero Member
  • ****
  • Posts: 2.404
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #6 on: 24-03-2010, 16:03:40 »
Have you asked for permission to use the content?

Offline Professor_Smith

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #7 on: 24-03-2010, 19:03:32 »
Yes gosh dangit people, I've been speaking to Lobo for the past like year or half a year now!  I already have permissions!  Its a MINI-MOD!  I just need help with animations scripting, please.  I would like to figure out what is wrong.

Thank You,

Professor Smith
Lets make war games, not war.

Offline sn00x

  • Hero Member
  • ****
  • Posts: 2.404
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #8 on: 24-03-2010, 19:03:17 »
ahh,  wish i could have helped out. :) though my only skills are in mapping.

Offline Professor_Smith

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #9 on: 24-03-2010, 21:03:28 »
I mainly just need to find out what 3 main scripts mean and do.  I can probably figure the rest out by myself:

First:  AnimationStateMachine.copyState weapon_name_here v_arg1

Second:  AnimationStateMachine.copyState2 weapon_name_here v_arg1

Third:  include copyToallWeapons.inc weapon_name_here

Any ideas??  Does anyone have any ideas???

Professor Smith
Lets make war games, not war.

Offline Archimonday

  • Full Member
  • ***
  • Posts: 1.197
  • Sir vis pacem, para bellum!
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #10 on: 25-03-2010, 00:03:28 »
I can't remember which one does which, been so long. All I know is that one copy's the animation states of another weapon to that weapon, and the other makes an entirely new animation set. Look for the rifles, they all share the same animations, try those.

Offline Professor_Smith

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Animation Problems With New/Renamed Handweapons
« Reply #11 on: 25-03-2010, 22:03:57 »
Thank You.  I Will use this information as best I can.

Thank You Again,

Professor Smith
Lets make war games, not war.