No gimbal weapons on small ships possible?

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Pan_de
Posts: 13
Joined: Wed, 2. Jan 13, 00:06

No gimbal weapons on small ships possible?

Post by Pan_de »

Hello,
Idea is basically, that I dont like Aim assist. But ofc i dont just wanna turn it off for myself but for all AI too. Turrents can ofc keep rotating. Is this generally possible to do? Has it been done before? WOuld it cause issues with AI?
Rothank
XWiki Moderator
XWiki Moderator
Posts: 93
Joined: Mon, 11. Aug 14, 22:48
x4

Re: No gimbal weapons on small ships possible?

Post by Rothank »

no gimbal weapons already exist (Railgun, Boson, Meson). AI is... not great with them.

If you wanted to mod all weapons to be like this you would need to either:
A) change rotation speed in ALL weapon macros to 0
B) change rotation restrictions to 0 in ALL weapon component files
for B, each component file has X and Y restriction that look similar to below:

Code: Select all

					<restriction type="rotation_y">
						<limits>
							<min value="-10"/>
							<max value="10"/>
						</limits>
					</restriction>
You would need to diff the component files to remove the restrictions completely, which will lock the weapons in place.
Image Image
Image
j.harshaw
EGOSOFT
EGOSOFT
Posts: 2200
Joined: Mon, 23. Nov 15, 18:02

Re: No gimbal weapons on small ships possible?

Post by j.harshaw »

This can work and AI can work with it since aiming is done per weapon. It's mostly the player experience that suffers since weapons can't converge on one target so you can't really use your targeting reticle.
Pan_de
Posts: 13
Joined: Wed, 2. Jan 13, 00:06

Re: No gimbal weapons on small ships possible?

Post by Pan_de »

Alright i tried 0 rotation but the AI really cant handle it. Missing most of their shots. Instead i reduced it to 10 percent.

Return to “X4: Foundations - Scripts and Modding”