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: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
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 » Sun, 10. May 20, 01:02

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: 7035
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 » Sun, 10. May 20, 07:19

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 » Sun, 10. May 20, 14:17

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: 1629
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 » 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

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 » Sun, 10. May 20, 20:37

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 » Wed, 12. May 21, 10:21

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

Thx

Post Reply

Return to “X4: Foundations - Scripts and Modding”