Medkits animation

Results 1 to 5 of 5
  1. #1
    Apprentice ttable is offline
    MemberRank
    Jul 2010 Join Date
    17Posts

    happy Medkits animation

    Hey guys.
    I saw that some gunz the duel games have medkits with animation.
    I tried adding the animation by worlditem.xml as in the medkits map spawning, but doesn't work.
    Does anyone know how I can do this?

    Map medkit spawn on the right and with animation working, my medkit on the left:


    Sorry for my english.


  2. #2
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: Medkits animation

    The animation on the the worlditem is given to all world item objects due to a coding segment that loads that mesh and animation for anything that is spawned on thr map

  3. #3
    Apprentice ttable is offline
    MemberRank
    Jul 2010 Join Date
    17Posts

    Re: Medkits animation

    #Wucas
    And can I put animation in the medkit?
    Do you know how can i do this?
    Last edited by ttable; 29-04-14 at 09:52 PM.

  4. #4
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: Medkits animation

    Quote Originally Posted by ttable View Post
    #Wucas
    And can I put animation in the medkit?
    Do you know how can i do this?
    You can either make an animation with the 3DS max exporter or you can force gunz to use that prop animation on your object, either one.

  5. #5
    Apprentice ttable is offline
    MemberRank
    Jul 2010 Join Date
    17Posts

    Re: Medkits animation

    #Wucas
    I think you don't understand my question. Sorry for my english...
    I already made the animation.
    I want to the medkit that the user throw in the map, has animation, I already saw in some gunz games, like the box of mission, when throw in the map, it open.

    I tried this:

    worlditem.xml
    Code:
    <WORLDITEM id="186" name="macaco2">
       <TYPE>hpap</TYPE>
       <AMOUNT>19</AMOUNT>
       <MODELNAME>macaco2</MODELNAME>
      </WORLDITEM>
    
    <AddWorldItemElu name ="macaco2">
        <AddBaseModel name ="macaco2" filename="model/worlditem/rei/macaco2.elu"/>
        <AddAnimation name="play" filename="model/worlditem/rei/macaco2.elu.ani" motion_type="0" motion_loop_type="loop" />
       </AddWorldItemElu>
    weapon.xml
    Code:
     <AddWeaponElu name="macaco2" weapon_motion_type = "8" weapon_type = "12" > 
      <AddBaseModel name="macaco2" filename="model/worlditem/rei/macaco2.elu" />
     </AddWeaponElu>
    But when you throw the medkit, the animation doesn't work.



Advertisement