How do you add weapons in to the game and assign a number key?
I cant find the script that contains these?
Thanks.
Weapon scripts are in Scripts/Weapons/.
They are added to the player through the player.js.
I'm getting "Named mesh does not exist"?
What did you do?
Change a script? Post it then. Nobody can help you if they don't know what exactly you did that made the error appear.
I am going to tweak a few things then if it still doesn't work ill post my script.
Thanks for putting up with my N00Byness.
In the weapons list for the Player.js not all of the 'pistol' or 'machinegun' names are for the name of your weapon script. Some are for the Meshes in the Player model that show/hide based on what weapon is being held. So if you change the name of the mesh being called in the Player.js you're also going to have to change the name of the Mesh in the Player model.
How do i rotate the model?...I'm holding the gun backwards...thanks ill check the mesh.
thanks now ill need to rotate it, it appears but backwards.
You know... you don't have to post twice.
Just flip the model in animator. If it's backwars, flip it along the z-axis.
Go through all the menus and look for Transform -> Flip -> Z or something similar.