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 2:26 am
All times are UTC + 0
(**) Properly getting rid of Upgrade Center plugins.
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Darkstorm
Commander


Joined: 20 Jan 2008
Location: Texas

PostPosted: Fri Mar 19, 2010 5:47 am    Post subject:  (**) Properly getting rid of Upgrade Center plugins. Reply with quote  Mark this post and the followings unread

This fix requires base understanding of inis, including the Art. I used this to rid my mod of superweapons to make the AI unable to use superweapons 5 minutes into the game.

Quick Referance Tags
GDI Upgrade Center - GAPLUG
Ion Cannon - GAPLUG3 (Rules) or GAPLUG_F (Art)
HS Node - GAPLUG2 (Rules) or GAPLUG_E (Art)
Droppod - GAPLUG4 (Rules) or GAPLUG_D (Art)

First off, set all the plugin tech levels to -1, including the droppod node in the firestrm.ini. This will prevent the player from building them on the upgrade center.

Second, remove the "AIbuildthis=yes" on the plugins, this prevents the AI from attempting to put them on the Upgrade Center.

Third, remove "Upgrades=2" off the Upgrade Center so, even if you could build the nodes, you couldn't put them on the center.

Fourth, heres the Art part (lol rhyme), replace the GAPLUG art with this code, it gets rid of one animation that is on the Upgrade Center (not a huge problem) so that it can have 2 nodes preplaced on it. I went with the Ion Cannon and Drop pod (Threat Rating Node if regular TS).

Code:

[GAPLUG]
Remapable=yes
Normalized=yes
Cameo=PLUGICON
Foundation=2x3
Height=2
Buildup=GAPLUGMK
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
ActiveAnim=GAPLUG_A
ActiveAnimZAdjust=-100
ActiveAnimPowered=yes
ActiveAnimTwo=GAPLUG_B
ActiveAnimTwoDamaged=GAPLUG_BD
ActiveAnimTwoZAdjust=-125
ActiveAnimTwoPowered=no
ActiveAnimTwoPoweredLight=yes
ActiveAnimThree=GAPLUG_F
ActiveAnimThreeZAdjust=-30
ActiveAnimThreeYSort=-5
ActiveAnimFour=GAPLUG_D
ActiveAnimFourX=-24
ActiveAnimFourY=-12
ActiveAnimFourZAdjust=-42
ActiveAnimFourYSort=50


ActiveAnims three and four are the nodes, switch 'em around if you'd like.

Hope you liked the tutorial, I thought some others might find it a learning experience or even useful.

UPDATE!

A fix for mission crashes with upgrade centers is provided below. You will have to modify new missions by removing the upgrades, but these will fix the stock campaigns.



SWFix.zip
 Description:

Download
 Filename:  SWFix.zip
 Filesize:  589.76 KB
 Downloaded:  271 Time(s)



Key Words: #Tutorials #Modding #TiberianSun #Firestorm #Rules.INI #Art.INI 

Last edited by Darkstorm on Mon Mar 29, 2010 12:07 am; edited 4 times in total

Back to top
View user's profile Send private message ModDB Profile ID
m7
Commander


Joined: 17 Apr 2009

PostPosted: Fri Mar 19, 2010 8:10 am    Post subject: Reply with quote  Mark this post and the followings unread

...this isn't a three star tutorial. This is way too extravagant of a method anyways. Simply using tech level and aibuildthis tags would suffice.

Back to top
View user's profile Send private message
Darkstorm
Commander


Joined: 20 Jan 2008
Location: Texas

PostPosted: Fri Mar 19, 2010 8:47 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, yeah, but the last step is adding in animations and not leaving the upgrade center devoid of plugins. I guess I'll degrade it a star though.

Back to top
View user's profile Send private message ModDB Profile ID
Palkia323
Pyro Sniper


Joined: 10 May 2008

PostPosted: Fri Mar 19, 2010 9:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Wow, never thought of that, I needed that for my mod! Thanks!

_________________
Tore wrote:
Oh noes Nod32 must have found some GDI32 in the art.ini file!

3ds Topic
Clicky

Back to top
View user's profile Send private message
m7
Commander


Joined: 17 Apr 2009

PostPosted: Fri Mar 19, 2010 8:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

But the entire point of you removing the upgrades from the building in the art code is? It's quite simple to just use tech level and aibuildthis tags to disable all of it.

Back to top
View user's profile Send private message
Darkstorm
Commander


Joined: 20 Jan 2008
Location: Texas

PostPosted: Fri Mar 19, 2010 8:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

True but there is no reason to leave the code on there, so I just get rid of it.

Back to top
View user's profile Send private message ModDB Profile ID
Darkstorm
Commander


Joined: 20 Jan 2008
Location: Texas

PostPosted: Mon Mar 29, 2010 12:01 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok, apparently, when playing curtain missions the game will crash since you got rid of the upgrades, sooooo . . . I have uploaded a zip with the fixed missions, it also includes a change to let the center have the ion cannon for the last TS nod mission. (so you have a purpose to do the alternate mission)

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