Wargames:Help Site:Customize WGL:WGL Settings sqf: Difference between revisions
Lou Montana (talk | contribs) m (Some wiki formatting) |
|||
Line 1: | Line 1: | ||
{{TOC|side}} | |||
== Basic Overview and Idea == | == Basic Overview and Idea == | ||
'''wgl_settings.sqf''' is a user-editable preferences file. For performance reasons, especially in multiplayer conditions, some extra visual effects are disabled by default. People with fast computers may want to enable these things to add to the experience of OFP with WGL. | '''wgl_settings.sqf''' is a user-editable preferences file. For performance reasons, especially in multiplayer conditions, some extra visual effects are disabled by default. | ||
People with fast computers may want to enable these things to add to the experience of OFP with WGL. | |||
Currently, one can enable or disable these things: | Currently, one can enable or disable these things: | ||
Line 19: | Line 19: | ||
The changes will take effect when you start the next mission. (That means you don't have to restart OFP but can keep playing instead) | The changes will take effect when you start the next mission. (That means you don't have to restart OFP but can keep playing instead) | ||
== Examples == | == Examples == | ||
Line 25: | Line 26: | ||
* To disable the tracers, change ["tracers", *true*] to ["tracers", *false*] | * To disable the tracers, change ["tracers", *true*] to ["tracers", *false*] | ||
== Unmodified | == Unmodified File == | ||
Here's the original contents of '''wgl_settings.sqf''': | Here's the original contents of '''wgl_settings.sqf''': | ||
<sqf> | |||
/* | |||
================== | |||
WGL Settings.sqf | |||
================== | |||
This file is used to set user preferences for certain WGL features. | |||
You can edit this file in your favorite text editor (eg Notepad) | |||
*/ | |||
[ | |||
// Category: Preferences | |||
[ | |||
"Prefs", | |||
// Create extra rifle and machine gun smoke puffs when firing | |||
// Default: false | |||
["rifleFX", false], | |||
// Track infantry weapons bullets to create bullet impact effects | |||
// Default: false | |||
["mgFX", false], | |||
// Create smoke, explosion and fire effects for destroyed vehicles | |||
// Default: true | |||
["exploFX", true], | |||
// Enable bn880's tracer effects | |||
// Default: true | |||
["tracers", true] | |||
] | |||
]; | |||
</sqf> |
Latest revision as of 17:00, 8 April 2024
Basic Overview and Idea
wgl_settings.sqf is a user-editable preferences file. For performance reasons, especially in multiplayer conditions, some extra visual effects are disabled by default. People with fast computers may want to enable these things to add to the experience of OFP with WGL.
Currently, one can enable or disable these things:
- Extra infantry weapons smoke puffs (false)
- Infantry weapons bullet impact effects (false)
- Use of (bn880's) tracers (true)
- Smoke, explosion and fire effects for destroyed vehicles (true)
HowTo
In the folder @wgl5, you'll see a file named wgl_settings.sqf. You can open that with any text editor such as Notepad. You should only change lines that have ["name", true/false] in them. After you're done, save the file again and play OFP again.
The changes will take effect when you start the next mission. (That means you don't have to restart OFP but can keep playing instead)
Examples
- To enable rifle smoke, change ["rifleFX", *false*] to ["rifleFX", *true*]
- To disable the tracers, change ["tracers", *true*] to ["tracers", *false*]
Unmodified File
Here's the original contents of wgl_settings.sqf: