Is it possible for a Switch to activate a server command?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
EarthJumper
Posts: 6
Joined: Wed Aug 27, 2025 6:41 am
Preferred Pronouns: She/Her
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD (Modern GZDoom)

Is it possible for a Switch to activate a server command?

Post by EarthJumper »

Very new to mapping, bare with me here. I had an idea for the deathmatch maps I have been making.
Can I get this switch to Activate "sv_fastweapons 2" ??
Attachments
Just a picture of the switch.
Just a picture of the switch.
chungswitch.png (43.82 KiB) Viewed 85 times
User avatar
Kappes Buur
 
 
Posts: 4201
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Is it possible for a Switch to activate a server command?

Post by Kappes Buur »

EarthJumper wrote: Fri Oct 17, 2025 7:37 am , bare with me here.
:shock:
You must be a really friendly person, but I decline. :)

sv_fastweapons 2 can be used in a script, ACS or ZSCRIPT.
However, set sv_cheats to 1 first, an easy way is to include it in autoexec.cfg.
User avatar
EarthJumper
Posts: 6
Joined: Wed Aug 27, 2025 6:41 am
Preferred Pronouns: She/Her
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Is it possible for a Switch to activate a server command?

Post by EarthJumper »

Ahhh see I had a feeling that script tab would have something to do with it, thank you.
I'm reading the DoomWiki tab on this since I don't wanna outright ask how to use a feature lol.
... but is there a specific page on that wiki that'd help in this situation? it'd be appreciated :lol:
Post Reply

Return to “Mapping”