📢 ModWorkshop x Sidetrack Games

Hey everyone, Milk here. You might remember me as the one who manages ModWorkshop from behind the scenes.

I've got some good News for all of you.

Me and Luffy decided to join ModWorkshop with Sidetrack Games (the guys who made RAID: WW2 updates and maintain PAYDAY 2)

Going forward that means there wont be any more ads. Nobody liked those anyways.
It also means we will have some more resources to run ModWorkshop, so it'll be a bit faster.

As for how ModWorkshop works and operates, that does not change.
The community continues to be in charge and makes the decisions that matter.

This generally means the burden of everything isn't just on me alone anymore.
And it also means that there is a better future ahead for ModWorkshop.
Running certain things alone has not always been easy.

So to a better future and lots of cool new mods.

Sights Placement
Avatar

i want a mod that changes the sights/optics placement because they're annoying while they far. and a couldn't found a mod does that or if i could do that myself

Avatar

Custom Attachment Points can sorta do what you're looking for ... wherever that is on the website.
(Weaponlib has CAP built in as a function, but insert jokes here about "weaponlib did it" and "not compatible with [overhaul]" so CAP might be better for what you're looking for)

The optic attachment point is normally a_o on pretty much all weapons. Using CAP functionality, you would make a new CAP attachment point named a_o for [insert weapon here using its internal id], then modify the y value of the Vector3 position to move the optic however far up or down the rail you want

The last time I recall messing with CAP, I vaguely remember negative values in y would bring the optic closer to the camera/the butt of the gun in terms of centimeters (?), while positive values in y would move the optic away from the butt of the gun/to the muzzle of the gun

Example here with the AK17, would go in weapontweakdata. y would need to be replaced with a numerical value such as 20 or -7

Spoiler!
self:SetupAttachmentPoint( "flint", {
    name = "a_o",
    base_a_obj = "a_o",
    position = Vector3( 0, y, 0 ),
    rotation = RotationCAP( 0, 0, 0 )
})
Avatar

ok thanks for the help but tbh idk how to use CAP or which file i need to edit with

37 764