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 1:18 am
All times are UTC + 0
How do I change special ability target filter?
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
kenosis
Commander


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Fri Nov 22, 2019 6:09 am    Post subject:  How do I change special ability target filter? Reply with quote  Mark this post and the followings unread

For example. Tank Hunter TNT attack can only be used on neutral or enemy. How do I change this? The only thing I found in the INIs is its cooldown.

_________________
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
DaubertMotion
Soldier


Joined: 17 Dec 2015

PostPosted: Sun Dec 15, 2019 4:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Compare:

Code:
CommandButton Command_ChinaInfantryTankHunterTNTAttack
  Command                 = SPECIAL_POWER
  SpecialPower            = SpecialAbilityTankHunterTNTAttack
  Options                 = NEED_SPECIAL_POWER_SCIENCE OK_FOR_MULTI_SELECT NEED_TARGET_ENEMY_OBJECT NEED_TARGET_NEUTRAL_OBJECT
  TextLabel               = CONTROLBAR:TNTAttack
  ButtonImage             = SSTNT
  CursorName              = TankHunterTNTAttack
  InvalidCursorName       = PlaceChargeInvalid
  ButtonBorderType        = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:ToolTipChinaFireTankHunterTNTAttack
End


with

Code:
CommandButton Command_GLAInfantryRebelBoobyTrapAttack
  Command                 = SPECIAL_POWER
  SpecialPower            = SpecialAbilityBoobyTrap
  Options                 = NEED_SPECIAL_POWER_SCIENCE OK_FOR_MULTI_SELECT NEED_TARGET_NEUTRAL_OBJECT NEED_TARGET_ALLY_OBJECT NEED_UPGRADE
  Upgrade                 = Upgrade_GLAInfantryRebelBoobyTrapAttack
  TextLabel               = CONTROLBAR:BoobyTrapAttack
  ButtonImage             = SSTNT
  CursorName              = TankHunterTNTAttack
  InvalidCursorName       = PlaceChargeInvalid
  ButtonBorderType        = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:ToolTipChinaFireRebelBoobyTrapAttack
  UnitSpecificSound       = RebelVoiceModeBoobyTrap
End

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