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 Apr 18, 2024 6:23 pm
All times are UTC + 0
Upgrades are only used once.
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
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Sun Jun 04, 2017 6:59 pm    Post subject:  Upgrades are only used once. Reply with quote  Mark this post and the followings unread

So I made an upgrade for Power Plant and that'll be the upgrade for every existing Power Plant in the game. The problem is AI only upgrades one Power Plant and didn't upgrade others.

Code:

[TUBUPGRADE]
Image=GAPOWRB_B
UIName=Name:POWUP
Name=Turbine Upgrade
Prerequisite=GAPOWR
BuildCat=Combat
Armor=wood
TechLevel=1
AIBasePlanningSide=0
Sight=1
Owner=Americans,Japan
RequiredHouses=Americans,Japan
Cost=500
Power=100
Points=10
AIBuildThis=yes
PowersUpBuilding=GAPOWR
PowersUpToLevel=-1
ThreatPosed=0
Capturable=no
Crewed=no


Did I make some sort of mistake or is this an AI problem?

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


Joined: 14 Jul 2015
Location: Egypt

PostPosted: Sun Jun 04, 2017 7:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Can it be used twice in RA2 too? i know you can do that in TS.

_________________
If you are a MetalHead (Heavy Metal Fan) and don't want to be a metalhead, Just remove your metal ball from your head. �:p .

Back to top
View user's profile Send private message ModDB Profile ID Skype Account
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sun Jun 04, 2017 8:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm not sure if the logic still works in RA2 but in TS you need to add the upgrade to GDIPowerTurbine= for the AI to build more then one.

The latest version of Ares adds the ability for you to specify the number of times the AI should build each building, which could theoretically be used to fix this if the original TS logic doesn't work anymore.

_________________



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
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sun Jun 04, 2017 8:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

The Turbine should be listed on the AI.PowerPlants list.

That worked years ago already. You don't need IIRC AIBuildThis with that even.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

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


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Mon Jun 05, 2017 5:05 am    Post subject: Reply with quote  Mark this post and the followings unread

PussyPus wrote:
Can it be used twice in RA2 too? i know you can do that in TS.

Upgrade System from TS is unchanged in RA2 AND YR. But, as Graion already said, Ares has it's perks.

_________________
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 [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.1471s ][ Queries: 11 (0.0067s) ][ Debug on ]