How do i prevent the ai from building the ship from a mod ?

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

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

noorder
Posts: 10
Joined: Mon, 11. Feb 19, 04:23
x4

How do i prevent the ai from building the ship from a mod ?

Post by noorder »

sorry for noob question but i have a mod that adds ship into a wharf i want to prevent it to be builded by AI i dont want AI to use it for now so how do i stop that from happening ? thanks in advence :)
Edit: i want the player to be able to build that ship from that faction's shipyard but i dont want AI to be able to build it ...
Edit 2 : i wonder if i delete shipgroups.xml will it prevent the AI from building ? and player will still be able to build it ?
User avatar
TVCD
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 7254
Joined: Sat, 18. Dec 04, 18:43
x4

Re: How do i prevent the ai from building the ship from a mod ?

Post by TVCD »

I move your topic into the right forum. :wink:

[Topic moved]
"Manche Menschen können den Regen spüren, andere werden nur nass"
noorder
Posts: 10
Joined: Mon, 11. Feb 19, 04:23
x4

Re: How do i prevent the ai from building the ship from a mod ?

Post by noorder »

TVCD wrote: Sun, 10. May 20, 07:19 I move your topic into the right forum. :wink:

[Topic moved]
thanks sorry of opening it on wrong section
User avatar
Shuulo
Posts: 1633
Joined: Mon, 14. Apr 08, 17:03
x4

Re: How do i prevent the ai from building the ship from a mod ?

Post by Shuulo »

AI cannot build that ship unless it is added in ships or shipgroups libraries, so you can check those files and remove ship macro from there
noorder
Posts: 10
Joined: Mon, 11. Feb 19, 04:23
x4

Re: How do i prevent the ai from building the ship from a mod ?

Post by noorder »

Shuulo wrote: Sun, 10. May 20, 19:24 AI cannot build that ship unless it is added in ships or shipgroups libraries, so you can check those files and remove ship macro from there
thanks alredy figured it out fiddling with the files lol
DerFangzahn
Posts: 8
Joined: Tue, 20. Apr 21, 09:22

Re: How do i prevent the ai from building the ship from a mod ?

Post by DerFangzahn »

Would also be intersted in this information. What files to manipulate?

Thx

Return to “X4: Foundations - Scripts and Modding”