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 Tue Apr 23, 2024 2:13 pm
All times are UTC + 0
Description problem
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Thu Jan 06, 2011 12:14 am    Post subject:  Description problem
Subject description: Solved!
Reply with quote  Mark this post and the followings unread

Code:
<SpecialPowerTemplate id="SpecialPowerEMPGrenade_Targeted" TargetType="OBJECT_OR_LOCATION" NameOfVoiceNameToUseAsInitiateIntendToDoVoice="VoiceSensorPod" ReloadTime="15s" WaypointModeTerminal="false">
    <ObjectFilter Rule="ANY" Relationship="ENEMIES" Include="VEHICLE STRUCTURE" />
    <GameDependency>
      <NeededUpgrade>Upgrade_Veterancy_HEROIC</NeededUpgrade>
    </GameDependency>

The above example is the template for my Emp grenade special ability. Has you can see it requires that the grenade squad is heroic before it is unlocked. The problem is that the normally useful tool-tip that you'd get if you directed your mouse cursor over the special ability symbol, refuses to advise you of the requirements* (I believe that this is due to the 'Heroic' upgrade being an 'OBJECT' upgrade).

Can anyone think of a work around so a new player will get the correct info from the tool-tip?
(While it is true that having a 'Commandsetupdate', that swaps a generic infantry 'Commmandset' for one which contains the Emp abilities 'LogicCommands' once the heroic rank is achieved, I find that the AI refuses to use abilities that are gained from a 'LogicCommandsetUpdate' (prehaps due to it being gained from an 'Object' type upgrade) and I want the AI to use this new ability).



EmpFail.jpg
 Description:
* Informative tool tip...
 Filesize:  224.79 KB
 Viewed:  1917 Time(s)

EmpFail.jpg



Last edited by Madin on Thu Jan 06, 2011 4:12 am; edited 1 time in total

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Thu Jan 06, 2011 2:30 am    Post subject: Reply with quote  Mark this post and the followings unread

The problem is that the name is displayed but the default DisplayName attribute for this upgrade is just blank.

_________________

Back to top
View user's profile Send private message Skype Account
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Thu Jan 06, 2011 4:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Ju-Jin wrote:
The problem is that the name is displayed but the default DisplayName attribute for this upgrade is just blank.

Thanks for the solution! Smile

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 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
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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.1401s ][ Queries: 14 (0.0112s) ][ Debug on ]