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 4:59 pm
All times are UTC + 0
vanishing building
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Longshanks
Cyborg Soldier


Joined: 20 Oct 2007

PostPosted: Fri Aug 21, 2009 3:23 am    Post subject:  vanishing building Reply with quote  Mark this post and the followings unread

I tried modding the GDI barracks to replace itself with an upgraded version. Trouble is, when I upgrade it, it deletes itself.
Code:
<ReplaceSelfUpgrade
       <id="ModuleTag_ReplaceBarracks"
       <NewObjectUnpackTime>
     <TriggeredBy>Upgrade_GDIArmoryRailgunTech</TriggeredBy>
     <ReplacementTemplate>GDIBarracksUpgr</ReplacementTemplate>
</ReplaceSelfUpgrade>

This is the code I'm trying to use. And I know it works, because I was able to get the barracks to replace itself with the Armory. Any one got an idea on how to fix this?

_________________
Steel Talons Commander

Back to top
View user's profile Send private message Skype Account
Golan
Flamethrower


Joined: 21 Nov 2007

PostPosted: Fri Aug 21, 2009 6:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Either the upgraded barracks is broken/missing or you might have made a typo in its ID.

_________________
Off Duty.

Back to top
View user's profile Send private message
Longshanks
Cyborg Soldier


Joined: 20 Oct 2007

PostPosted: Fri Aug 21, 2009 1:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

I just checked, and I couldn't spot any typos. The file I'm using for this is a copy of the file for the original barracks. And I don't know if this is important or not, but if I set the unpack time to more than 0 seconds, the barracks just sits there and doesn't upgrade. (well, it might upgrade itself, but the special ability doesn't kick in)

Edit: if you want, I can upload the xml files for you to look at.

_________________
Steel Talons Commander

Back to top
View user's profile Send private message Skype Account
ravage
Soldier


Joined: 16 Jul 2005

PostPosted: Sat Aug 22, 2009 8:47 am    Post subject: Reply with quote  Mark this post and the followings unread

i tried this, and i was using powerplant's upgrade which is a OBJECT upgrade. however when it complete the game crushed...

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


Joined: 23 Mar 2009
Location: Germany

PostPosted: Mon Aug 24, 2009 7:42 am    Post subject: Re: vanishing building Reply with quote  Mark this post and the followings unread

oh the <and> screws everything here and &lt; and &gt; are not working...

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