Deprecated: Assigning the return value of new by reference is deprecated in /home/jkhub/public_html/library/includes/Skin.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/jkhub/public_html/library/includes/Title.php on line 132

Deprecated: Assigning the return value of new by reference is deprecated in /home/jkhub/public_html/library/includes/Title.php on line 219
JK Hub - [Reference]

JKL Section - Templates

Every thing is based on a template. A template can have the following params.

Param Name Value Type Unit Description
aiclass filename The .ai file that a thing uses.
airdrag flex Amount of drag a thing has with respect to air.
angvel vector degrees/second [Form: (pitch/yaw/roll)] The speed and direction in which a thing spins.
attach  ?  ? Unknown, but found with the other params in the exe.
blasttime flex seconds Duration of an explosion.
buoyancy flex The floating ability of a thing. Positive values makes the thing sink, negative values make it float. Guessing it would be gravity precentage if the thing is in water.
chance flex percent Chance that the dark jedi will block with his saber.
cog filename The .cog file that a thing uses.
collide int Collide type.
count int The amount of sprites that a thing produces.
creatething template Create an additional thing with this template.
damage flex Base amount of damage a thing inflicts.
damageclass int Type of damage a thing inflicts.
debris template Create an additional thing with this template.
elementsize flex jku Distance between each trailthing.
error flex percent Chance of aiming error.
explode template When thing hits a surface, create another thing with this template.
eyeoffset vector jku The offset from an actor's or player's position where its eyes are.
fireoffset vector jku The offset from thing's position where a projectile is created. (Only used with actor?)
flashrgb vector RGB [Form: Red/Green/Blue] Color of a flash produced by a thing. (Only used with explosion?)
fleshhit template When thing hits an actor or player, create another thing with this template.
force flex The force of a thing's impact.
fov flex degrees Field Of Vision. Range of vision from left to right that an actor or player can see at once.
frame offset_pyr jku:degrees [Form: (x/y/z:p/y/r)] Used in the Things Section, yet found with the other params in the exe, so it might work as a param, too.
health flex The starting health of a thing.
height flex jku The distance a thing is placed from the surface to which it is attached. If movesize is smaller than height when thing attaches, then thing will initially attach at movesize distance from surface, and then move away from surface until it reaches the height.
jumpspeed flex 0.1 jku/second The speed at which an actor or player can jump.
light flex Amount of light a thing gives off.
lightintensity flex The intensity of a player's field light.
lightoffset vector jku The offset from the player's position where light is created.
mass flex Thing's mass.
material filename The .mat file that a thing uses. (Only used with particle?)
maxheadpitch flex degrees The highest an actor or player can look up.
maxhealth flex The maximum amount of health an actor or player can get.
maxlight flex Maximum light a thing can give off.
maxrotthrust flex jku/second? Maximum rotational thrust?
maxrotvel flex jku/second? Maximum rotational speed. The fastest that an actor or player can turn around.
maxthrust flex 0.1 jku/second Maximum thrust?
maxvel flex 0.1 jku/second Maximum speed. It's the fastest an actor or player can move in a straight line.
mindamage flex The minimum damage a thing can inflict.
minheadpitch flex degrees The lowest an actor or player can look down.
minsize flex Minimum size that a particle can be.
model3d filename The thing shows up as a 3DO (3D Object) defined in a .3do file.
move none|path|physics The movement type for a thing.
movesize flex jku The size of the collide sphere when thing is moving.
numframes int Used in the things section, yet found with the other params in the exe, so it might work as a param, too.
orient vector degrees [Form: (p/y/r)] Orientation of a thing when created.
orientspeed  ?  ? Unknown, but found with the other params in the exe.
particle filename The .par file that a thing uses.
physflags int Physics flags.
points  ? Unknown, but found with the other params in the exe.
pitchrange flex degrees? The vertical range in which a particle is shown.
puppet filename The .pup file used by a thing.
range flex jku? The maximum range that a particle will spread before disappearing.
rate flex seconds Rate of creation.
respawn flex seconds The time before a thing respawns. (Only used with item?)
size flex jku Collide size of a thing when not moving.
soundclass filename The .snd file a thing uses.
sprite filename The thing shows up as a sprite (2D image), defined by a .spr file.
staticdrag flex Amount of drag a thing has with respect to sector thrust?
surfdrag flex Amount of drag a thing has with respect to surfaces?
thingflags int Thing flags.
timer flex seconds Time before thing is destroyed. Also known as "life left".
trailcylradius flex jku? Possibly the radius of the trailing thing or the radius of a cylinder in which the trailing thing is created. Used in +force_lightning template in LEC levels.
trailrandangle flex degrees? Randomizes the aim of a trailing thing.
trailthing flex Creates a trailing thing for a projectile.
type int The type of thing created. Each type has its own default template params and which params are used or ignored by engine.
typeflags int Type flags. The type determines what these flags mean. See Actor Flags, Explosion Flags, Item Flags, Particle Flags, Weapon Flags
vel vector 0.1 jku/second A thing's velocity.
weapon template Template of the primary weapon an actor uses.
weapon2 template Template of the secondary weapon an actor uses.
yawrange flex degrees? The horizontal range in which a particle is shown.
  • Create:
This page was last modified 16:39, 27 August 2007.   This page has been accessed 6,227 times.