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
0000911Zandronum[All Projects] Bugpublic2012-07-09 05:442012-07-11 19:42
ReporterTerminusEst13 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version 
Target VersionFixed in Version 
Summary0000911: Player.WeaponSlot only reads first word in weapon name when it conflicts with an existing actor.
DescriptionHello.

Player.WeaponSlot is a wonderful resource that allows modders to attribute specific weapons to specific classes, rather than have everyone get everything.
Quoted actor names is also a wonderful thing, allowing modders to put proper spaces and other characters in weapon/actor names.

Problem.
When Player.WeaponSlot X has a quoted actor name that happens to have the same first word as an existing actor, like say "Dragon Claw" with the same first word as HeXen's Dragon actor, or "Ripper Chaingun" with the same first word as Heretic's Ripper actor, the game does not allow the player to swap to that weapon.
Steps To ReproduceAttached is a simple weapon mod, replacing the PlasmaRifle class with a "Fireball Gun" and giving the player a Player.WeaponSlot 6, "Fireball Gun" property.
The "Fireball Gun" actor has the same first word as HeXen's Fireball actor, and so when summoned (or walked over) the player will be able to pick it up but cannot use it.
Additional InformationOne possible workaround to this is to backport the Tag actor property from ZDoom, so that the actor name is different from the display name.
Attached Files? file icon te13-weaponslotproblem.wad [^] (780 bytes) 2012-07-09 05:44

- Relationships

-  Notes
User avatar (0003927)
TerminusEst13 (reporter)
2012-07-09 09:10

Oh yeah, forgot to mention. There's also a big ol' "Cannot add non-weapon actor Fireball to weapon slots" error message on starting the game.
User avatar (0003928)
Torr Samaho (administrator)
2012-07-09 17:51

I'm pretty sure that this problems originates from ZDoom. Does your example wad work in the latest ZDoom version?
User avatar (0003941)
ZzZombo (reporter)
2012-07-10 06:24

Tag property is here already.
User avatar (0003947)
TerminusEst13 (reporter)
2012-07-11 17:54

Ah, no, it doesn't seem to work in ZDoom, either. That settles that, I suppose. Sorry.
User avatar (0003949)
Torr Samaho (administrator)
2012-07-11 19:41

Alright, I'm closing this then. If ZDoom should fix it, please let me know.

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
2012-07-09 05:44 TerminusEst13 New Issue
2012-07-09 05:44 TerminusEst13 File Added: te13-weaponslotproblem.wad
2012-07-09 09:10 TerminusEst13 Note Added: 0003927
2012-07-09 17:51 Torr Samaho Note Added: 0003928
2012-07-09 17:51 Torr Samaho Status new => feedback
2012-07-10 06:24 ZzZombo Note Added: 0003941
2012-07-11 17:54 TerminusEst13 Note Added: 0003947
2012-07-11 17:54 TerminusEst13 Status feedback => new
2012-07-11 19:41 Torr Samaho Note Added: 0003949
2012-07-11 19:42 Torr Samaho Status new => closed
2012-07-11 19:42 Torr Samaho Resolution open => no change required






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker