Sniper's Paradise!
Breaking Glass
You may need to read the mover tutorial before attempting to make breaking glass so you have an understanding of how movers work.
To make breaking glass, you will need to create your level. Next you will make the breaking glass, this will be a mover that is textured with a transparent glass texture. Now that you have created your breaking glass mover, move it into place and set its mover Keyframe to Key0(Base) next move the breaking glass mover to somewhere out of site that will not interfere with game play or be seen in the map and set it to Key1, now set the mover back to Key0(Base) which sould automatically move the breaking glass mover back to it's original location Key0(Base). You have now set the path of the mover. Next add a BreakingGlass actor next to the mover. You can find it under Effects and under ExplodingWall.
Set up your mover with the following properties.
Events:
Event to B1 (This is the event the mover will preform when triggered)
Mover:
bDamageTriggered = True
bTriggerOnlyOnce = True (This is set to false by default)
DamageThreshold = 10.00000 (This sets the damage needed to make the glass break. This works for Ctrl fire but not the Alt fire)
MoverEncrochType = Ignore
MoveTime = 0.000000
StayOpenTime = 1.0000 (We will leave this alone since we are triggering the mover only one time)
Object
InitState = TriggeredOpenTimed
Set these properties on BreakingGlass actor.
Advanced
bNoDelete = False (If set to True, the shatter effect will happen everytime you shoot the BreakingGlass mover.)
Collision
bBlockPlayers = False
bProjTarget = False
Effects
bOnlyTriggerable = True
Events
Tag - B1 (Needs to be the same as Event on the mover)
ExplodingWall
bTranslucentGlass = True
bUnlitGlass = False
GlassTexture = Texture'GenIn.Glass.Glass2'
If you did everything correct then your glass should break when shot with enough damage. Try shooting your glass window with the eightball fully loaded up. and make sure to rebuild your level before testing.
All logos and trademarks are properties of their respective owners.
Unreal™ is a registered trademark of Epic Games Inc.
Privacy Policy
Website by Softly
Powered by RUSH