Jump to content
DerelictStudios Forums
Darkwander

Adding Shields To Excisting Gdi Firehawk Units.

Recommended Posts

Add the following line

 

<DisplayUpgrade>Upgrade_GoauldShieldGenerators</DisplayUpgrade>

 

This line is added above the line

 

<ArmorSet

Armor="AlkeshArmor"

DamageFX="InfantryAlienDamageFX" />

Edited by Darkwander

Share this post


Link to post
Share on other sites

Add the following line

 

<ArmorSet

Armor="AlkeshArmorShieldBodyEnabled"

DamageFX="InfantryAlienDamageFX"

Conditions="SHIELDBODY_ENABLED" />

 

Add below

 

<ArmorSet

Armor="OriFighterArmor"

DamageFX="VehicleDamageFX" />

Share this post


Link to post
Share on other sites

Add the following

 

<!-- Forcefield Generator -->

<scriptedModelDraw

id="ModuleTag_DrawForcefield"

OkToChangeModelColor="true">

<ModelConditionState

ParseCondStateType="PARSE_DEFAULT"></ModelConditionState>

<ModelConditionState

ParseCondStateType="PARSE_NORMAL"

ConditionsYes="USER_1">

<Model

Name="FXShldWarship" />

<ShadowInfo

Type="ADDITIVE_DECAL"

SizeX="100"

SizeY="60"

OverrideLODVisibility="true"

MaxHeight="300"

UseHouseColor="true"

Texture="AUDronShipDecalIdle" />

</ModelConditionState>

</ScriptedModelDraw>

 

Add Above

 

</Draws>

<Behaviors>

Edited by Darkwander

Share this post


Link to post
Share on other sites

Add the following

 

<!-- Forcefield Generator -->

<StatusBitsUpgrade

id="ModuleTag_StatusBitUpgrade"

StatusToSet="SHIELDBODY_ENABLED">

<TriggeredBy>Upgrade_GoauldShieldGenerators</TriggeredBy>

</StatusBitsUpgrade>

<ShieldBodyUpdate

id="ModuleTag_ShieldBodyUpdate" />

<!-- End of Forcefield Generator -->

 

Add below

 

FX="FX_GDIAirVehicleExplode" />

</FXListBehavior>

Share this post


Link to post
Share on other sites

Add the following

 

<AudioLoopUpgrade

id="ForceFieldUpgradeSound"

SoundToPlay="ALI_ForceField_Begin">

<TriggeredBy>Upgrade_GoauldShieldGenerators</TriggeredBy>

</AudioLoopUpgrade>

 

Above the line

 

</Behaviors>

<AI>

Share this post


Link to post
Share on other sites

Add the following

 

<ShieldBody

id="ModuleTag_Body"

MaxHealth="6250"

ShieldAmount="2500"

ShieldArmor="ForcefieldFilterDamageArmor"

ShieldRechargeIdleTime="120s"

ShieldEnabledFX="FX_AlienShieldEnabled"

ShieldTakeDamageFX="FX_AlienShieldHit"

ShieldDepleteFX="FX_AlienShieldDeplete"

ShieldActiveModelCondition="USER_1" />

 

add above the following

 

</Body>

<Geometry

Share this post


Link to post
Share on other sites

I would hardly call this a tutorial. Giving a bunch of code, and saying to shove it into files is not a tutorial. You need to explain what things are doing. Also, don't make a series of posts like this, use one large post.

Share this post


Link to post
Share on other sites

Last time I checked, a tutorial EXPLAINED what you were doing, as opposed to slapping down huge chunks of code and telling people to cut/paste.

Share this post


Link to post
Share on other sites
AlkeshArmorShieldBodyEnabled

...

GoauldShieldGenerators

0.o

 

Also use generic code in a tutorial, instead of stuff ripped straight out of your stargate mod. You're giving away your mod's material...

Share this post


Link to post
Share on other sites
AlkeshArmorShieldBodyEnabled

...

GoauldShieldGenerators

0.o

 

Also use generic code in a tutorial, instead of stuff ripped straight out of your stargate mod. You're giving away your mod's material...

 

To be honest i really don't care if people know that there is an Alkesh and that i have called my shields Goauldshieldgenerators. Afterall, anyone that know stargate knows that the Alkesh have shields and that so do the Goauld on many of their ships. However when it comes to other issues i will take your advice.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×