XML talk:BINA/PAR3: Difference between revisions

removing dead links and code longer relevant as links are dead and the issue has been solved and documentated on XML:BINA/PAR3
mNo edit summary
(removing dead links and code longer relevant as links are dead and the issue has been solved and documentated on XML:BINA/PAR3)
Line 123: Line 123:
: ''Within the HitWall PAR3 event, ''[<StopIfBreakable />]'' stops the exection of all PAR3 actions listed BELOW this PAR3 action if the HitWall was called against a breakable material (in vanilla Oni, the only breakable material is glass).''
: ''Within the HitWall PAR3 event, ''[<StopIfBreakable />]'' stops the exection of all PAR3 actions listed BELOW this PAR3 action if the HitWall was called against a breakable material (in vanilla Oni, the only breakable material is glass).''


'''Example of <StopIfBreakable /> not stopping a later action:'''
modified BINA3RAPw8_mbo_p01
            <HitWall>
                '''<StopIfBreakable />'''
                <ImpactEffect>
                    <ImpactType>w8_mbo</ImpactType>
                    <ImpactModifier>2</ImpactModifier>
                </ImpactEffect>
                <Die />
            </HitWall>
https://dl.dropboxusercontent.com/u/139715/OniGalore/StopIfBreakable_used.wmv
            <HitWall>
                <ImpactEffect>
                    <ImpactType>w8_mbo</ImpactType>
                    <ImpactModifier>2</ImpactModifier>
                </ImpactEffect>
                <Die />
            </HitWall>
https://dl.dropboxusercontent.com/u/139715/OniGalore/StopIfBreakable_not_used.wmv
: Side note: There's no visible effect (like decal) on the breakable glass because of ONIE.
For better visibility we can also repeat the two tests with a plasma effect.
            <HitWall>
                '''<StopIfBreakable />'''
                <ImpactEffect>
                    <ImpactType>w3_phr</ImpactType>
                    <ImpactModifier>0</ImpactModifier>
                </ImpactEffect>
                <Die />
            </HitWall>
https://dl.dropboxusercontent.com/u/139715/OniGalore/StopIfBreakable_used_phr3_alt.wmv
            <HitWall>
                <ImpactEffect>
                    <ImpactType>w3_phr</ImpactType>
                    <ImpactModifier>0</ImpactModifier>
                </ImpactEffect>
                <Die />
            </HitWall>
https://dl.dropboxusercontent.com/u/139715/OniGalore/StopIfBreakable_not_used_phr3_alt.wmv




8,189

edits