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 8:50 pm
All times are UTC + 0
To get an Upgrade from a General's Purcache
Moderators: DaFool, Dutchygamer
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Tue Aug 31, 2010 4:00 am    Post subject:  To get an Upgrade from a General's Purcache Reply with quote  Mark this post and the followings unread

Gufu and I were talking about potential General's Purchases when I had an idea which I thought would fit well, until I realized that it would require having the General's Purchase give an upgrade. I was wondering if there's any way around this? Currently, General's Purchases consist of three things: Support Powers, Prerequisites to Units, and Triggering certain units to be trained as veterans. The code that can be put into units is below.

Code:
  Prerequisites
    Object                =
    Science               =
  End


Code:
  Behavior = VeterancyGainCreate ModuleTag_
    StartingLevel = VETERAN
    ScienceRequired =
  End


As of now, I can only think of side stepping that could be a little player-unfriendly: A Unit that requires said science to be built, and upon creation it grants the upgrade. The unit could be finetuned to die and the price could be free, so it would essentially become an 'activate' button. Anyone have any other ideas?

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message
JJ_
Light Infantry


Joined: 12 Sep 2008

PostPosted: Sun Oct 10, 2010 5:04 am    Post subject: Reply with quote  Mark this post and the followings unread

You can make an upgrade (or rather a button) require a science to be built. Check the MOAB. Unfortunately there's no way to make upgrades directly triggered by general's promotion. No that I know of, anyway.

Back to top
View user's profile Send private message
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.1454s ][ Queries: 11 (0.0094s) ][ Debug on ]