Jump to content
Sign in to follow this  
TK3600

How to make AI build 2 war factories?

Recommended Posts

TK3600    1

I tried to change the build ratio, but even up to 0.35 the AI only build 1 war factory. I've seen some videos of mods online that has 3 war factories. Where should I change?

Edit:

May I ask a few more question? Is this just me or AI never use dreadnaught, carrier except for bombing ship yard? Siege chopper only sit at base do nothing. Is there a way to change that?

Is there a way to increase AI's eagerness to capture oil derricks?

 

Edited by TK3600

Share this post


Link to post
Share on other sites
Nmenth    231

The AI are prevented from building more than one War Factory for balancing reasons. I can't remember if it is hard coded though.

Dreadnaught is probably only scripted to attack ship yards, you would need to add more scripts for it. Siege Chopper... not sure, it might only be scripted to defend the base or maybe it is hard to script because it has to deploy.

I think the AI's eagerness to do anything is managed with weighting, so you would have to change the weight on Engineers scripted to capture Oil Derricks.

I'm not very well-versed in AI modding, I lost interest in modding before I got very deep into it and it's been so long I'm forgetting details as well, so I can't really give you more specific answers.

Share this post


Link to post
Share on other sites
TK3600    1
On 8/23/2017 at 5:50 PM, Nmenth said:

The AI are prevented from building more than one War Factory for balancing reasons. I can't remember if it is hard coded though.

Dreadnaught is probably only scripted to attack ship yards, you would need to add more scripts for it. Siege Chopper... not sure, it might only be scripted to defend the base or maybe it is hard to script because it has to deploy. 

I think the AI's eagerness to do anything is managed with weighting, so you would have to change the weight on Engineers scripted to capture Oil Derricks.

I'm not very well-versed in AI modding, I lost interest in modding before I got very deep into it and it's been so long I'm forgetting details as well, so I can't really give you more specific answers.

Thanks for the reply! Is there anywhere I can edit AI's build order? It seemed weird there is a max war factory setting if they can only build one. I swear I saw a video of a guy with some naval mod which AI always have 2 war factories.

I looked further into dreadnaught problem. It appears it can only engage naval target and ship yard even though the AI is set to 0,6 which means "attack factory". When I observed AI vs AI battle occasionally it will attack tanks going too close to it. I think I will play around more with 0,1 the attack all code. As for carrier... Only the taskforce exist, no trigger, team type... Someone is being lazy with AI.

Yes, I used the exact method for oil derick, it was a significant improvement. However, I have a new problem. It appears AI ignores machine shop and hospital, but in rare situation would capture them. I looked into code, only Yuri faction has code related to them. I am not sure where to begin to fix that.

 

May I ask another question? https://github.com/askeladdk/aiedit

What app do I need to use this tool? I think I can do a lot more with it than notepad. 

Share this post


Link to post
Share on other sites
Nmenth    231
4 hours ago, TK3600 said:

Is there anywhere I can edit AI's build order?

Probably, but I don't know where.

4 hours ago, TK3600 said:

I swear I saw a video of a guy with some naval mod which AI always have 2 war factories.

There are ways to circumvent almost everything. And if it is hard coded, then people use something like Ares to circumvent it anyway.

4 hours ago, TK3600 said:

Someone is being lazy with AI.

Yes, the default AI is not very fleshed out.

4 hours ago, TK3600 said:

What app do I need to use this tool?

I never used it myself, or any other AI editing tools aside from what can be found in FinalAlert 2.

Share this post


Link to post
Share on other sites
TK3600    1

AI players can be made to build more than one building of a type, which previously was only possible for special buildings like refineries, or using building clones to emulate this. Ares adds new options to support this directly, for each difficulty level, and also with some element of randomness. Pimp your AI by letting it build more War Factories. Also, the buildup and sell time of structures can now be customized, thus making slowly deploying buildings possible.

 

Well, apparently ARES can have AI build extra factory on newest update. I have no idea how to use it. Too bad!

Share this post


Link to post
Share on other sites
Nmenth    231
21 hours ago, TK3600 said:

There is an AI editing tool in final alert?

Yes, but it is used for specific maps, not the game in general. I am not sure how good it is compared to other editing tools since I never used any others.

1 hour ago, TK3600 said:

previously was only possible for special buildings like refineries, or using building clones to emulate this

As I expected. I did think of the idea of using building clones, and I see that seems to have been the go-to trick for modders in the past.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×