MantisBT - Zandronum
View Issue Details
0002231Zandronum[All Projects] Bugpublic2015-05-15 01:282015-05-17 09:55
Hekmatyar 
 
normalminorN/A
closedno change required 
MicrosoftWindowsXP/Vista/7
2.0 
 
0002231: Weapon.kickback disabled in 2.0?
Hi there.

I've already posted about this issue on the forums and am now here to officially report the issue (advised by Wario).

It seems that weapon.kickback does not seem to function as it should. It used to work before 2.0 came around. Noticed how my targets did not get knocked back when hit by a weapon actor with this property.
All you probably need to do is to add "weapon.kickback" somewhere in a weapon actor (not in the states ofcourse). An option would be right under its obituary.

Straight from the code:

actor Riotgun : Shotgun replaces Shotgun
{
  obituary "%o got pummeled by %k's shotgun."
  radius 20
  height 16
  decal "BulletChip"
  Weapon.SlotNumber 2
  attacksound "NewMarine/Shotgun"
  inventory.pickupmessage "You got the shotgun!"
  weapon.selectionorder 1500
  weapon.kickback 100
  (etc.)

No tags attached.
? weapontestkickback.wad (124,083) 2015-05-16 23:29
/tracker/file_download.php?file_id=1492&type=bug
Issue History
2015-05-15 01:28HekmatyarNew Issue
2015-05-16 12:35Torr SamahoNote Added: 0012282
2015-05-16 12:35Torr SamahoStatusnew => feedback
2015-05-16 23:29HekmatyarFile Added: weapontestkickback.wad
2015-05-16 23:31HekmatyarNote Added: 0012301
2015-05-16 23:31HekmatyarStatusfeedback => new
2015-05-16 23:46HekmatyarNote Edited: 0012301bug_revision_view_page.php?bugnote_id=12301#r7104
2015-05-17 00:23HekmatyarNote Edited: 0012301bug_revision_view_page.php?bugnote_id=12301#r7105
2015-05-17 00:26HekmatyarNote Edited: 0012301bug_revision_view_page.php?bugnote_id=12301#r7106
2015-05-17 00:46ArcoNote Added: 0012302
2015-05-17 00:46ArcoStatusnew => feedback
2015-05-17 01:24HekmatyarNote Added: 0012303
2015-05-17 01:24HekmatyarStatusfeedback => new
2015-05-17 02:08HekmatyarNote Added: 0012304
2015-05-17 06:47Edward-sanNote Added: 0012305
2015-05-17 07:37Edward-sanNote Added: 0012306
2015-05-17 07:37Edward-sanNote Edited: 0012306bug_revision_view_page.php?bugnote_id=12306#r7108
2015-05-17 07:38Edward-sanNote Edited: 0012306bug_revision_view_page.php?bugnote_id=12306#r7109
2015-05-17 09:55DuskNote Added: 0012307
2015-05-17 09:55DuskStatusnew => closed
2015-05-17 09:55DuskResolutionopen => no change required

Notes
(0012282)
Torr Samaho   
2015-05-16 12:35   
Please provide a minimal example wad.
(0012301)
Hekmatyar   
2015-05-16 23:31   
(edited on: 2015-05-17 00:26)
Attached a file (of a class/weapon) with quite the amount of a weapon.kickback value.

The effect does not apply however. In this tiny wad, you can select your class to "crash" which will give you the weapon that has the weapon.kickback property on.

Feel free to test it! I already did, but to no avail: there is no kicking back.



Hitscan and melee does not work either. Have tried those out too!

(0012302)
Arco   
2015-05-17 00:46   
It works for me in 2.0. Could you try it with a clean .ini file?
(0012303)
Hekmatyar   
2015-05-17 01:24   
Sorry if I ask, but ehh. What's an ".ini" file? Does it have any specific filename in a default zandro folder?

Would reinstalling the whole bunch work as well?
(0012304)
Hekmatyar   
2015-05-17 02:08   
I've had other people test this file on their PC. Same result.
(0012305)
Edward-san   
2015-05-17 06:47   
Can you reproduce this issue with GZDoom r323 and GZDoom r900 ?
(0012306)
Edward-san   
2015-05-17 07:37   
(edited on: 2015-05-17 07:38)
I see the issue. You added '+NODAMAGETHRUST' to the DoomCrash actor. It caused no problems before 2.0, because that flag was intended to work just for the missiles. zdoom r1695 made that flag work also for the players, hence the lost thrust with the victims. If you remove the flag from the actor, you'll get back the thrusting victims.

(0012307)
Dusk   
2015-05-17 09:55   
Sounds like a don't do that to me, then.