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 Thu Mar 28, 2024 4:24 pm
All times are UTC + 0
[Solved] Prevent AI from building stuff too soon.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Sat Jul 10, 2021 7:07 pm    Post subject:  [Solved] Prevent AI from building stuff too soon. Reply with quote  Mark this post and the followings unread

Screenie courtesy of CatTanker; this map is optimised for vYR and was made with vYR stuff in mind. Mostly.

I have a mission where I want the AI to not actually do anything until the appropriate triggers fire.

The AI has a base node it's not supposed to start building until after the trigger fires.

Unfortunately, the AI still builds the node and a miner despite already having three on Harvest missions.

The map is the RA2 Soviet 02 map; it'll probably work for YR without trouble because it uses the regular Houses and not custom ones like the other missions.

I have already disabled all triggers, and yet the AI still builds things!

Trigger that enables production is American Troops Build. The AI should build an AMRADR next to the 3 WFs only after a specific trigger fires, not before. And yet it does.
Code:
[Actions]
07B11750=10,3,0,0,0,0,0,0,A,74,0,0,0,0,0,0,A,38,0,7,0,0,0,0,A,38,0,5,0,0,0,0,A,38,0,8,0,0,0,0,A,53,2,01000063,0,0,0,0,A,53,2,01000065,0,0,0,0,A,14,0,0,0,0,0,0,A,53,2,01000067,0,0,0,0,A,0,0,0,0,0,0,0,A





You see that ACHQ Base Node?
That thing is not supposed to pop up.

The Boomers are to get testing faster; they're non-canon Smile
Same to SpySat and Allied Power Plant I put there too.

There's only one instance of 3,0,0,0,0,0,0,A and 74,0,0,0,0,0,0,A in the file; under 07B11750 American Troops Build.
13,0,0,0,0,0,0,A doesn't exist in map.
I've already tried PercentBuilt=100 and PercentBuilt=0, no difference.
Same goes to [Basic] > IgnoreGlobalAITriggers=yes



sov02t.map
 Description:

Download
 Filename:  sov02t.map
 Filesize:  214.22 KB
 Downloaded:  3 Time(s)


_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Last edited by TAK02 on Sat Jul 10, 2021 7:28 pm; edited 1 time in total

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Sat Jul 10, 2021 7:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Solved.

Solution: IQ levels.

If a House has an IQ equal or larger than what [IQ] > Production= it'll build things regardless of things like PercentBuilt.

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 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.1451s ][ Queries: 13 (0.0095s) ][ Debug on ]