MantisBT - Zandronum
View Issue Details
0002992Zandronum[All Projects] Suggestionpublic2017-01-24 02:422024-02-29 03:26
DrPyspy 
 
normalfeaturealways
confirmedbackport later 
Windows 10
3.1 
 
0002992: Friction actor property missing
When attempting to use the Friction actor property, the error message "'friction' is an unknown actor property" appears.
1. Create a new actor
2. Add the 'friction' property with any number after it
3. Compile into a mod and run with Zandronum
No tags attached.
has duplicate 0002713closed  Backport the friction actor property from ZDoom 2.8.1 
has duplicate 0004060closed  Backport Friction actor property 
? friction.wad (595) 2022-08-17 00:34
https://zandronum.com/tracker/file_download.php?file_id=2763&type=bug
? friction2.wad (2,617) 2022-08-17 00:34
https://zandronum.com/tracker/file_download.php?file_id=2764&type=bug
Issue History
2017-01-24 02:42DrPyspyNew Issue
2017-01-24 07:08DuskSeverityminor => feature
2017-01-24 07:08DuskCategoryBug => Suggestion
2017-01-24 09:29UnknownNote Added: 0016678
2017-01-24 21:29Ru5tK1ngNote Added: 0016683
2022-08-17 00:34arkoreNote Added: 0022309
2022-08-17 00:34arkoreFile Added: friction.wad
2022-08-17 00:34arkoreFile Added: friction2.wad
2022-10-13 14:46WaTaKiDRelationship addedhas duplicate 0002713
2022-12-10 20:41KaminskyRelationship addedhas duplicate 0004060
2024-02-29 03:26Ru5tK1ngNote Added: 0023102
2024-02-29 03:26Ru5tK1ngStatusnew => acknowledged
2024-02-29 03:26Ru5tK1ngResolutionopen => backport later
2024-02-29 03:26Ru5tK1ngProduct Version4.0-beta => 3.1
2024-02-29 03:26Ru5tK1ngStatusacknowledged => confirmed

Notes
(0016678)
Unknown   
2017-01-24 09:29   
I Believe this is because APROP_Friction was added only at 2.8.1 of ZDoom, and Zandronum 3.0 ZDoom base is 2.7.1 (i think ?)
(0016683)
Ru5tK1ng   
2017-01-24 21:29   
Yes it is a property added in 2.8.1. It'll be in Zandronum after 3.0.
(0022309)
arkore   
2022-08-17 00:34   
Looks like it wasn't added to Zan 3. I tried SetActorProperty(0, APROP_Friction, 2.0); in ENTER, but when I do Log(f:GetActorProperty(0, APROP_Friction)); it just says 0. TDRR confirmed that APROP_Friction is not supported in Zan 3.

Note, there appears to be a duplicate of this ticket at 0002713. Could someone check and mark as dupe, if so.

---

Here are two WAD files:
1. friction.wad - for APROP_Friction test
2. friction2.wad - for Friction actor property test

Command(s):
zandronum.exe -iwad DOOM2.WAD -file friction.wad +map MAP01
zandronum.exe -iwad DOOM2.WAD -file friction2.wad +map MAP01

Steps:
See console and/or terminal error.

Dev notes:
'https://github.com/ZDoom/gzdoom/commit/c4d8950a7f613e542184e87bc646bca2e23a4ad1 [^]' - fixed APROP_Friction missing break
-'https://github.com/ZDoom/gzdoom/releases/tag/2.5pre [^]'
'https://github.com/ZDoom/gzdoom/commit/7a26318bf0245bf44e8261a400d64533b18c07eb [^]' - floatified friction.
-'https://github.com/ZDoom/gzdoom/releases/tag/2.5pre [^]'
'https://github.com/ZDoom/gzdoom/commit/ea7ba9dba3ed1301e52d4e6f982dc31874827b82 [^]' - add per-actor friction
-'https://github.com/ZDoom/gzdoom/releases/tag/1.8.10 [^]'
(0023102)
Ru5tK1ng   
2024-02-29 03:26   
It's up to Torr to determine if something gets ported out of sequence. I'll just mark this as backport later in the meantime.