Skip to content

Startup commands and Macros

MaxD / supermedia_art edited this page Feb 23, 2019 · 5 revisions

Startup and Macros files

Macros are used to automate stuff, startup file permits you to add commands at startup.

Macros

Macros are defined in the macro text file in the data\userdata directory.

The original file contains :

# macros for freeliner, put a number and a command or two or three!
1= layer secondShader option praxis_blendit.glsl, layer secondShader uniforms 4 0, layer secondShader uniforms 3 0, layer secondShader uniforms 2 0.1, layer secondShader uniforms 1 0.05, layer secondShader uniforms 0 0.95
2= tw B q 4, tr BA
3= tw $ b 1, tw $ q 8

You can add line for each number, like this example :

4= fl save, fl quit

Pressing ctrl and 4 key will save your work and quit Freeliner.

Some of the commands can be find in this page : https://github.com/maxdee/alc_freeliner/blob/devel/freeliner_sketch/data/doc/autodoc.md

Startup

Startup commands are defined in the startup text file in the data\userdata directory.

The original file contains :

#add commands to run on startup
# <- is a comment
#tw A q 3
#tw A f 8
#geom load haha.xml
#geom load
#tp load
#tp link BA
#colormap colormap.png

For example, you can delete # caracter on some lines to automaticaly open your last template and geometry work.

#add commands to run on startup
# <- is a comment
#tw A q 3
#tw A f 8
#geom load haha.xml
geom load
tp load
#tp link BA
#colormap colormap.png
Clone this wiki locally