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

Forum Info
Forum Members: 18,581
Total Threads: 8,667
Posts: 94,503

Administrators:
DeeZire, Redemption

There are currently 45 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 12-14-2004, 09:16 AM   #1 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default Garrisoned Slaves Inheriting Armour

I have some artillery with two shell types; standard explosive and gas. Both of these are able to kill infantry really rather quickly.

I also have trenches; they hold people in a similar way to the firebase. The armour types are set so the trench cannot be damaged by either weapon. However, slaves hiding in the trench should be immune to the explosive shells ... but they obviously die.

Hence, is there a way to change the armour of the infantry when they are garrisoned in the trench to be immune to explosive shells ( but not gas )?
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 10:11 AM   #2 (permalink)
Senior Member
 
Join Date: Sep 2001
Posts: 734
Send a message via ICQ to Flyby
Default

For ZH, there are only 6 Conditionstates that are on the armorlist.
PLAYER_UPGRADE needs an interaction of the player, by means of upgrades, which is not what you wish.
None of the automatic armor_conditions will let you toggle automatically between a garrisoned/not garrisonned state...
There is one oddball, non-documented armor conditionstate WEAK_VERSUS_BASEDEFENSES , but I do not know how it gets triggered and by what.
Deezire or someone with beta-knowledge might jump in here to clarify...
Flyby is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 05:22 PM   #3 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

That's rather depressing to hear; but I'm interested in knowing whether the mysterious and magical condition state will help.
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 05:22 PM   #4 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 370
Default

I believe that the Firebase is set up so that infantry will be hit if the weapon detonates within its DamageRadius regardless of the Armor type you use (provided that the infantry themselves are not immune).
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 05:30 PM   #5 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

I believe you'll want to have the trenches eat the damage. I believe there is an option for what types of damage to pass to the slaves. That might not have any effect though.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 07:04 PM   #6 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

hmm ... there is the option to propogate damageto slaves, but apparently not to swallow it.

In my optimism I tried

PropagateDamageTypesToSlavesWhenExisting = NONE -EXPLOSION +SNIPER but the "-" seems no different to the "+"
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 07:19 PM   #7 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

Hmm, a partial solution:

IsEnclosingContainer = Yes

This means that the only damage slaves receive is the damage set in propogatedamagetoslaves. However, this means that people won't be visible in the trench.
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 09:51 PM   #8 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

PropagateDamageTypesToSlavesWhenExisting = NONE +SNIPER
Just try that. That way, you should only be propagating sniper damage. There's no point in saying NONE - something, as it is essentially double negative. I doubt the game is that intelligent, but it's hard to say.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-15-2004, 07:51 AM   #9 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

Alas that doesn't actually work, judging by the comments above the line:

;**Careful with these damage types -- because area damage types will already
;**damage slaves.
PropagateDamageTypesToSlavesWhenExisting = NONE +SNIPER +SMALL_ARMS +POISON +RADIATION +SURRENDER

As you can see, Explosion damage type isn't actually propagated, but it's not swallowed either; it's area effective and hence passed to the slaves equally.
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-15-2004, 08:07 AM   #10 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Well then just give the slaves a new armour that's immune to EXPLOSION.
CodeCat 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
armour Slye_Fox Red Alert 2 & Yuri's Revenge Editing 1 02-26-2005 01:16 AM
Is it possible to alter garrisoned units' stats? schtoogie Generals & Zero Hour Editing 9 11-03-2004 07:45 PM
Making a new Armour Type LtZack Generals & Zero Hour Editing 7 07-26-2004 01:34 PM
DrawBridges and garrisoned building abilities Waspo Generals & Zero Hour Editing 9 07-06-2004 06:58 AM
Garrisoned Buildings Prism128 Generals & Zero Hour Editing 0 07-28-2003 08:49 AM


All times are GMT -4. The time now is 07:20 AM.


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