Giving the robot a GM/TB skin

TFBot { Health 200 Name Soldier Class Soldier Skill Normal Item "tf_weapon_rocketlauncher" Item "tf_weapon_shotgun_soldier" Item "tf_weapon_shovel" }

TFBot { Health 200 Name Soldier Class Soldier Skill Normal Item "warbird_rocketlauncher_warhawk" Item "tf_weapon_shotgun_soldier" Item "tf_weapon_shovel" }

TFBot { Health 200 Name Soldier Class Soldier Skill Normal Item "warbird_rocketlauncher_warhawk" ItemAttributes { } Item "tf_weapon_shotgun_soldier" Item "tf_weapon_shovel" }

TFBot { Health 200 Name Soldier Class Soldier Skill Normal Item "warbird_rocketlauncher_warhawk" ItemAttributes { ItemName "warbird_rocketlauncher_warhawk" } Item "tf_weapon_shotgun_soldier" Item "tf_weapon_shovel" }

TFBot { Health 200 Name Soldier Class Soldier Skill Normal Item "warbird_rocketlauncher_warhawk" ItemAttributes { ItemName "warbird_rocketlauncher_warhawk" "set_item_texture_wear" 0.75 } Item "tf_weapon_shotgun_soldier" Item "tf_weapon_shovel" }

First open up your .pop file and find the code for the robot you want to give the skin too.Now look for your bots TFBot definition, which should look similar to this:This is the code for my soldier bot. Lets say I want to give him the War Hawk Rocket Launcher. First we need to know the name of the skin, which is warbird_rocketlauncher_warhawk. We want to replace tf_weapon_rocketlauncher with warbird_rocketlauncher_warhawk since the skin is for a Rocket Launcher.Your code should now look like this:Now hold your horses and don't go and test your code just yet. We're not finish yet. What if I told you can set the skin quality? Well you can and we're gonna give this bot a well-worn warhawk.First we need to set up an ItemAttributes field. To do that just add ItemAttributes {} as shown below.Now in the ItemAttributes we need two things, ItemName and set_item_texture_wear. ItemName tells the game what item we want to change. Since its the Warhawk skin, we will use the same name we did for "Item". Now Let's edit the code to add the ItemName.Make sure you put the weapon skin name in quotes or else you're going to run into issues. Now to make it well worn. We need to add "set_item_texture_wear" (quotes are needed) and we'll set the valve to 0.75.NOW you can save the .pop file and go test the bot out. If you did it all right, it should look something like this: