Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002229Zandronum[All Projects] Bugpublic2015-05-11 23:362018-09-30 22:27
ReporterStrikerMan780 
Assigned ToTorr Samaho 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version3.0-beta 
Target VersionFixed in Version3.0 
Summary0002229: A_SetPitch no longer works online
DescriptionIn Zandronum 2.0, A_SetPitch works fantastically, online and off. In 3.0, it stopped working correctly online. If for example, A_SetPitch(pitch-1.0) (can be any number) is used on a weapon or inventory item, your pitch will always be set to center, facing directly forward, instead of changing your pitch up by 1.0 (or whatever you set).
Attached Files? file icon sd.pk3 [^] (1,404 bytes) 2015-05-17 23:24

- Relationships

-  Notes
User avatar (0012267)
StrikerMan780 (reporter)
2015-05-13 04:03
edited on: 2015-05-13 19:12

Here's some example Decorate. This is a weapon from a mod of mine with a lot of stuff cut out to work partially without the other content, should reproduce the bug perfectly fine. Just make a text file called decorate.txt, drop this code in it, save, and drag+drop the txt on Zandronum.exe, it'll load.

actor NewShotgun : Weapon
{
    Tag "Remington 870 Magnum"
    Weapon.BobSpeed 1.5
    Weapon.BobStyle "InverseSmooth"
    Weapon.BobRangeX 0.75
    Weapon.BobRangeY 1.5
    Decal BulletChip
    obituary "%o chewed on %k's boomstick."
    radius 20
    height 16
    weapon.selectionorder 1300
    weapon.kickback 100
    Weapon.AmmoType "Shell"
    weapon.ammouse 1
    weapon.slotnumber 3
    states
    {
    Ready:
        SHTG A 1 A_WeaponReady
        goto Ready
    Deselect:
        SHTG AA 0 A_Lower
        SHTG A 1 A_Lower
        goto Deselect
    Select:
        SHTG AA 0 A_Raise
        SHTG A 1 A_Raise
        goto Select
    Fire:
        SHTG B 0 A_GunFlash
        SHTG B 0 Radius_Quake(2, 3, 0, 1, 0)
        SHTG B 0 bright A_PlayWeaponSound("weapons/shotgf")
        SHTG B 0 Bright A_FireBullets (6.6, 3.5, 10, 5, "BulletPuff")
        SHTG B 1 Bright A_SetPitch (pitch-2)
        SHTG C 1 A_SetPitch(pitch+0.8)
        SHTG D 2 A_SetPitch(pitch+0.6)
        SHTG E 2 A_SetPitch(pitch+0.4)
        SHTG F 2 A_SetPitch(pitch+0.2)
        SHTG G 2
        SHTG H 2
        SHTG IJKL 2
        SHTG M 0
        SHTG MNOPQRS 2
        SHTG A 2
        SHTG A 0 A_Refire
        goto Ready
    Flash:
        SHTF A 2 Bright A_Light1
        SHTF A 0 Bright A_Light0
        stop
    }
}

User avatar (0012322)
Torr Samaho (administrator)
2015-05-17 17:34

Should be fixed now.
User avatar (0012329)
Arco (updater)
2015-05-17 23:25

Issue fixed in r150517-2229 with the provided code, as given on the ticket.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-05-11 23:36 StrikerMan780 New Issue
2015-05-13 04:03 StrikerMan780 Note Added: 0012267
2015-05-13 04:06 StrikerMan780 Note Edited: 0012267 View Revisions
2015-05-13 19:12 StrikerMan780 Note Edited: 0012267 View Revisions
2015-05-15 20:08 Arco Summary [3.0 Alpha] A_SetPitch no longer works online => [Merge-experiments] A_SetPitch no longer works online
2015-05-15 20:09 Arco Status new => confirmed
2015-05-17 17:15 Torr Samaho Assigned To => Torr Samaho
2015-05-17 17:15 Torr Samaho Status confirmed => assigned
2015-05-17 17:34 Torr Samaho Note Added: 0012322
2015-05-17 17:34 Torr Samaho Status assigned => needs testing
2015-05-17 23:24 Arco File Added: sd.pk3
2015-05-17 23:25 Arco Note Added: 0012329
2015-05-17 23:25 Arco Severity major => minor
2015-05-17 23:25 Arco Status needs testing => resolved
2015-05-17 23:25 Arco Resolution open => fixed
2015-05-17 23:25 Arco Fixed in Version => 3.0
2015-05-24 18:54 Dusk Product Version => 3.0
2015-05-24 18:54 Dusk Summary [Merge-experiments] A_SetPitch no longer works online => A_SetPitch no longer works online
2015-05-24 19:32 Dusk Product Version 3.0 => 3.0-beta
2018-09-30 22:27 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker