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 11:10 pm
All times are UTC + 0
An another uses of NPatch's AI power plant select system
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Linglin
Civilian


Joined: 28 Aug 2010

PostPosted: Fri Oct 12, 2012 4:57 am    Post subject:  An another uses of NPatch's AI power plant select system Reply with quote  Mark this post and the followings unread

Seem almost nobody knows about this (except MK) so I post it here.
Original thread:http://bbs.ra2diy.com/thread-2536-1-1.html
At first I tested on MO2.5 Beta(leak) and Reloaded0.99 it works.
here's example based on reload0.99 (disabled other AI only powerplants)
Code:

[GDI]
PowerPlant=GAPOWR,GDIPOWR
PowerPlants=GAPOWR,GDIPOWR,GDIPOWRUP,GDIPOWRUP2 (GDIPOWRUP2 is recommend)
[Nod]
PowerPlant=NAPOWR,NODPOWR
PowerPlants=NAPOWR,NODPOWR,NODAPWR,NANRCT

as you can see , AI won't pick wrong power plant to build . Allied will build GAPOWR , GDI will build GDIPOWR with two power upgrades ,NOD will build NODAPWR more often ,Soviets will build NANRCT if needs power . that means you needn't to care about the fake side/country powerplant problem.
If you want to let this logic to work on ThirdSide and FourthSide , simply register [ThirdSide] , [FourthSide] and put PowerPlant= and PowerPlants= if you want.
Note:Power in PowerPlants= (include Powerplant upgrades) must have AIBuildThis=yes,or AI won't build this very often.
BUG:Just like in TS,this logic ignore TechLevel= .Just like GDI's AI Build Power Upgrade in TL1.
--------------------------------------------------------------------------
You also can set something that uses power in that tag,AI will build it acts a powerplant,but if you want AI won't stuck on base building,set the real powerplant to the last just like this:
Code:
PowerPlants=NAHAND,NAWEAP,NAYARD,NAPOWR,NANRCT

---------------------------------------------------------------------------
Don't ask me for getting MO2.5 Beta and EATG5 Beta!


Key Words: #Tutorials #Modding #RedAlert2 #YurisRevenge #Ares #NPatch #Rules.INI 

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


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Fri Oct 12, 2012 5:41 am    Post subject: Reply with quote  Mark this post and the followings unread

煋,屁屁挨摸上都不用NP

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Fri Oct 12, 2012 10:11 am    Post subject: Reply with quote  Mark this post and the followings unread

I guessed this behaviour. I say guessed, because to hell with NPatch, and that idea works well within Ares's AI.PowerPlants list too.

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Linglin
Civilian


Joined: 28 Aug 2010

PostPosted: Sun Oct 14, 2012 11:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Graion Dilach wrote:
I guessed this behaviour. I say guessed, because to hell with NPatch, and that idea works well within Ares's AI.PowerPlants list too.

Seems like almost no NP mods uses it so I post it. Smile
But Ares' AI still buggy on the power plant selection
just like reloaded 1.0's Nod still build some Power Plants even Adv Power can be built,and NP's power logic acts like in TS's AI(or different).

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sun Oct 14, 2012 12:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Why buggy? It's random, sometimes even you bulid small plants when you have access to bigger s well (because you're in low power already and smaller ones gets completed earlier to push you out of low production mode).

What you think of is SovietAdvancedPower= tag or something, which is NOT the (AI.)PowerPlants= logic.

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 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.1387s ][ Queries: 11 (0.0074s) ][ Debug on ]