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 Mar 29, 2024 9:52 am
All times are UTC + 0
Stacking AI because of GACSPH
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Wed Feb 08, 2017 3:10 pm    Post subject:  Stacking AI because of GACSPH
Subject description: No time travellll....
Reply with quote  Mark this post and the followings unread

Hello, guys

Before to the problem, see my codes below

Code:
NWAIA139-G=Allied Chronosphere Unit (Allied) - E,NWTTA128-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,1,0,0
NWAIA140-G=Allied Chronosphere Unit (Allied) - M,NWTTA129-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,0,1,0
NWAIA141-G=Allied Chronosphere Unit (Allied) - H,NWTTA130-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,0,0,1
NWAIA142-G=Allied Chronosphere Unit (Soviet) - E,NWTTA131-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,1,0,0
NWAIA143-G=Allied Chronosphere Unit (Soviet) - M,NWTTA132-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,0,1,0
NWAIA144-G=Allied Chronosphere Unit (Soviet) - H,NWTTA133-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,0,0,1
NWAIA145-G=Allied Chronosphere Unit (Yuri) - E,NWTTA134-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,1,0,0
NWAIA146-G=Allied Chronosphere Unit (Yuri) - M,NWTTA135-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,0,1,0
NWAIA147-G=Allied Chronosphere Unit (Yuri) - H,NWTTA136-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,0,0,1
NWAIA148-G=Allied Chronosphere Unit (BFrc) - E,NWTTA137-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,1,0,0
NWAIA149-G=Allied Chronosphere Unit (BFrc) - M,NWTTA138-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,0,1,0
NWAIA150-G=Allied Chronosphere Unit (BFrc) - H,NWTTA139-G,<all>,9,6,<none>,0000000000000000000000000000000000000000000000000000000000000000,2500.000000,2500.000000,2500.000000,1,0,1,0,<none>,0,0,1


My Chronosphere AI stacking in their base. I did the TeamTypes, Scripts, and the AITriggerTypes correctly.

When I did a test, 3 Allied AIs vs 2 Soviet AIs, sometimes the AI use Chronosphere vs Soviet AI, but mostly AI use Chronosphere vs Allied/Yuri/Black Force (due to I use Soviet for the enemy AI) and it caused stacking in the base, and even I use Recruiter=yes and AreTeamMembersRecruitable=yes for these AIs, they freezed/sleep/doing nothing.

Any solution for this?

_________________
Quote:
Humans were born for two things: to pray and be productive.


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


Joined: 09 Feb 2015

PostPosted: Wed Feb 08, 2017 9:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well chances are it's because the production of the team completes with plenty of time left on the clock to trigger it again, you can lower the weights, use less triggers/teams per side, or make them house specific.... anything to reduce the amount of overlap.

Of course you could make the teams really big, but the superweapon will still only affect the same few units at a maximum.

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

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


Joined: 28 May 2013

PostPosted: Thu Feb 09, 2017 3:54 am    Post subject: Reply with quote  Mark this post and the followings unread

There is only a single superweapon per side that gets applied to a team
at a time. So better to have a single AITrigger per side per difficulty rather
than side specific multiple AITriggers. I don't know how it is implemented
in the game, but if multiple AITriggers gets fired, leaving one, rest of the
teams will be waiting until next recharge. So try first without making them
side specific.

Also the weights could be set to 5000, no need to wait once the SW is
charged and available.

There could be several other reasons, like team could be scattered (gather
script not given), or the team could be too big, or you have not used the
SW applying script (57,struct#) or rules flags tinkered etc. Also there is no
need for recruitment, something could be wrong there too. If it doesn't
get solved, then share your INI files instead of the guessing game for us.

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Thu Feb 09, 2017 12:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

But how do we make it have another condition, like Chronosphere Trigger will use if the enemy is Soviet, etc. Is it possible?

_________________
Quote:
Humans were born for two things: to pray and be productive.


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