[Fixed] sv_fastweapons 2 + strife = bad

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Cutmanmike
Posts: 11349
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom

sv_fastweapons 2 + strife = bad

Post by Cutmanmike »

sv_fastweapons 1 works fine but shooting with 2 freezes the program. I only tried with crossbow so it might be just that.
User avatar
Woolie Wool
Posts: 1713
Joined: Mon Dec 15, 2003 3:36 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch Linux, Windows 11
Graphics Processor: nVidia with Vulkan support

Post by Woolie Wool »

That's because it's probably a variable that can only be set to 0 or 1. 0 is off and 1 is on.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

Woolie Wool wrote:That's because it's probably a variable that can only be set to 0 or 1. 0 is off and 1 is on.
Xaser wrote:Think before you leap... er post.
It's an integer. Just enter 'sv_fastweapons 2' and see the difference between 1. If it was a bool (meaning only 0 and 1) it would not be 0/1 but MORE like "False" and "True".
User avatar
Woolie Wool
Posts: 1713
Joined: Mon Dec 15, 2003 3:36 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch Linux, Windows 11
Graphics Processor: nVidia with Vulkan support

Post by Woolie Wool »

A true/false variable is set to "true" or "false" in the configuration file, but you use 1 or 0 in the console.

For example, you would type "cl_run = true" in the config file to enable autorun, but in the console you type "cl_run 1".

Also, true/false is not a real Boolean operation. Boole actaully came up with the and/or/not operation.
User avatar
Enjay
 
 
Posts: 26696
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

You can use true or false in the console too. 1 and 0 are quicker to type though. Also, you can use 1 and 0 in a config file. You can also use 1 and 0 in the ini, but Zdoom changes them to true and false when it next writes to the ini.
User avatar
Xaser
 
 
Posts: 10773
Joined: Sun Jul 20, 2003 12:15 pm

Post by Xaser »

Hirogen2 wrote:
Xaser wrote:Think before you leap... er post.
My words have become immortalized! :D

(Actually, it's supposed to be "Look before you leap... er post", but oh well. At least somebody bothered to quote me!)
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

Fixed.

Return to “Closed Bugs [GZDoom]”