Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Oct 15, 2024 10:19 am
All times are UTC + 0
Some AI questions
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Overmind
Rocket Cyborg


Joined: 05 May 2022

PostPosted: Mon May 16, 2022 6:04 am    Post subject:  Some AI questions Reply with quote  Mark this post and the followings unread

I'm experimenting with the AI and there are some things I noticed:

- For new base defenses it does not respect BuildLimit.
- For new units it does not respect prerequisites; it will build very powerful units without the prerequisite requirements.

If for the defenses, that's not much of an issue, for prerequisites there's a problem. Is there any way to fix this ?

- How does AI Trigger TechLevel work ?
Does this affect the above ?
Does it relate to the TechLevel of the used units ?

- How does the AI progresses through TechLevels ?

Thank you in advance for any feedback.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Mon May 16, 2022 6:43 am    Post subject: Reply with quote  Mark this post and the followings unread

The AI ignores the BuildLimit & Prerequisites setting on the unit's rules code, they are only used to limit the player.

TechLevel= on TeamTypes is old code leftover from previous games & doesn't do anything. You need to instead use the TechLevel setting on the trigger to control when a team can be built.

The AI's current tech level is determined by what buildings they own, for example a barracks has TechLevel=2 so when built they can then use any AI triggers up to tech level 2, tech centers have TechLevel=8, so again once built the they can then use level 8 triggers etc.

You can also use a trigger that has the condition of "if" AI owns a tech center (or any specific building) then build powerful units etc, this will give you the most direct control over what the AI builds & when.

_________________



Last edited by Mig Eater on Mon May 16, 2022 7:14 am; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Overmind
Rocket Cyborg


Joined: 05 May 2022

PostPosted: Mon May 16, 2022 6:47 am    Post subject: Reply with quote  Mark this post and the followings unread

I assumed the TechLevel-Trigger thing but was not sure how it works; thanks for clearing it up. I will do some testing with conditions.

_________________
Red Alert 2 Yuri's Revenge Apocalypse mod:

https://www.moddb.com/mods/apocalypse1

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2285s ][ Queries: 11 (0.0207s) ][ Debug on ]