The easy fps scripting language (EFPSS) is a domain-specific language (DSL) designed for creating scripts in first-person shooter (FPS) games. This extension provides syntax highlighting and language support for the EFPSS language in various code editors and IDEs.
- Syntax highlighting for EFPSS language constructs
- Code folding and indentation
- Autocomplete suggestions
- Quick access to language documentation
The EFPSS language supports the following syntax elements:
on,off,if,else,end,return,quickreturn,keeptrigger,show,text,hide,timeout,auto,call,pause,halt,vn,preload,font,bg,button,label,bind
//for single-line comments
- Double-quoted strings with support for escape characters
globalandmapfor accessing global and map-specific variables
- Variables starting with a letter and containing letters and numbers
procedurekeyword for defining procedures- Procedure names starting with a letter and containing letters and numbers
$for accessing pointers
callkeyword for calling procedures
- Integer and floating-point numbers with optional exponents
++,--,*=,-=,/=,%=,+=,=
map,player,entity,door,light,status,give,take,cursor,shader,game,gravity,weapon,hud,sound,play,stop,move,front,back,image,key,holster,hp,maxhp,armour,maxarmour,mag,heldweapon,position
start,next,goto,heal,hurt,teleport,move,rotation,retro,turn,steps,speed,sethp,setmaxhp,givearmour,takearmour,setarmour,setmaxarmour,cancrouch,canjump,height,zoom,camspeed,check,delete,me,spawnat,spawnatpos,open,close,lock,unlock,create,status,weapon,ammo,set,save,load,maxammo,magsize,damage,firerate,bullets,reloadspeed,projectilespeed,explosion,recoil,spread,recoilrecovery,range,RANDOM,sound,music,video,sounds
To use the EFPSS extension, simply install it in your preferred code editor or IDE. The extension will automatically provide syntax highlighting, code folding, and other language-specific features when working with EFPSS files.
If you find any issues or have suggestions for improving the EFPSS extension, feel free to create a new issue or submit a pull request on the project repository.