Shield and armor

Freeform discussion about anything related to modding Transcendence.
Post Reply
Dragonz
Anarchist
Anarchist
Posts: 18
Joined: Tue Jul 22, 2014 2:06 am
Location: The space that occupies your ship

I am currently trying to create a shield and armor set that complement one another.

I want to be able to have a shield that blocks all (if not most) low level fire, with some adj to the higher functions.

With the armor, I want it to be able to be very vulnerable to low level fire, but immune to high level (like blast or higher).

I then I am wanting to flip the attributes.

When I try to make the shield immune to blast, but say only a 25% bonus for particle, it makes all weapon types immune up to blast. And i do not know how to make armor immune to a weapon type. For the shield attributes, I use the * to do it. But it doesn't look like it works with armor.

Any help would be appreciated

Dragonz
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

You could block damage through the <OnArmorDamage> and <OnShieldDamage> events:

Code: Select all

    <Events>
        <OnArmorDamage>
            (if (eq aDamageType 'blast)
                0   ; Pass 0 damage through to armor
                Nil ; Don't change anything
                )
        </OnArmorDamage>
    </Events>
Cheers,
Pixelfck
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
Post Reply