Search Unity

Networking Fps Weapontry Help

Discussion in 'Editor & General Support' started by towcar, Dec 15, 2009.

  1. towcar

    towcar

    Joined:
    May 2, 2009
    Posts:
    106
    What I'm using is the Networking Tutorial offered on the website and the FPS tutorial.

    Now I'm unable to get the player prefab to include a weapon with it. When I run around its boring without a gun on screen. I have the weapons and scripts from the FPS tutorial on the website as well.

    When I try to attach it to the prefab, it replaces the player box model instead of adding to it.

    Shed some light on the situation?
     
  2. Crey

    Crey

    Joined:
    Nov 24, 2009
    Posts:
    16
    I dunno if this will solve the problem, but make sure it is just the model you are adding. Drag your player prefab into the scene, then drag the model onto the prefab in the hierarchy. The prefab will get disconnected, so then drag the prefab over onto the original prefab in the assets side.
     
  3. towcar

    towcar

    Joined:
    May 2, 2009
    Posts:
    106
    I'll try that when I get time, Though I'm wondering if this has to be scripted because if it spawns just on the one spot with my player and camera. Wouldn't it just end up centered with the camera instead of on the side? Thats better than nothing but still.