logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,207

Administrators:
DeeZire, Redemption

There are currently 106 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 03-22-2005, 09:33 AM   #1 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 141
Default Horde and Nationalism

Hi,

Whenever 5 chinese units come together they' will gain HordeBonus:

Behavior = HordeUpdate ModuleTag_06
RubOffRadius = 60
UpdateRate = 1000
Radius = 30
KindOf = INFANTRY
AlliesOnly = Yes
ExactMatch = No
Count = 5
Action = HORDE
End

What I want to do is that whenever 10 units come together they gain nationalism:

Behavior = HordeUpdate ModuleTag_07
RubOffRadius = 60
UpdateRate = 1000
Radius = 30
KindOf = INFANTRY
AlliesOnly = Yes
ExactMatch = No
Count = 10
Action = NATIONALISM
End

However this extra ModuleTag causes an error. I don't know why...
Is it because Nationalism is an upgrade and not a passive bonus?
I added the extra module in the object code of the battlemaster tank. So the error reported the battlemaster.

please help me with this.
Mohawk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-22-2005, 06:42 PM   #2 (permalink)
Junior Member
 
Join Date: Mar 2005
Posts: 5
Default

Three things I'm seeing wrong here.

First, the major one. Your new ModuleTag_07 to give this new bonus is overriding the Battlemaster's existing ModuleTag_07 - which is its LocomotorSetUpgrade tag that controls the Nuclear Tanks upgrade. Not a good idea to override. Change it to a different number - 14 isn't used by any tags (this is assuming you're using the 1.3 INIs), so go ahead and use that.

Second, as far as I know, Nationalism and Patriotism are indeed upgrades to the Horde bonus. Case in point - though the Infantry General's troops all begin with Nationalism, their Action under HordeUpdate is still HORDE and not NATIONALISM (implying that this General gets the Nationalism upgrade automatically at the beginning of each game). So it's possible that using anything besides HORDE will not work - if anyone more experienced than me knows something to the contrary, please inform me.

Third, you seem to have copied the Red Guard's HordeUpdate tag into the Battlemaster's code, so the Battlemaster will only get this new Horde bonus when it's around other infantry - this will mean that the Battlemasters would never get this new bonus at all. Plus, the radii are all wrong - copy the Battlemaster's Horde tag instead of the infantry Horde tag.

Another potential pitfall is that the new bonus doesn't override the first, but stacks on top of the existing one instead - which could be illegal. I wouldn't know how to disable either of the Horde tags without the use of controlling upgrades, though...

Hope this helps.
PhoenixCrusader is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gondor Trebuchet Horde Ambershee LOTR: Battle For Middle Earth I & II Editing 2 05-22-2005 10:41 AM
Mounting a Horde Halbarad LOTR: Battle For Middle Earth I & II Editing 2 02-24-2005 12:21 PM
Split Horde Spy LOTR: Battle For Middle Earth I & II Editing 7 01-17-2005 06:39 AM
What's the difference between Fanaticism and Nationalism? Thinimus Generals & Zero Hour Editing 1 06-17-2004 04:56 PM
HORDE... MacVerik Generals & Zero Hour Editing 2 05-16-2003 10:38 AM


All times are GMT -4. The time now is 09:02 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.