Portalgun have no fire delay if swap weapon (also in Portal), thanks this we can do stuff like this (can cause monitor flickering).
Also it's cause problems when you use emplacement guns.
Expected that portalgun can fire only after draw animation end. It's not really bug, but its should not be like this.
To Reproduce
1.1. Open any map.
1.2. Enter in console sv_cheats 1; impulse 101; give weapon_physcannon; bind mwheelup "+attack; phys_swap; phys_swap"; bind mwheeldown "+attack; phys_swap; phys_swap".
1.3. Use mouse wheel.
1.4. Pay attention that portalgun is now miniportalgun!!!
2.1. Open map d1_canals_07.
2.2. Enter in console sv_cheats 1; impulse 101.
2.3. Find the emplacement gun.
2.4. Use the emplacement gun.
2.5. Hold your fire button.
2.6. Unuse the emplacement gun.
2.7. Pay attention that portalgun fire immediately with no delay before draw animation will end.
Describe the bug
Portalgun have no fire delay if swap weapon (also in
Portal
), thanks this we can do stuff like this (can cause monitor flickering). Also it's cause problems when you use emplacement guns.https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/1c59fee6-64db-47fb-bfb6-76cdcadbf2bf
At first I found it when I created thanks Hammer logic TOW from
Black Mesa
for my own mod (ignore the visual issues lol).https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/14562ae6-d4d9-4190-ba88-9419721a5c5d
Expected that portalgun can fire only after
draw
animation end. It's not really bug, but its should not be like this.To Reproduce
1.1. Open any map. 1.2. Enter in console
sv_cheats 1; impulse 101; give weapon_physcannon; bind mwheelup "+attack; phys_swap; phys_swap"; bind mwheeldown "+attack; phys_swap; phys_swap"
. 1.3. Use mouse wheel. 1.4. Pay attention that portalgun is now miniportalgun!!! 2.1. Open mapd1_canals_07
. 2.2. Enter in consolesv_cheats 1; impulse 101
. 2.3. Find the emplacement gun. 2.4. Use the emplacement gun. 2.5. Hold your fire button. 2.6. Unuse the emplacement gun. 2.7. Pay attention that portalgun fire immediately with no delay beforedraw
animation will end.Operating System
Any.