Search Unity

trying to use "soldier" in multiplayer demo

Discussion in 'Multiplayer' started by rmbunity, Feb 5, 2008.

  1. rmbunity

    rmbunity

    Joined:
    Dec 1, 2007
    Posts:
    32
    Hi:

    I am playing using the characters from the CharacterAnimation demo
    in a multiplayer environment. I have been able to use a couple of
    the characters (e.g. goober) successfully. However, I can *not*
    get the soldier character to play animations at remote players other
    than one where he was started. Part of the key to getting goober
    to animate in all windows was to use something like:
    SendMessage("SyncAnimation", "walk");
    However, this does not seem to work for soldier. I am doing the
    SendMessage for goober at the same places where CrossFade is
    performed. I note that soldier does not have any CrossFades and
    wonder if the model is more different than I originally thought.
    Anyway, I want to get soldier's animations playing/synced at all
    players/windows. Any helpful suggestions would be appreciated.

    Thanks.
    --ralph
     
  2. KlaRo115

    KlaRo115

    Joined:
    Feb 24, 2006
    Posts:
    675
    Perhaps it's working when assigning "network view" to every part of the soldier?
    Veeeeeeery much work... :(
     
  3. rmbunity

    rmbunity

    Joined:
    Dec 1, 2007
    Posts:
    32
    I ended up just re-writing a portion of the ComplexWalkBlend script to
    use animation.CrossFade("walk") and SendMessage("SyncAnimation").
    Probably not the best option. But with the shortage of docs, etc. it
    seemed the easiest at the time.