Editing FTEQW Modding

From Quake Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 141: Line 141:
  
 
=== Light styles in FBSP ===
 
=== Light styles in FBSP ===
Light-styles are a set of different styles on how light entities can behave, allowing them to pulse, flick, etc. Setting up a light with a light-style is as simple as creating a new field inside any light entity called "style", and feed with a number between 1 and 256 (0 is standard lighting).
+
Light-styles are a set of different styles on how light entities can behave, allowing them to pulse, flick, etc. Setting up a light with a light-style is as simple as creating a new field inside any light entity called "style", and feed with a number between 1 and 11 (0 is standard lighting).
  
The style has to be defined within the QC code, using the `lightstyle` builtin:
+
These are the actual effect names for them:
void(float lightstyle, string stylestring, optional vector rgb) lightstyle = #35; /*
+
 
    Specifies an auto-animating string that specifies the light intensity for entities using that lightstyle.
+
# FLICKER (first variety)
    a is off, z is fully lit. Should be lower case only.
+
# SLOW STRONG PULSE
    rgb will recolour all lights using that lightstyle. */
+
# CANDLE (first variety)
(snippet taken from fteextensions.qc)
+
# FAST STROBE
 +
# GENTLE PULSE 1
 +
# FLICKER (second variety)
 +
# CANDLE (second variety)
 +
# CANDLE (third variety)
 +
# SLOW STROBE (fourth variety)
 +
# FLUORESCENT FLICKER
 +
# SLOW PULSE NOT FADE TO BLACK
 +
 
 +
Note: This comes from the qfusion documentation, not quite sure if implemented the exact same way in FTEQW.
  
 
== Server side anti-lag ==
 
== Server side anti-lag ==

Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)