// Help, my gun isn't being held at the handle! Adjust these 2 numbers until it looks right.
public override Vector2? HoldoutOffset()
{
return new Vector2(10, 0);
}
thank youExample Mod's ExampleGun.cs file has something that may help. Specifically, these lines:
Code:// Help, my gun isn't being held at the handle! Adjust these 2 numbers until it looks right. public override Vector2? HoldoutOffset() { return new Vector2(10, 0); }
Example Mod should help you with where to place that. Fiddle with those two numbers until it's right.
one more thing if you don't mind do you know how to make npc not hold the gun by the stock too? i tried putting in the code (might sound stupid idk) but it gives me a error do you think i should search for the code in the example mod?No problem.
sorry i just realised that changing that changes the position for the npc too but it kinda messed up for himthank you
thanks for the helpAlright. Well, good luck with your mod.