CEG:Main: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
m Flozi moved page CEG to CEG:Main: adherence to consistent standards
Flozi (talk | contribs)
m →Further information: update link
Line 17: Line 17:
*[[CEG:Defs]]
*[[CEG:Defs]]
*[[CEG-Calls]]
*[[CEG-Calls]]
*[[CEG-Operators]]  
*[[CEG:Operators]]  
*[[CEG-Miscellaneous]]  
*[[CEG-Miscellaneous]]  


[[Category:CEG]]
[[Category:CEG]]

Revision as of 18:42, 5 October 2014

CEG Main Page

Introduction

CEG stands for Custom Explosion Generator, a scripting language for creating graphical effects. These are most commonly used to draw a graphical effect when a weapon hits a target, but can also be called from COB and Lua.

Files Needed

The actual CEGs are defined in .tdf or .lua files in effects/ (preferred) or gamedata/explosions/ (old standard). You will also need a resources.lua in gamedata/ to define textures, as well as the actual textures in bitmaps/. Finally, you need the weapon, unit, COB, and or Lua files that you are calling the CEGs from.

What Can Call a CEG?

Further information

For details on CEG definition files and more advanced features see: