TOC TOC Site Map

 WED Level Editor
    User Interface
       Button Bar
       Edit Windows
       Level Window
       Presets Window
       Textures Window
       Resources Window
       Block Properties
       Entity Properties
       Map Compiler
       Publish
    Right Click Menu
    File Menu
       Map Properties
       Preferences
       Import / Export
    Edit Menu
    Mode Menu
    Object Menu
    View Menu
    Help Menu
    Terrain Editor
    Path Editor
    Project Manager
    Command Line Options
    Error Messages
    How To...
       Design a Level
       Use Entities
       Use Textures
       Use Shaders
    FAQ
 GED Ingame Editor
    User Interface
    Toolbar
    Rightclick Menu
    Entity
    Protocol
    Preferences
       Editor Settings
       Engine Settings
       Shortcuts
    Level
       Object Tree
       Search List
    Terrain Mode
       Heightmap
       Deform Mode
       Paint Mode
    Use as Plugin in WED
 MED Model Editor
    File Menu
    Edit Menu
       LOD Manager
       Frame Manager
       Skin Manager
       Skin Settings
    Mode Menu
    Object Menu
    View Menu
    Tools Menu
       Mesh Tester
       Mesh Reducer
       Background Image
       Bones
       Bones Transform Tool
       Terrain Texture Creator
       Transform Vertices Tool
    Help Menu
    Toolbars
       File Toolbar
       Edit Toolbar
       Select Toolbar
       Mesh Toolbar
       Bones Toolbar
       Primitives Toolbar
       View Toolbar
       Frame Toolbar
       Status Line
    Skin Editor
       File Menu
       Edit Menu
          Skin Settings
       View Menu
       Toolbars
          Skin Toolbar
          Edit Toolbar
          Paint Toolbar
    How To...
       Model Animation Guide
          States of Animation
          Naming Your Frames
          Positioning Your Animation
          Stand, Walk, Run
          Jump, Attack, Death
          Duck, Crawl
          Swim
       Create Bones Animation
    FAQ
 SED Script Editor
    Menu
       Publish
    Editing
    Navigation Area
    Preferences
 Shader Viewer
 Game Templates
    Car Templates
    Shooter Templates
    Template Writing
 Engine
    Engine Options
    Hot Keys
    Rendering
    Lighting Engine
    Collision Engine
    Physics Engine
    Network Engine
    Entities
    Frame Rate Optimization
    FAQ
 Script Programming
    Syntax
    Variables
    Strings
    Pointers
    Structs
    Functions
       return
       wait
       proc_status
       proc_kill
       proc_late
    Expressions
    Comparisons
    Script control
       if .. else
       while, do
       for
       switch .. case
       break
       continue
       goto
    Precompiler
       #include
       #ifdef, #ifndef, #else, #endif
       #define, #undef
       //!
       Macros
    Lite-C Headers
    Macros
    Comment Tags
    DLLs and APIs
    C/C++ to lite-C
    C-Script to lite-C
    FAQ
 Engine Objects
    ENTITY
       Position parameters
          x, y, z (entity)
          pan, tilt, roll (entity)
          scale_x, scale_y, scale_z
          layer (entity)
       Visual parameters
          type
          layer
          alpha (entity)
          ambient
          albedo
          lightrange
          red,green,blue (entity)
          frame,next_frame
          pose
          u,v
          skin
          clipfactor
          vmask
          material
          lightmap
          shadow
       Collision & environment
          PASSABLE
          POLYGON
          NARROW, FAT
          UNTOUCHABLE
          CLIPPED
          min_x,min_y,min_z,max_x,max_y,.max_z
          push
          group
          trigger_range
          parent
          client_id
          floor_dist
       Events
          event
          EVENT_BLOCK
          EVENT_ENTITY
          EVENT_FRICTION
          EVENT_PUSH
          EVENT_IMPACT
          EVENT_SHOOT
          EVENT_SONAR
          EVENT_SCAN
          EVENT_DETECT
          EVENT_TRIGGER
          EVENT_TOUCH
          EVENT_RELEASE
          EVENT_CLICK
          EVENT_RIGHTCLICK
          EVENT_RECEIVE
          EVENT_DISCONNECT
          EVENT_FRAME
       Script parameters
          skill1..skill100
          string1, string2
          FLAG1..FLAG8
       Flags
          PASSABLE
          POLYGON
          NARROW, FAT
          UNTOUCHABLE
          CLIPPED
          CLIP0, CLIP1
          LOD0, LOD1
          SHADOW (entity)
          CAST
          TRANSLUCENT (entity)
          BRIGHT
          LIGHT
          SPOTLIGHT
          UNLIT
          OVERLAY
          DECAL
          NOFOG
          NOFILTER
          SHOW
          INVISIBLE
          ZNEAR
          ANIMATE
          DYNAMIC
          NOSEND
          FLAG1..FLAG8
       Sky parameters
          type
          layer (entity)
          visible
          cube
          cylinder
          scene
          dome
          red,green,blue (entity)
          alpha (entity)
    PARTICLE
       x, y, z
       red,green,blue
       alpha
       TRANSLUCENT
       BRIGHT
       OVERLAY
       NOFILTER
       BEAM, STREAK
       MOVE
       bmap
       material
       event
       lifespan
       size
       gravity
       vel_x, vel_y, vel_z
       skill_a..skill_d,  skill_x..skill_z
       FLAG1..FLAG8
    MATERIAL
       Material Parameters
          ambient_blue, ambient_green, ambient_red
          diffuse_blue, diffuse_green, diffuse_red
          specular_blue, specular_green, specular_red
          emissive_blue, emissive_green, emissive_red
          power
          alpha
          albedo
          cycle
          lod (material)
          effect (material)
          event
          matrix
          flags (material)
          skill1..skill20 (material)
          skin1..skin4
       Effects & Shaders
       Effect & Shader Variables
          #include (default.fx)
          bool
          _var,_flt
          fAlpha, fAmbient, fAlbedo
          fPower
          fLayer
          iRepeat
          vecSkill1 ... vecSkill17
          vecSkill41
          entSkin1 .. entSkin4
          mtlSkin1 ... mtlSkin4
          TargetMap
          StencilMap
          LightMap
          _bmap
          matView, matWorld...
          matMtl
          matTangent
          matBones
          vecAmbient, vecDiffuse, vecEmissive, vecSpecular
          vecCycle
          vecTime
          vecFog
          vecFogColor
          vecColor
          vecLight
          vecLightPos,vecLightColor
          vecSunPos, vecSunDir,vecSunColor
          vecViewPos, vecViewDir
          vecViewPort
          vecPortal
       Surface Materials
       Postprocessing Materials
    PANEL
       Panel Properties
          bmap (panel)
          layer
          pos_x , pos_y
          size_x, size_y
          scale_x, scale_y
          center_x, center_y
          angle
          alpha (panel)
          flags (panel)
          blue, green, red (panel)
          mouse_map
          target_map
          event (panel)
          skill_x, skill_y
       Panel Elements
          button
          digits
          hslider, vslider
          needle
          window
    TEXT
       string, pstring
       strings
       layer
       pos_x , pos_y
       scale_x, scale_y
       size_x, size_y
       offset_y
       alpha (text)
       font
       blue, green, red (text)
       flags
       target_map
       skill_x, skill_y
    VIEW
       layer
       pos_x , pos_y
       size_x, size_y
       x,y,z (view)
       pan, tilt, roll (view)
       alpha
       ambient
       arc
       aspect
       lod (view)
       stage
       bmap (view)
       target1..target3
       material (view)
       flags (view)
       fog_start , fog_end
       clip_near, clip_far
       left, right, bottom, up
       depth
       bg
       genius
       portal_x, pnormal_x
       skill_x, skill_y
    BMAP
    FONT
    SOUND
 Engine Functions
    var arithmetics
       abs
       clamp
       cycle
       exp
       fraction
       integer, floor
       log
       sqrt
       sign
       maxv
       minv
       pow
       accelerate
       smooth
       random
       random_seed
    var trigonometry
       ang
       sinv
       cosv
       tanv
       asinv
       acosv
       atanv, atan2v
    Vector calculations
       vector
       vec_set
       vec_fill
       vec_add
       vec_sub
       vec_diff
       vec_dist
       vec_dot
       vec_cross
       vec_mul
       vec_accelerate
       vec_bounce
       vec_inverse
       vec_length
       vec_lerp
       vec_normalize
       vec_scale
       vec_rotate
       vec_for_angle
       vec_to_angle
       ang_add, ang_rotate
       ang_diff
       ang_for_axis
       ang_to_matrix,ang_for_matrix
       vec_for_screen
       vec_to_screen
       rel_for_screen
       rel_to_screen
       vec_for_ent, vec_to_ent
       vec_for_max, vec_for_min
       vec_for_normal
       vec_for_vertex
       vec_for_bone
       ang_for_bone
    Type conversion
       handle
       ptr_for_handle
       _chr
       _str
       _vec
       fixed
       floatv
       floatd
       floatr
    String manipulation
       str_create
       str_lwr, str_upr
       str_cat
       str_cat_num
       str_printf
       str_clip
       str_trunc
       str_cmp, str_cmpi, str_cmpni
       str_cpy
       str_for_num
       str_len
       str_width
       str_stri
       str_chr
       str_setchr, str_getchr
       str_to_num, str_to_int, str_to_float
       str_cursor
       str_for_entfile
       str_for_entname
       str_for_id
       inkey
       Unicode
       more functions...
    File manipulation
       file_open
       file_close
       file_length
       file_seek
       file_find
       file_asc_read
       file_asc_write
       file_chr_read
       file_str_read, file_str_readto
       file_str_write
       file_var_read
       file_var_write
       file_for_screen
       file_cpy
       file_rename
       file_delete
       file_date
       file_save
       file_exists
       file_load
       txt_load, txt_loadw
       txt_for_dir
       add_buffer
       add_folder, add_resource
       exec
       more functions...
    Entity functions
       ent_create, ent_createlocal
       ent_createlayer
       ent_createterrain
       ent_reload
       ent_remove
       ent_animate
       ent_blendframe
       ent_blendpose
       ent_bonereset, ent_bonereset_branch, ent_bonereset_all
       ent_bonerotate, ent_bonerotate_parent
       ent_bonemove
       ent_bonescale
       ent_bonename
       ent_bonehandle, ent_boneparent
       ang_for_bone
       vec_for_bone
       vec_for_ent, vec_to_ent
       vec_for_max, vec_for_min
       vec_for_normal
       vec_for_vertex
       ent_fixnormals
       ent_morph
       ent_morphskin
       ent_clone, ent_cloneskin
       ent_pvs
       ent_next
       ent_nextlight
       ent_nextvertex
       ent_preload
       ent_purge
       ent_getmesh, ent_setmesh
       ent_getskin, ent_setskin
       ent_getvertex, ent_setvertex
       ent_mtlset
       ent_buffers
       ent_decal
       ent_getdecal
       ent_type
       ent_status
       ent_for_name
       ent_for_file
       str_for_entfile
       str_for_entname
    PhysX functions
       physX_open
       physX_load
       physX_destroy
       physX_run
       pX_
          pX_setsteprate
          pX_setunit
          pX_setgravity
          pX_setgroupcollision
          pX_setforcemode
          pX_setccd
          pX_setautodisable
          pX_pause
          pX_pick
          pX_stats
       pXent_
          pXent_settype
          pXent_cloth
          pXent_enable
          pXent_setmass, pXent_getmass
          pXent_setmassoffset
          pXent_setfriction
          pXent_setdamping
          pXent_setelasticity
          pXent_setmaterial
          pXent_setiterations
          pXent_setskinwidth
          pXent_setmaxspeed
          pXent_setgroup
          pXent_setccdskeleton
          pXent_setbodyflag
          pXent_setcollisionflag
          pXent_settriggerflag
          pXent_addshape
          pXent_removeshape
          pXent_setsleep
          pXent_addforceglobal, pXent_addforcelocal
          pXent_addforcecentral
          pXent_addexplosion
          pXent_addtorqueglobal
          pXent_addtorquelocal
          pXent_addvelcentral
          pXent_setposition
          pXent_setvelocity
          pXent_getvelocity
          pXent_setangvelocity
          pXent_getangvelocity
          pXent_getbounds
          pXent_makelocal
          pXent_move
          pXent_rotate
          pXent_raycast
       pXcon_
          pXcon_add
          pXcon_remove
          pXcon_setparams
          pXcon_set6djoint
          pXcon_setmotor
          pXcon_setwheel
          pXcon_getposition
          pXcon_getanchorpoint
       PhysX FAQ
    Materials & Particles
       mtl_create
       ent_mtlset
       ent_decal
       effect_load
       effect_cpy
       effect, effect_local
       more particle functions...
    Collision & Movement
       c_move
       c_rotate
       c_trace
       c_intersect
       c_scan
       c_ignore
       c_setminmax
       c_updatehull
    Paths & Regions
       path_create
       path_set
       path_next
       path_spline
       path_length
       path_scan
       path_scannode
       path_nextnode
       path_setnode, path_getnode
       path_setedge, path_getedge
       region_create
       region_set
       region_check
       region_find
       region_get
    Drawing
       draw_point3d
       draw_line, draw_line3d
       draw_box3d
       draw_quad
       draw_text
       draw_textmode
       draw_obj
       draw_begin
    Multimedia
       Streams
          media_play, media_loop
          media_playing
          media_pause
          media_start
          media_stop
          media_tune
       Sounds
          snd_create
          ent_playsound
          snd_play, snd_loop
          snd_playing
          snd_pause
          snd_start
          snd_stop
          snd_stopall
          snd_tune
          snd_cone
          snd_add
          snd_buffer
       EAX
       CD Player
          cd_pause
          cd_play
          cd_start
          cd_track
       Video Camera
    Input / Output
       Key Mapping
       inchar, inkey
       key_pressed
       key_set
       key_for_str
       str_for_key
       wiimote
       port_in, port_out
       usb_...
       file_for_screen
       sys_setstr, sys_getstr
       sys_setvar, sys_getvar
       exec
       error
       printf
    Game / Video functions
       game_save
       game_load
       level_load
       level_mark, level_free
       video_set
       video_switch
       video_window
       vc_, ar_
       file_for_screen
       sys_record, sys_replay
       sys_metrics
       sys_setstr, sys_getstr
       sys_setvar, sys_getvar
       sys_trial
       sys_exit
    Network functions
       session_open
       session_close
       session_connect
       client_drop, client_drop_id
       client_find
       str_for_id
       ent_sendnow
       send_skill
       send_string_to, send_string_id
       send_var_to, send_var_id
       send_data_to, send_data_id
       http_...
       ftp_...
       socket_connect
       socket_select
       socket_send
       socket_receive
    Bitmap manipulation
       bmap_load
       bmap_save
       bmap_create, bmap_createblack
       bmap_for_entity
       bmap_for_screen
       bmap_height, bmap_width
       bmap_preload
       bmap_purge
       bmap_to_alpha
       bmap_to_format
       bmap_to_cubemap
       bmap_to_mipmap
       bmap_to_normals
       bmap_to_uv
       bmap_format
       bmap_lock
       bmap_unlock
       bmap_fill
       bmap_blit
       bmap_process
       bmap_rendertarget
       bmap_zbuffer
       pixel_for_bmap
       pixel_for_vec
       pixel_to_bmap
       pixel_to_vec
    Panels, Texts, Views
       font_create
       txt_create
       txt_addstring
       txt_load
       txt_for_dir
       txt_setinvisible, txt_setvisible
       txt_sort
       view_create
       view_check
       view_to_light
       view_to_split
       view_to_matrix
       pan_create
       pan_setbutton
       pan_setdigits, pan_setstring
       pan_setneedle
       pan_setslider
       pan_setwindow
       pan_setpos
       pan_setvar
       pan_setcolor
       button_state
       layer_sort
    SDK functions
       _chr
       _str
       _vec
       add_buffer
       add_struct
       add_folder, add_resource
       add_new
       engine_status
       engine_open
       engine_close
       engine_frame
       engine_getvar
       engine_getvarinfo
       engine_getscript
       engine_getscriptinfo
       engine_gettaskinfo
    Miscellaneous
       handle
       ptr_for_handle
       ptr_first
       ptr_remove
       sys_malloc,sys_nxalloc
       sys_free
       sys_marker
       timer
       beep
       diag
       diag_var
       diag_frame
       diag_status
       var_for_name
       breakpoint
       proc_kill
       exec
       sys_active
       sys_message
 Engine Variables
    Time
       time_step, time_frame
       time_factor
       time_smooth
       fps_lock
       fps_max
       fps_min
       sys_day
       sys_dow
       sys_doy
       sys_hours
       sys_minutes
       sys_month
       sys_seconds
       sys_year
       total_frames
       total_secs
       total_ticks
    Collision
       enable_polycollision
       hit
       in_solid, in_passable, on_passable
       target
       normal
       bounce
       vglide
       move_min_z
       move_friction
    Statistics
       num_actions
       num_entities
       num_particles
       num_visentpolys
       num_visents
       num_vismappolys
       num_vistriangles
       num_lights
       num_sounds
       time_level
       time_entities
       time_sky
       time_panels
       time_portals
       time_effects
       time_client
       time_server
       time_pfuncs
       time_physics
       time_actions
       time_update
       time_idle
       time_draw
       sys_memory
       nexus
    Debugging
       patch
       debug_external
       debug_mode
       dplay_diag
       diag_mode
       warn_level
       watched
    Network
       connection
       dplay_id
       dplay_bps
       dplay_bpsreliable, dplay_bpsunreliable
       dplay_latency
       dplay_compression
       dplay_encrypt
       dplay_port
       dplay_entrate
       dplay_pingrate
       dplay_localfunction
       dplay_packetsize
       dplay_smooth
       dplay_timeout
       dplay_unreliable
       dplay_diag
       dplay_status
       dplay_maxclients
       num_clients
       player_name
       server_ip
       server_name
       session_name
    Events
       event_type
       on_d3d_lost, on_d3d_reset
       render_sky, render_world, render_solid, render_entities
       on_message
       on_server
       on_client
       on_level, on_level_load
       on_load
       on_ent_remove
       on_close
       on_maximize, on_minimize, on_resize
       on_exit
       Input Events
          Key Mapping
          on_f1...
          on_anykey
          on_joy1 ... on_joy2_10
          on_click
          on_mouse_left ...
          on_mouse_stop
    Engine
       work_dir
       save_dir
       exe_dir
       user_name
       app_name
       level_name
       command_str
       edition
       version
       sys_winversion
       compatibility
       logo
       run_mode
       freeze_mode
       record_mode
       pVars
       pPaths
    Input / Output
       Key Mapping
       Mouse
          mouse_mode
          enable_mouse
          mouse_pos
          mouse_cursor
          mickey
          mouse_sync
          mouse_valid
          mouse_calm
          mouse_ent
          mouse_panel
          mouse_force
          mouse_left, mouse_middle, mouse_right
          mouse_map
          mouse_moving
          mouse_pointer
          mouse_range
          mouse_spot
          mouse_time
          mouse_pos3d
          mouse_dir3d
       Joystick
          enable_joystick
          joy_1,  joy_2 ..
          joy_buttons, joy2_buttons
          joy_hat, joy2_hat
          joy_force
          joy_raw, joy_rot, joy2_raw, joy2_rot
          num_joysticks
       Keyboard
          enable_key
          key_f1...key_f12, key_esc, key_tab, key_shift, key_ctrl, key_alt, key_space, key_bksp, key_cuu, key_cud, key_cur, key_cul, key_pgup, key_pgdw, key_home, key_end, key_ins, key_del, key_pause, key_car, key_cal, key_enter, key_0... key_9, key_a...key_z
          key_any
          key_force
          key_lastpressed
          shift_sense
    Rendering
       d3d_lodfactor
       d3d_pointlightfalloff / d3d_spotlightfalloff
       d3d_spotlightcone
       d3d_lightres
       max_lights
       d3d_alphadepth, d3d_shadowdepth, d3d_texdepth
       d3d_alpharef
       d3d_near_models, d3d_near_sprites
       d3d_anisotropy
       d3d_antialias
       d3d_lockable
       d3d_entsort
       d3d_lines
       d3d_mipmapping
       d3d_caps
       d3d_shaderversion
       d3d_texfree
       d3d_texlimit
       d3d_texskins
       d3d_texbmaps
       d3d_texsmaps
       d3d_texsurfs
       d3d_triplebuffer
       mat_model, ...
       mtl
       matView, matWorld...
       mat_effect
       camera
       light_view
       render_view
       render_target
       render_stencil
       render_sky, render_world, render_solid, render_entities
    Level
       freeze_mode
       doppler_factor
       d3d_automaterial
       d3d_autotransparency
       d3d_alpharef
       d3d_fogcolor
       clip_particles
       floor_range
       level_name
       level_ent
       map_subents
       preload_mode
       max_lights
       max_paths, num_paths
       max_entities
       max_particles
       max_bones
       mip_levels
       mip_flat, mip_shaded
       mip_sprites
       pos_resolution
       fog_color
       sky_clip
       sky_blend
       sky_color
       sky_curve
       sky_cube_level, sky_dome_level
       sun_angle
       sun_light
       sun_pos
       sun_color, ambient_color
       tex_cycle
       tex_share
       shadow_mode
       shadow_offset
       shadow_range
       shadow_lod
       shadow_stencil
       shadow_threshold
       effect_lod
       tree_range
       terrain_chunk
       terrain_lod
       detail_size
    Multimedia
       media_layer
       num_mediastreams
       master_vol
       sound_vol
       midi_vol
       cdaudio_vol
    Video
       window_focus
       window_pos
       screen_color
       screen_size
       video_mode
       video_aspect
       video_screen
       video_alpha
       video_gamma
       d3d_caps
       d3d_shaderversion
       d3d_anisotropy
       d3d_antialias
       d3d_lockable
       hWnd
       hWndTarget
    Miscellaneous
       inkey_active
       delimit_str
       text_outline
       proc_mode
       record_mode
       my, me
       you, your
       player
       nullvector
       pi
       last_error
       result
       sys_winversion
       pVars
       pPaths
 Script Libraries
    default.c
    strio.c
    keys:c
    level.c
    entmove.c
    car.c
    car_props.c
    camera.c
    particles.c
    shadows.c
    mtlFX.c
    mtlView.c
    ackar.h
    lbgui.h
 Project Settings
    PATH
    PLUGINDIR
    LEVEL
    BIND
    WINDOW
 Gamestudio SDK
    Plugin SDK
       Getting started with the SDK
       Using Script objects in a DLL
       Using engine functions
       Using Direct3D functions
       Particle functions
       Message functions
    Engine SDK
       Programming: A Basic Walkthrough
       Programming: Variables and Functions
       Programming: Events and Physics
    Client/Server Protocol
    Gamestudio File Formats
    F.A.Q
 Troubleshooting
    Engine Error Messages
    Obsolete Syntax
    Bug List
 External File formats
 Internal File Formats
 Updating & New Features
 Support questions
 Glossary