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 Mon May 25, 2026 1:19 pm
All times are UTC + 0
Upgrades
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
Daz
Energy Commando


Joined: 26 Apr 2003

PostPosted: Sat Aug 25, 2007 2:40 pm    Post subject:  Upgrades
Subject description: Having Problems
Reply with quote  Mark this post and the followings unread

From looking at the Railgun upgrade I need entries to cover the following:

I can't get a button for my upgrade to show in a command set (in this case the Tech Center)

I've cloned the code for the railgun upgrade from the following:

UnitAbilityButtonTemplates.xml - The button itself.
LogicCommand.xml - What happens when you click the button.
LogicCommandSet.xml - List the button under a building, etc.
GUPredator.xml - Tell the unit what to do when the upgrade has been bought, ie change weapons.
upgrade.xml - The upgrade.
PackedImages.xml - Button graphics.

I've got all that, and as far as I can see the game knows the upgrade exists (it shows on the tank itself as an available upgrade) but I can't get the button to show on the Tech Center.
I replaced the Sensor Pods upgrade in the command set with the new upgrade but the new button won't show, it's definately reading the file though as the Sensor Pods upgrade is now missing from the Tech Center.

Has anyone managed this yet?

_________________

Back to top
View user's profile Send private message Visit poster's website
Daz
Energy Commando


Joined: 26 Apr 2003

PostPosted: Sun Aug 26, 2007 8:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Noone?

It's not like me to be on the forefront of coding...

_________________

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