This site hosted by Free.ProHosting.com
Google
Dream Vision:

Dream Vision is a scripting language for the RPG, Dream Quest. The language is extremely flexible, and features can easily be added later.

Dream Vision is not a case sensitive language. Formating is not needed, atleast one white space character must separate words. If a word is a flag contain it in [] quotes. If a word has spaces in it, put it in quotes: "Big Test".

 

Rules:

Each Dream Vision file must begin with: !DreamVision

Next each file must have a list of possible scripts to run:

HeaderList

FlagNeeded [NONE]
FlagNeeded [Some Flag]

end

At the bare minumum the script must have atleast the "FlagNeeded [NONE]" script. This headerlist is so DreamVision knows what script to run.

The '#' character means anything following it is ignored until the end of the line, useful for adding comments:

SetFlag [WON GAME] # Player has beat the game.

 

Quik Command List

SetFlag [FLAG] - Adds [FLAG] to players flags.

RemoveFlag [FLAGS] - Removes [FLAG] from players flags.

Laugh - Makes NPC laugh. (NPC Command only)

SayNo - Makes NPC shake head. (NPC Command only)

TextWindow "Message" - Displays "Message" in a blue pop-up box.

WalkRandomly - Makes NPC walk around. (NPC Action command only)

Warp X Y FILENAME.DQM DIRECTION - Warps to a new location.

FlagNeeded [FLAG] - Excutes script below if player has flag, up to 'end'.

CheckPosition X Y - If player is at X Y then does script below until 'end'.

StepBack - Makes Player step back a square.

ScrollLeft - Makes screen scroll left along with player.

ScrollRight - Makes screen scroll right along with player.

ScrollUp - Makes screen scroll up along with player.

ScrollDown - Makes screen scroll down along with player.

Counter - Makes it so you can talk across tables and counts. (Event only)

BackgroundTile X Y TILENUM - Changes background tile at X Y to TILENUM.

ForegroundTile X Y TILENUM - Changes foreground tile at X Y to TILENUM.

ChoiceWindow "Question" "Choice1" .. "Choice4" end - Select a choice.

$ChoiceX - If player selected choiceX then does script until 'end' command.

AddItem "Item Name" - Adds Item to players inventory.

CheckItem "Item Name" - If player has item, does script until 'end'.

AddPlayer "Player Name" - Adds player to party.

MoveLeft - Makes player walk left.

MoveRight - Makes player walk right.

MoveUp - Makes player walk up.

MoveDown - Makes player walk down.

LookLeft - Makes player look left.

LookRight - Makes player look right.

LookUp - Makes player look up.

LookDown - Makes player look down.

MoveNPCLeft NPCNUMBER - Makes NPC walk left.

MoveNPCRight NPCNUMBER - Makes NPC walk right.

MoveNPCUp NPCNUMBER - Makes NPC walk up.

MoveNPCDown NPCNUMBER - Makes NPC walk down.

NPCLookLeft NPCNUMBER - Makes NPC look left.

NPCLookRight NPCNUMBER - Makes NPC look right.

NPCLookUp NPCNUMBER - Makes NPC look up.

NPCLookDown NPCNUMBER - Makes NPC look down.

ShowLook - Updates the screen and show's all NPC's current looks.

Move - Moves NPC's with their set directions.

DrawPlayer ON | OFF - Sets whether to draw the player or not.

 

 

 

 

 

 

 

 













Click Here!