This little tut will teach you how to move weapons from one soldier to another without it becoming invisible. For this tutorial, I will use the engineers. the first step is to go to the ebps of the rifleman (experienced users should know what im talking about) then copy his combat_ext
Step 1: go to the engineer's ebps and paste it on his combat, statwise the engineers will have garands, but theyre invisible.
Step 2: this is the hard part, go to "data\art\models\races\allies\soldiers\ and open up engineer.abp, you'll see something like this:
model =
{
"..\\..\\Common\\CompleteMotionTree.abp",
"..\\..\\Common\\CommonMeshes.abp",
"Weapons\\M3_GreaseGun",
"Engineer\\Engineer",
"Weapons\\Flamethrower",
}
simvis_attributes =
{
model_scale = 1.0,
SingleBoneSkinningDistance = 0, -- engineer's backpack stretches in single bone mode
}
This little bit of code tells the game what models to give to the engineer, to give weapons not included here add this (PS, i added 2 extra lines for fun)
model =
{
"..\\..\\Common\\CompleteMotionTree.abp",
"..\\..\\Common\\CommonMeshes.abp",
"Weapons\\M3_GreaseGun",
"Engineer\\Engineer",
"Weapons\\Flamethrower",
"Weapons\\M1911A1_Colt_45",
"Weapons\\M1_Carbine",
}
simvis_attributes =
{
model_scale = 1.0,
SingleBoneSkinningDistance = 0, -- engineer's backpack stretches in single bone mode
}
now your'e wondering, how do i do this with other weapons? that answer is simple in the race's art folder you will se a folder called "weapons". Open it up in corsix's then you will see a lot of folders. these are the names say you wanted to give engineers sniper rifles, simply add "Weapons\\m1903 springfield" or if using another weapons "weapons\\(weapon name)". that concludes this part of the tutorial
PART 2
if you were to give k98s to a rifleman squad, you need to change the directory. open up the riflemans abp and type "..\\..\\Axis\\Soldiers\\Weapons\\Kar98", this code is pretty self explanatory, so i wont add any more





