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 Sun May 26, 2024 12:34 pm
All times are UTC + 0
Getting AI To Build Custom Base Defences ?
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
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Fri Mar 31, 2023 3:10 am    Post subject:  Getting AI To Build Custom Base Defences ? Reply with quote  Mark this post and the followings unread

The AI builds all the custom units that I added like troops, aircraft and tanks, but beside adding AIBuildThis=yes, how else do I get it to build all of my custom base defenses ?

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Fri Mar 31, 2023 4:01 am    Post subject: Reply with quote  Mark this post and the followings unread

Defenses are split between 3 tags, BuildDefense, BuildPDefense, and BuildDummy... the first is kind of the preferred defense, the second is the one it builds when it has excess power, and the last category is just randomly interspersed with no particular reasoning.
Forgot YR...

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Last edited by G-E on Fri Mar 31, 2023 11:02 am; edited 1 time in total

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Mar 31, 2023 6:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Note that BuildDefense, BuildPDefense & BuildDummy are used in the original Red Alert 2. In Yuri's Revenge they are replaced with a new system that uses AlliedBaseDefenses=, SovietBaseDefenses= & ThirdBaseDefenses=.

YR also adds the new tags AntiInfantryValue= AntiArmorValue= & AntiAirValue= to the building's code, this tells the AI what type of defense this buildings is so it can better chose they type it needs.

_________________



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
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.1457s ][ Queries: 11 (0.0088s) ][ Debug on ]