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 3:58 am
All times are UTC + 0
Give the Stinger Site, Tunnel Network and SCUD Storm their
Moderators: Generals Moderators, Global 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
Comr4de
Gauss Rifle Trooper


Joined: 23 Feb 2010
Location: The Netherlands

PostPosted: Fri Nov 12, 2010 2:22 pm    Post subject:  Give the Stinger Site, Tunnel Network and SCUD Storm their Reply with quote  Mark this post and the followings unread

I am not good at checking the models and stuff, but what do I need to do to give the Stinger Site, Tunnel Network and SCUD Storm their working 'Fortified Structure' upgrade? I am sure it isn't just adding the upgrade cameo Laughing
And one more thing, upgrading structures with mines does not give a cameo at all right? Not even with a normal China structure

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


Joined: 07 Nov 2006

PostPosted: Sat Nov 13, 2010 1:14 am    Post subject: Reply with quote  Mark this post and the followings unread

1) I suggest you read through my tutorials
2) Each object uses a commandset, which by adding the commandbutton for the upgrade you wish the be accesible to that building, will allow the upgrade to be purchased at said building
3) Each object can have 5 UpgradeCameos wich appear around its selection portrait which indicates which potential upgrades this object can get (greyed out) and which ones have already been researched (colored). Chinese mines do not have an upgrade cameo because mines will eventually be set off, at which point you can buy mines again.
4) Each object that is affected by an upgrade needs a module spelling out how the upgrade affects the object, and then there needs to be corresponding code.

for example:

Code:
  Behavior        = ArmorUpgrade ModuleTag_Armor01
    TriggeredBy   = Upgrade_GLAFortifiedStructure
  End


Code:
  ArmorSet
    Conditions        = PLAYER_UPGRADE
    Armor             = GLAUpgradedStructureArmorTough
    DamageFX          = StructureDamageFXNoShake
  End


Code:
  UpgradeCameo1          = Upgrade_GLAFortifiedStructure


Code:
  Behavior        = ModelConditionUpgrade ModuleTag_Armor01Visual
    ConditionFlag = GARRISONED
    TriggeredBy   = Upgrade_GLAFortifiedStructure
  End

_________________
Please, read the signature rules of the forum.

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.1431s ][ Queries: 11 (0.0081s) ][ Debug on ]