Serious Sam Fusion 2017 (beta)

Serious Sam Fusion 2017 (beta)

评价数不足
Ugh-Zan IV Melee Attack
   
奖励
收藏
已收藏
取消收藏
Content: Enemies
Type: Additions
文件大小
发表于
更新日期
220.405 KB
3 月 26 日 下午 8:58
10 月 23 日 上午 8:58
9 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Ugh-Zan IV Melee Attack

描述
The Guardian of Time can now stomp his foes!

In the original Serious Sam 3: BFE, Ugh-Zan had an attack that would dissuade you from coming close to him. In Fusion, this attack is broken, as it deals no damage to anything.
This mod fixes this issue. be careful from now on!

Bugs

Melee damage is dealt continuously for about half a second after the melee animation ends. This duration depends on the time when the animation started.

Mod Compatibility, Technical Info

This mod adds one file at the location:
/Content/SeriousSam3/Scripts/CustomWorldScripts/PXUghZan.lua.

Damage is always infinite. Reasons are laid out in the Lua file!

For customising, quickly playing around, program definitions:
-- Last joints in the limb chain. worldGlobals.A_UGHZAN_LEG_FRONTLEFT = "L_F_Leg_04"; worldGlobals.A_UGHZAN_LEG_FRONTRIGHT = "R_F_Leg_04"; worldGlobals.A_UGHZAN_LEG_BACKLEFT = "L_B_Leg_04"; worldGlobals.A_UGHZAN_LEG_BACKRIGHT = "R_B_Leg_04"; -- In meters. If a leg is higher than the average height of all legs by this amount, then we are about to stomp the ground. worldGlobals.A_UGHZAN_LEG_HEIGHT_EPSILON = 9.0; -- In a natural pose, the distance from ground to first joint in a leg is about 25.6m... worldGlobals.A_UGHZAN_LEG_DISTANCEFROMGROUND = 25.6; -- Radius of attack, in meters. Center is calculated as (leg's joint - DISTANCEFROMGROUND). worldGlobals.A_UGHZAN_STOMP_RADIUS = 32.0; -- Damage type that does not destroy the puppet. worldGlobals.A_UGHZAN_STOMP_DAMAGETYPE = "None"; -- Destruction name for puppet destruction. worldGlobals.A_UGHZAN_STOMP_DESTRUCTIONNAME = "Default"; -- In seconds. Amount of time it takes for leg to go from highest point to the ground (in L_B_Leg_Melee animation). worldGlobals.A_UGHZAN_STOMP_ANIMATIONTIME = 0.4; -- In seconds. Time between logic checks. worldGlobals.PXUGHZAN_WAIT = 0.35; -- Function called before inflicting damage. Target (dummy) is within attack range. Return true to deal damage or false to not deal damage. -- Can also return data that can be used later. -- Example usage is found at the top of PXUghZan.lua. worldGlobals.A_UGHZAN_STOMP_FUNC_PRESTOMP = function(actor, leg, dummy) return true, nil; end; -- Function called after inflicting damage. Not called if PRESTOMP function returned false. worldGlobals.A_UGHZAN_STOMP_FUNC_POSTSTOMP = function(actor, leg, dummy, predata) end;

9 条留言
SiberianIceBomb 5 月 16 日 下午 10:03 
indeed
Salamander  [作者] 5 月 16 日 下午 3:41 
I am glad someone remembers! ^^
|ST1G| 5 月 16 日 上午 9:07 
This is the very attack that terrified me a lot as a child, when I had no idea that there was a jetpack lying around.
SiberianIceBomb 4 月 30 日 下午 1:59 
He just literally sent me into another dimension, Immortality Negation fr, created by an Lord of Unreason who is beyond understanding (Tah-Um)
Salamander  [作者] 4 月 30 日 下午 1:57 
@SiberianIceBomb that's unintentional, but let's call it a feature :p
SiberianIceBomb 4 月 30 日 下午 12:48 
♥♥♥♥♥♥♥♥♥, even i with God mod could die to his melee attack
Kirisamević 4 月 20 日 上午 2:07 
GT
Ps!hyshka 4 月 2 日 上午 2:22 
спасибо за аву
Kayosh 3 月 30 日 上午 11:33 
"Damage is always infinite. Reasons are laid out in the Lua file!"

If the reason isn't "Because he's an absolute unit" then I'm gonna be sad