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 12:29 am
All times are UTC + 0
Anti Garrison units
Moderators: Global 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
Rottimus
Guest




PostPosted: Thu Jan 24, 2008 6:19 pm    Post subject:  Anti Garrison units Reply with quote  Mark this post and the followings unread

Hello

I've recently started modding CnC 3. I wanted to make units like Black Hand Sqaud, Grenadier and Corrupter NOT have the anti garrison ability.

i.e I want to stop them being able to clear a garrisoned building out in one shot....

When opening the XML files there's a list of abilites i.e :

KindOf="SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT etc etc

I removed the Anti Garrison entry and built my mod. There is however no change... my men still get fried when they garrison


Any help would be greatly appreciated!

Back to top
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Thu Jan 24, 2008 6:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Maybe you should check the weapon too...

Back to top
View user's profile Send private message Send e-mail Skype Account
Rottimus
Guest




PostPosted: Thu Jan 24, 2008 6:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm new to XML but I can't find anything else that would indicate garrison clearing ability apart from what I said above...

Back to top
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Thu Jan 24, 2008 6:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm rather new to that too, but it seems logical that the code for building-clearing weapons must be somewhere in the weapons.xml Wink

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


Joined: 21 Nov 2007

PostPosted: Thu Jan 24, 2008 10:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Take a look at the weapon.xml found in CnC3Xml\GlobalData. In there, look for the AlienCorrupterTioxinBlastCannon weapon template (if you look closely at the Corrupter´s code, you will find that this is its only weapon) and delete or comment out the complete DamageContainedNugget.

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Fri Jan 25, 2008 10:45 am    Post subject: Reply with quote  Mark this post and the followings unread

The Golan strikes again #Tongue

Back to top
View user's profile Send private message Send e-mail Skype Account
Rottimus
Guest




PostPosted: Sat Jan 26, 2008 11:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks a lot! That worked perfectly.

Thanks again

Back to top
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
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.1552s ][ Queries: 11 (0.0078s) ][ Debug on ]