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 Oct 15, 2024 8:36 am
All times are UTC + 0
Getting the description to show in RA building menu.
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
NightFalcon101
Civilian


Also Known As: Falcon
Joined: 30 May 2024

PostPosted: Tue Jul 23, 2024 7:22 am    Post subject:  Getting the description to show in RA building menu. Reply with quote  Mark this post and the followings unread

I'm trying to get the description to show on the Nuclear Destroyer on the left, but still not having any luck, I've tried changing the layout multiple times in the XML files without luck. Does anyone know the correct layout to get the description to show like the original Destroyer on the right? I'm trying to get it to say "Destroyer With Nuclear Capabilities". I attached the 3 MOD XML files used to see the layout as well as paste it below. Any guidance would be appreciated, ty.

The layout works for my TD units, but RA seems to be a whole different story.


MODTEXT.CSV


"TEXT_VESSEL_NUCLEAR_DESTROYER",,,"Nuclear Destroyer",,,,,,,,,,,,,,,,,,,
"TEXT_VESSEL_NUCLEAR_DESTROYER_DESC",,,"Destroyer With Nuclear Capabilities",,,,,,,,,,,,,,,,,,,


MODBUILDABLES.XML


<ObjectDescriptionTextID>TEXT_VESSEL_NUCLEAR_DESTROYER_DESC</ObjectDescriptionTextID>
<BuildIcon>BuildIcon_RA_Destroyer</BuildIcon>
<RequiredTypes>
<entry>RA_SYRD</entry>
</RequiredTypes>
<CategoryTypesWeakAgainst>
<entry>Category_Vessels</entry>
</CategoryTypesWeakAgainst>
<CategoryTypesStrongAgainst>
<entry>Category_Infantry</entry>
</CategoryTypesStrongAgainst>
</CNCEncyclopediaComponent>
</ObjectTypeClass>


RABUILDABLES.XML


<ObjectTypeClass Name="RA_NKDD" Classification="CNCBuildableObject" CanInstantiate="False">
<CNCEncyclopediaComponent>
<ObjectNameTextID>Nuclear Destroyer</ObjectNameTextID>
<ObjectDescriptionTextID>TEXT_VESSEL_NUCLEAR_DESTROYER_DESC</ObjectDescriptionTextID>
<BuildIcon>BuildIcon_RA_Destroyer</BuildIcon>
</CNCEncyclopediaComponent>
</ObjectTypeClass>



UnitDescriptionNotShowings.jpg
 Description:
 Filesize:  265.63 KB
 Viewed:  280 Time(s)

UnitDescriptionNotShowings.jpg



In Game Description (not showing).zip
 Description:

Download
 Filename:  In Game Description (not showing).zip
 Filesize:  5.12 KB
 Downloaded:  0 Time(s)


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] 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.2247s ][ Queries: 14 (0.0129s) ][ Debug on ]