S&box Wiki

Revision Difference

Importing_Rust_Weapon_Models#529360

<cat>Dev.Tools</cat>⤶ <title>Importing Rust Weapons</title>⤶ ⤶ While this isn't directly useful to anyone outside of Facepunch, I'm creating this guide here because I think it might be indirectly useful.⤶ ⤶ # Copying Source Files⤶ ⤶ I don't want to end up with a load of odd named files, so I'm going to spend some time to rename and organise the source files.⤶ ⤶ We're going to give everything a rust_* name.⤶ ⤶ <upload src="1/8d8d42ac983ca74.png" size="16917" name="image.png" />⤶ ⤶ Animations are going to start with the name of the model they're for. They're going to be all lowercase.⤶ ⤶ <upload src="1/8d8d42afcc0f89a.png" size="38031" name="image.png" />⤶ ⤶ Same with sounds⤶ ⤶ <upload src="1/8d8d42b1cef4270.png" size="35808" name="image.png" />⤶ ⤶ With textures things are generally a lot easier here if you name them properly from the start. Source 2 likes the files to have _color, _normal, _rough, _ao, _trans etc on the end. It's a naming convention that we should try to stick to too.⤶ ⤶ <upload src="1/8d8d42b7308fd93.png" size="8153" name="image.png" />