This group contains a lot of stuff of the C&C community. Mod news, game screen shots and C&C humor(funny c&c moments). Join us if your a great fan of C&C!

Report article RSS Feed [GEN - ZH] Make Bridges Destroyable

RVMECH: RVMECH Tutorial on How to Make The Destroyable Bridges.. Damageable/destroyable bridges is real easy to do. Theres a few steps;-)

Posted by MrTaxikiller on Aug 7th, 2009
Intermediate Level Design/Theory.

1 -They need to go into Roads.INI and make sure that every bridge thats
defined in there has the correct model and texture defined for the pristine,
damaged, really damaged and rubble (broken) states. They also need to make
sure that every bridge in there also has the code Ive stuck in the attached
txt file. All the models and textures needed are in ZH but not in Generals.

RVMEQ: 2 - They need to edit the GenericBridge object in System.INI (I think) so
instead of ImmortalBody it has either StructureBody or ActiveBody and health
of whatever they need (500 works best).

RVMEQ: 3 - They need to go into ObjectCreationList.INI and edit the BridgeDamaged01
OCL entry so the debris it generates uses the CBBRIDGD02 through CBBRIDGD10
models as the debris - again those models are in Zero Hour but not Generals.

RVMEQ: As for repairing them, as you know the code is disabled in the game (but not
WB) for displaying the towers that are used for repair so another mechanism
for repair is needed which Im working on. One solution is to class every
single bridge as a LANDMARK_BRIDGE like the special train bridge etc and
place them as a fixed-sized model on the map so they can be repaired like
any other structure. If they take a look at the Mogadishu Well object, thats
an example of a civilian structure that can be repaired by player-owned
workers and dozers ;-) The downside is that actually youre classing bridges
as structures which makes them of a fixed length.

RVMEQ Code: DamagedToSound = BridgeDamaged
RepairedToSound = BridgeRepaired
TransitionToFX = Transition:Damage ToState:DAMAGED EffectNum:1 FX:FX_BridgeDamaged01
TransitionToFX = Transition:Damage ToState:REALLYDAMAGED EffectNum:1 FX:FX_BridgeDamaged01
TransitionToOCL = Transition:Damage ToState:RUBBLE EffectNum:1 OCL:OCL_BridgeDamaged01
TransitionToFX = Transition:Damage ToState:RUBBLE EffectNum:1 FX:FX_BridgeDamaged01
TransitionToFX = Transition:Repair ToState:PRISTINE EffectNum:1 FX:FX_BridgeRepaired01

Post comment Comments
Admiral-165 Creator
Admiral-165 Aug 9 2009, 4:11pm says:

is this a copy/paste of the tut from fallout studios? it looks exactly the same. Also the simple way to make a bridge destryoable is go into system.ini search for genericbridge and change "Immortalbody" to "activebody" or "structurebody" then in-game launch artillery or a missle at the bridge to destroy it (these work best since the actual body of the bridge is so small it'd be almost impossible to hit with a machine gun), sometimes the bridge won't disappear but enemies still cant cross it.

+1 vote   reply to comment
MrTaxikiller Author
MrTaxikiller Aug 12 2009, 1:20am replied:

I also never claim that its my tutorial and on top u see the owner of the tutorial is rvmech!

+2 votes   reply to comment
Metalloid Jan 2 2012, 5:53pm replied:

Are there destroyable bridges in unmodded Zero Hour?

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Oct 1, 2008
Open to all members
Send Message
Members Only
Join this group
Group Watch
Track this group
Report Abuse
Report article
Related Mods
Command & Conquer Generals Version 2.0 (C&C Generals: Zero Hour)
Command & Conquer Generals Version 2.0 C&C Generals: Zero Hour - Single & Multiplayer Real Time Strategy
Related Games
C&C Generals: Zero Hour
C&C Generals: Zero Hour Single & Multiplayer Real Time Strategy
Related Groups
C&C Paradise
C&C Paradise Fans & Clans group with 1,491 members
SAGE 2D & 3D fans
SAGE 2D & 3D fans Fans & Clans group with 1,343 members