You know what would be great ? The posibilty to specify multiple animations (or multiple AttachEffects) either for the weapon, or the warhead, so when the weapon/warhead hits, to have only one of them activated, with the specified probability:
[120mmSpecial]
Damage=10 ; just a little damage
…
… ; regular weapon tags
…
Animation1Probability=10%
Animation1=InstaKill ; animation with 290 damage, so 1 in 10 shots would inflict serious damage
Animation2Probability=20%
Animation2=Ricochet ; animation with no damage, so 20% shots would only scratch the target, leaving only the original 10 damage
Animation3Probability=50%
Animation3=NormalDamage ; animation with 100 damage, so half of the shots would inflict the regular ~100 damage
Animation4Probability=5%
Animation4=EMP ; animation with 100 damage and an EMP effect, so there's a 1-in-20 chance to also stop the target for a few seconds
Animation5Probability=5%
Animation5=Fire ; animation with 100 damage and an AttachFire animation, to ignite the target for a few seconds
Getting the weapons to produce variable damage and various effects, with different probabilites, would make the game a lot more realistic. QUICK_EDIT
That's all already possible via damage/weapon through animations and using EMEffect=yes on the initial warhead, you can control the percentage by adding more/less of the animations you want to trigger. _________________
ayylmao on Discord QUICK_EDIT
You can also make variable damage weapons by simply making the weapon slightly inaccurate with a small CellSpread & low PercentAtMax. _________________
Yes, I know you can add some variability in damage with innacuracy.
I was hoping for some control on that variabilty.
XxpeddyxX, maybe I'm wrong, but if I remember correctly, the animation from Warhead's AnimList= are not displayed at random, but based on the damage caused by the weapon, so a certain weapon will always produce the same animation, no matter how many animations are listed. QUICK_EDIT
Joined: 09 Mar 2008 Location: Osaka (JP)/Hong Kong/Germany
Posted: Tue Sep 01, 2020 4:22 pm Post subject:
It's still not a perfect method though, as animation damage, last time I checked, does not count towards veterancy. And inbefore anyone suggests working around this by using an AnimationWeapon with an AE animation: neither does damage dealt by an AE animation work for this...
edit: rest of message cut and moved back to Ideas & Suggestions thread _________________
Mao Zedong wrote:
Our mission, unfinished, may take a thousand years.
Last edited by Millennium on Wed Sep 02, 2020 11:16 am; edited 1 time in total QUICK_EDIT
If you don't care about veterancy then adding a weapon to the animation triggered by EMEffect will be the smoothest method as you will be able to achieve multiple effects in a single warhead/weapon.
Here is an example of a weapon using EMEffect to apply effects:
If veterancy is in mind then having multiple damage type effects will be hard to do but you can still utilise ammo weapons to achieve it, there's quite a few possibilities, e.g.:
FlakScatter is an excellent way to introduce RNG to weapons, I use it on invisible weapons because it's very effective. This weapon below deals no damage but the warhead has EMEffect, the airburstweapon deals damage instead so we don't have to use a secondary weapon, which allows the Tesla Trooper to still power up Coils.
Because there's no cellspread it's a great single target tool. The effect will never be applied to another nearby unit even if the scatter hits it and will only ever affect the direct target, when/if it triggers. You could introduce critical hits for increased damage this way too, which would give veterancy as it's all part of one weapon.
Here's an example of a weapon using FlakScatter to apply effects:
And this is an example using noammoweapon + FlakScatter to apply an AE. I had to do it this way to keep the railgun separate, with full damage and ambientdamage too. It's still effective but had to manipulate the Sequence so the primary weapon doesn't "trigger" a firing animation:
Another method is Miggy's cellspread trick to apply stuns etc on ranged projectiles. You could also use airburstweapon using his method to create even more effects on the same weapon.
Using Airburst as an example:
You want a weapon to cull a specific type of unit but not all, a way to achieve this is to utilise airburstweapon:
Code:
Weapon:
[AKM]
Damage=30
ROF=20
Range=5.5
Projectile=GunInvisibleLowS ;BulletProj
Speed=100
Warhead=SA
Report=SpetsnazAttack ;BorisAttack
AssaultAnim=UCBLOOD;the anim to play when a UC building is cleared (assaulters need this on their primary weapon)
Ammo=0
Anim=INVIGFIRE
Cull Dummy:
[AKMCull]
Damage=1
ROF=20
Range=5
Projectile=NDummy ;BulletProj
Speed=100
Warhead=SA4
Report=SpetsnazAttack ;BorisAttack
AssaultAnim=UCBLOOD;the anim to play when a UC building is cleared (assaulters need this on their primary weapon)
Ammo=0
Warheads:
[SA]
Typical SA, damages all infantry types
Special SA, used to cull specific types of infantry:
[SA4]
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%
InfDeath=1
Versus.banearmor=100%
Versus.sbanearmor=100%
Versus.cyborgplate=100%
Culling=yes
Culling.RookieBelowHealth=25%
Culling.VeteranBelowHealth=23%
Culling.EliteBelowHealth=21%
Soz for the wall of text, but hopefully it was helpful. _________________
ayylmao on Discord QUICK_EDIT
How I couldn't think this until this time ? Fool me ! Random damage ,hah ?
You are great guys. I understand now how the tricks will go on...Anims. with random damage from WHs with EMEffect(Thanks to Ares dll.,of course) ... Hmmm.. That was very good.. QUICK_EDIT
If you don't care about veterancy then adding a weapon to the animation triggered by EMEffect will be the smoothest method as you will be able to achieve multiple effects in a single warhead/weapon.
Here is an example of a weapon using EMEffect to apply effects:
If veterancy is in mind then having multiple damage type effects will be hard to do but you can still utilise ammo weapons to achieve it, there's quite a few possibilities, e.g.:
FlakScatter is an excellent way to introduce RNG to weapons, I use it on invisible weapons because it's very effective. This weapon below deals no damage but the warhead has EMEffect, the airburstweapon deals damage instead so we don't have to use a secondary weapon, which allows the Tesla Trooper to still power up Coils.
Because there's no cellspread it's a great single target tool. The effect will never be applied to another nearby unit even if the scatter hits it and will only ever affect the direct target, when/if it triggers. You could introduce critical hits for increased damage this way too, which would give veterancy as it's all part of one weapon.
Here's an example of a weapon using FlakScatter to apply effects:
And this is an example using noammoweapon + FlakScatter to apply an AE. I had to do it this way to keep the railgun separate, with full damage and ambientdamage too. It's still effective but had to manipulate the Sequence so the primary weapon doesn't "trigger" a firing animation:
Another method is Miggy's cellspread trick to apply stuns etc on ranged projectiles. You could also use airburstweapon using his method to create even more effects on the same weapon.
Using Airburst as an example:
You want a weapon to cull a specific type of unit but not all, a way to achieve this is to utilise airburstweapon:
Code:
Weapon:
[AKM]
Damage=30
ROF=20
Range=5.5
Projectile=GunInvisibleLowS ;BulletProj
Speed=100
Warhead=SA
Report=SpetsnazAttack ;BorisAttack
AssaultAnim=UCBLOOD;the anim to play when a UC building is cleared (assaulters need this on their primary weapon)
Ammo=0
Anim=INVIGFIRE
Cull Dummy:
[AKMCull]
Damage=1
ROF=20
Range=5
Projectile=NDummy ;BulletProj
Speed=100
Warhead=SA4
Report=SpetsnazAttack ;BorisAttack
AssaultAnim=UCBLOOD;the anim to play when a UC building is cleared (assaulters need this on their primary weapon)
Ammo=0
Warheads:
[SA]
Typical SA, damages all infantry types
Special SA, used to cull specific types of infantry:
[SA4]
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%
InfDeath=1
Versus.banearmor=100%
Versus.sbanearmor=100%
Versus.cyborgplate=100%
Culling=yes
Culling.RookieBelowHealth=25%
Culling.VeteranBelowHealth=23%
Culling.EliteBelowHealth=21%
Soz for the wall of text, but hopefully it was helpful.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum