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 Fri Apr 19, 2024 8:23 am
All times are UTC + 0
Does Anyone Know How To Auto Create AI For RA2:YR
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Twistedbrain72
Medic


Joined: 20 Jan 2020
Location: Hiroshima Kure Japan

PostPosted: Mon Dec 07, 2020 4:25 pm    Post subject:  Does Anyone Know How To Auto Create AI For RA2:YR
Subject description: Help me create ai ini automaticaly by reading rules.ini to put to ai.ini
Reply with quote  Mark this post and the followings unread

no other methods i'm sick of manually editing ai.ini anyone hase a tool to
automaticaly create ai.ini please help

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Dec 07, 2020 4:55 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
McPwny
Cyborg Artillery


Joined: 29 Jan 2018

PostPosted: Mon Dec 07, 2020 6:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

i learned AI by using the finalalert2/finalsun interfaces for AI trigger editing. its a good tool to make AI with, but a lot of the things in the interface are ambiguous and/or dont work at all

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Tue Dec 08, 2020 3:38 am    Post subject: Reply with quote  Mark this post and the followings unread

@McPwny: AI Trigger window layout was redesigned in patched FA2 to make it user friendly, check if you have the latest update.

Back to top
View user's profile Send private message
SteamsDev
Soldier


Joined: 12 Mar 2017

PostPosted: Tue Dec 08, 2020 3:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Also if you use the trigger "Create Team" in FA2 you can essentially make the AI do whatever you want. Ever since I learned that I took advantage of that dozens of times.

_________________
"I'm grade-A, 100%, prime-cut final boss! I'm going to take over the world any day now!"
-Bowser, Super Paper Mario

Official scripting leader of BR Studios
Check out our ModDB: http://www.moddb.com/company/progen-group
Yuri's Revenge: CnCD2K: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod

Back to top
View user's profile Send private message
McPwny
Cyborg Artillery


Joined: 29 Jan 2018

PostPosted: Tue Dec 08, 2020 4:24 am    Post subject: Reply with quote  Mark this post and the followings unread

action 4 is like firing an AI trigger but manually.  

thats pretty cool e1elite. though, its the "teamtypes" window that causes the real suffering, since a
lot of the options on there are either completely obsolete, no one knows what they do, or they do something  
thats completely unrelated to their name. most of the time, people cant figure out AI triggers because of the relationship  
between 'ai trigger base defense', 'team base defense', and the 'minimumbasedefensenumbers' logic in rules. but ive kind of gotten off topic.

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Tue Dec 08, 2020 5:24 am    Post subject: Reply with quote  Mark this post and the followings unread

ModEnc usually gets updated with new info on teamtype flags.

There is also a help file that comes with AIEditor, which was put together when ModEnc site was having trouble. It contains description for most of the teamtype flags, not sure if all of those are correct as I had to fill up the remaining based on either ModEnc or DCoder's finding or other sources.

Also check - https://www.modenc.renegadeprojects.com/AITriggerTypes
AI Trigger's base defense flag doesn't make any difference as far as i know.

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


Joined: 09 Feb 2015

PostPosted: Tue Dec 08, 2020 12:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Just to reiterate what E1 was saying, you need to make your own AI according to what you feel it should do.

The AI is AS IMPORTANT a differentiator among mods as the units themselves. It is both a personal design choice and you could even say artisanal.

On a more generic note, the AI should reflect the play styles of the factions, not just the same attacks with the RequiredHouses units, but the strength and style of attacks too.

You also need to make some planning decisions as to how hard you want each enemy player to be, because it's easy to program it to kill you in the first 2min, it is far more difficult to make it a constant challenge, and even harder to balance out their attacks when playing against multipe AI enemies. In my mod I aimed for 3 AI players to be a fun challenge, but 4 AI to be difficult, so playing against 1 is pretty easy, and more suited to learning/experimenting. In this way I gave players the ability to scale up their difficulty from something manageable.

There's no one right answer, you need to make a lot of decisions along the way that a tool can't make for you.

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

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 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.1716s ][ Queries: 11 (0.0076s) ][ Debug on ]