Page 1 of 1
urc, shader and tik lenguage
Posted: Fri May 22, 2009 12:59 pm
by SilentAngel
can someone tell my how urc, shader and tik lenguage works? I would learn how to use them but can't find a tutorial or something similar..
Posted: Fri May 22, 2009 2:13 pm
by $oldier Of Ra
There aren't any tutorials because they have a quite limited and easy language. Take a look at other .urc, .tik or .shader files, they quite explain it for you.
Shaders are only used to define properties (such as lightning) and cache textures. The defined textures can then be used in the tiki files.
Tiki files have 3 sections. Setup, init and animations.
The setup section defines all the components of the entity. Its structure, its texturing, its size... The init section, like the name suggests, initializes the entity with all the properties & commands needed to correctly appear in the 3D world such as the classname (the only required property), solidness, angles... The animations section defines the location of the animations and can, optionally, add tiki-spawned effects (usually used by emitters and fx) when certain animations are called. The idle animation always gets automatically executed when the entity gets spawned.
The urc files are used to make menus.
The menu itself gets defined first. Then all the resources get associated to the menu and get loaded. These are all individual elements which gets drawn onto the clients screen and together they form the menu.
Posted: Fri May 22, 2009 4:41 pm
by Rookie One.pl
MoHAA shaders, with the exception of a couple of additions, are pretty much compatible with the Quake III shaders. Google up "quake shader bible" for very comprehensive documentation on them.
Posted: Fri May 22, 2009 5:38 pm
by SilentAngel
Ty alot guys!
