Thank you for buying my 3D dungeon generator. In this help file you find information about all scripts.

3d scripts

draw_3D_floor(texture)

Draw 3D floor is for setting floor texture.

Variables :

Texture - Write texture name here

PUT TO DRAW EVENT!

draw_3D_ceiling(texture,height)

Draw 3D ceiling is for setting ceiling texture.

Variables :

Texture - Write texture name here

Height - Height of ceiling (100 is default)

PUT TO DRAW EVENT!

fps_camera(mouselook)

Set 3D perspective for FPS camera

Variables :

Mouselook - set true for activate mouselook. This is retro styled engine so.. no up and down. Just sideways.

PUT TO DRAW EVENT!

scr_create_walls(obj_block)

This script creates walls

Variables :

Block object. You can find example of block object in source. If you want multiple types of blocks, just use choose function ( choose(block1,block2,block4) )

PUT TO CREATE EVENT OF LEVEL GENERATING OBJECT!

scr_d3d_start(height)

This script turn on all 3D functions. If you want to turn on/off lights, set different fog or ambient, you can edit this script directly.

Variables :

Height of camera. Default is 55.

PUT TO CREATE EVENT!

draw_3d_sprite(sprite,width,height)

This script draw any sprite in 3D ( like in wolf 3D game)

Variables :

Sprite - Name of sprite

Width - Any width you want.

Height - Any height you want.

PUT TO DRAW EVENT!

Level generating scripts

scr_level_generate(w,h,steps,tileset,floor)

Main random generating script. Don’t mess with this one :D This script needs some wariables for work. Just check create event of level_generate object

        

        Variables:

           W - Width of world

        H - Height of world

        Steps - Density of world. More steps = less density

                

scr_level_generate(w,h,steps,tileset,floor)

Main random generating script. Don’t mess with this one :D This script needs some wariables for work. Just check create event of level_generate object

        

        Variables:

           W - Width of world

        H - Height of world

        Steps - Density of world. More steps = less density

spawn_items(spawn chance,item,items on tile, max items)

This script randomly spawn object somewhere in level.

        

        Variables:

          Spawn chance - … Spawn chance :D

        Item - Name of object.

Items on tile - Number of items on one level tile (64x64) default is 1 but if you     want make something like pile of gold of chump of gras, put bigger

number here

           Max items - Maximum nuber of spawned items. (If you want to make rare item);

ALL LEVEL GENERATING SCRIPTS BELONGS TO LEVEL CREATOR CREATE EVENT!

Sound scripts

play_sfx(sound)

This make same thing like audio_play_sound… I was just lazy to write this again and again :D

Put anywhere

Player move scripts

scr_player_move_wsad()

scr_player_move_arrows()

Scripts prepared for player moving. If you set mouselook on true, wsad is probably better for you :D

Put in STEP EVENT