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
0000878Zandronum[All Projects] Bugpublic2012-06-14 00:552012-06-18 18:27
ReporterZzZombo 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000878: Players are able to use weapons which aren't bound to any weapon slots on thier PlayerClass
DescriptionPlaying DM with Zombie Horde files on stock maps I noticed that bots able to fire from weapons that I can't select (SSG, minigun, etc.). Class definition of default player for this mod overrides default slots so players can't use any not mod specific weapon. While investigating further, I pointed out that players that have auto weapon switch on pickup can use weapons upon it since the weapon is automatically selected no matter that player shouldn't be able to use it because of slots definition. In conclusion, auto weapon switch can switch weapons to such that player himself can't do.
Steps To ReproduceRun attached file and switch to any DM map, for example, D2DM1. Pickup any weapon and you will see what I speak about.
Attached Files? file icon skulltag_bug_example3.pk3 [^] (423 bytes) 2012-06-14 00:55

- Relationships

-  Notes
User avatar (0003777)
Qent (updater)
2012-06-14 20:50

Removing slot definitions does not delete the weapons. This sounds like a bug with the mod to me, not with the engine.
User avatar (0003802)
ZzZombo (reporter)
2012-06-17 23:19

What do you mean "delete weapons"?
User avatar (0003805)
Klofkac (reporter)
2012-06-18 17:41

You can always swith to other weapons by "use weaponname" CCMD.
User avatar (0003806)
Dusk (developer)
2012-06-18 18:26

> Class definition of default player for this mod overrides default slots so players can't use any not mod specific weapon.
Overriding the weapons slots doesn't prevent the weapon from being picked up into the inventory. By overriding slots, you do exactly that, the use command can still be used to use the weapon.

If you desire to have a player class not be able to pick up a specific weapon, you can use a A_JumpIfInventory ("Token", 1, "FailState"), where Token is some inventory item only the forbidden player class has and FailState a dummy state terminated with a "fail" state terminator.

This is no bug - thus closing.

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: Qent

- Issue History
Date Modified Username Field Change
2012-06-14 00:55 ZzZombo New Issue
2012-06-14 00:55 ZzZombo File Added: skulltag_bug_example3.pk3
2012-06-14 20:50 Qent Note Added: 0003777
2012-06-15 12:27 Dusk Summary [Bug] Players are able to use weapons which aren't bound to any weapon slots on thier PlayerClass => Players are able to use weapons which aren't bound to any weapon slots on thier PlayerClass
2012-06-17 23:19 ZzZombo Note Added: 0003802
2012-06-18 17:41 Klofkac Note Added: 0003805
2012-06-18 18:26 Dusk Note Added: 0003806
2012-06-18 18:27 Dusk Status new => closed
2012-06-18 18:27 Dusk Resolution open => no change required






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker