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 Fri Apr 19, 2024 3:37 am
All times are UTC + 0
how do I give mammoths rail guns as standard
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
iginy
Medic


Joined: 28 Aug 2007

PostPosted: Tue Jan 01, 2008 7:19 pm    Post subject:  how do I give mammoths rail guns as standard Reply with quote  Mark this post and the followings unread

this is the text for the mammy
function OnGDIMammothCreated(self)
ObjectHideSubObjectPermanently( self, "UGRAIL_01", true )
ObjectHideSubObjectPermanently( self, "UGRAIL_02", true )
ObjectHideSubObjectPermanently( self, "MuzzleFlash_01", true )


I need to change it to some thing like
objectgrantupgrade( selfrailmammoth)

but im not sure can some one confirm what I need to change it to

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


Joined: 26 Apr 2003

PostPosted: Tue Jan 01, 2008 7:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

Find all the references to the railgun upgrade and change everything that requires it to be the standard settings.

(eg remove the original cannon weaponset and put the railgun weaponset in)

If you remove the section that tells the unit to run that script then it won't bother hiding the railgun graphics.

_________________

Back to top
View user's profile Send private message Visit poster's website
iginy
Medic


Joined: 28 Aug 2007

PostPosted: Mon Jan 07, 2008 5:14 am    Post subject: Reply with quote  Mark this post and the followings unread

ok thanks

Back to top
View user's profile Send private message
sage_inferno
Civilian


Joined: 25 Apr 2007

PostPosted: Fri Jan 18, 2008 11:23 am    Post subject: Reply with quote  Mark this post and the followings unread

ObjectGrantUpgrade( self, "Upgrade_GDIArmoryRailgunTech" , true

that should give the upgrade.

remove these to see the railbarrells,
ObjectHideSubObjectPermanently( self, "UGRAIL_01", true )
ObjectHideSubObjectPermanently( self, "UGRAIL_02", true ) .

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