An FOV command?
Moderator: GZDoom Developers
- Apothem
- Posts: 2070
- Joined: Sat Nov 29, 2003 7:13 pm
- Location: Performing open heart surgery on an ACS compiler.
An FOV command?
would it be possible to have an FOV ACS command? I think it would be a great help toward making certain types of new monsters and/or effects on maps. Anyone agree?
- Caligari87
- Admin
- Posts: 6241
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
- Deathsong12
- Posts: 1083
- Joined: Sat May 07, 2005 1:29 pm
- Location: On the hunt
- Caligari87
- Admin
- Posts: 6241
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
- Caligari87
- Admin
- Posts: 6241
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
- Chris
- Posts: 2982
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Why would you need to give full console access to adjust the FOV? Just make a FOV command that's multiplied with the current FOV setting (with the result clamped appropriately), and not saved to the ini. The FOV console var would remain how it is, but what you'd see would be altered according to the ACS commands used. Thusly, if you have the FOV set to 45 or 60 or something, and do Set_FOV(0.5); the FOV variable would remain 45 or 60, but you'd have a 22.5 or 30 degree FOV. It would probably work best as an Actor property, and thusly be saved and restored properly with savegames/between levels.
- Doomguy0505
- Posts: 625
- Joined: Tue Mar 29, 2005 4:53 am
- Contact:
- Cutmanmike
- Posts: 11354
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
Erm. So just don't play their .wad?Caligari_87 wrote:Not viruses in the true sense, but a malicious wadmaker could screw with all of your console variables and keybindings, making for an extremely long fixing-up process.
Ideally, a per-wad config section would be nice to get around situations like this.
- chaoscentral
- Posts: 677
- Joined: Sun Feb 27, 2005 4:32 pm
- Location: Revere, MA
- Contact:
