Login Form



Who's Online

We have 13 guests online

Statistics

OS : Linux t
PHP : 5.3.29
MySQL : 5.6.36
Time : 11:39
Caching : Disabled
GZIP : Enabled
Members : 3138
Content : 171
Web Links : 6
Content View Hits : 218054

 
State Machines


Container opens with A - gives B in mouse PDF Print E-mail
Written by Mithrandir   
Wednesday, 10 February 2010 13:48

Opens with object A and gives Obj B in mouse

/*
Author: Chasm 
*/
STATE_MACHINE
{
KEY { containerObj1TrapMouseCHSM}

COMMENT [This container opens with object A and gives object B in mouse.]

PARAM 

KEY  {1}
TYPE  {frame}
COMMENT [3D object: initial close]
DISPLAY {}
}

PARAM 

KEY  {2}
TYPE  {frame}
COMMENT [3D object: final open]
}

PARAM 

KEY  {3}
TYPE  {object}
COMMENT [Object A to open:]
IN {}
}

PARAM 

KEY  {4}
TYPE  {object}
COMMENT [Received object B:]
OUT {}
}

PARAM 

KEY  {5}
TYPE  {sound}
COMMENT [Sound to play when object B is given:]
}

PARAM 

KEY  {6}
TYPE  {LIST}
COMMENT [Options:]
LIST [Object lost=CLEARMOUSE ]
LIST [Object saved=ACTIVE ]
DEFAULT [Object saved]
}

PARAM 

KEY  {7}
TYPE  {TEXT}
COMMENT [Name of the object:]
}

PARAM 

KEY  {8}
TYPE  {LIST}
COMMENT [Effect to play when opened:]
LIST[Absorption Attack=ABSORBMA]
LIST[Absorption Spell=ABSORBVI]
LIST[Light=ARMORMAG]
LIST[Flaming Arrow=ARROWFLAME]
LIST[Antidote=ANTIPOISON]
LIST[Antidote No Sound=ANTIPOISON1]
LIST[Death Dome A=BARRIEREA]
LIST[Death Dome B=BARRIEREB]
LIST[Death Dome C=BARRIEREC]
LIST[Bless=BENEDICT]
LIST[Berserker=BERSERKE]
LIST[Bloodtrace=BLOODTRACE]
LIST[Firefly=BRILLE]
LIST[Teleport B=BTELEPORT]
LIST[Confusion=CONFUSION]
LIST[Crystal=CRYSTAL]
LIST[DEX Potion=DEXTERITY1]
LIST[Spark Globe=ECLAIRA]
LIST[Spark=ECLAIRB]
LIST[Spark Explode=ECLAIRC]
LIST[End Arrow=ENDARROW]
LIST[End Shurinken=ENDSHURIN]
LIST[Metal Spark=ETINCEL]
LIST[Flour=FARINE]
LIST[Fear=FEAR]
LIST[Fee - White=FEE]
LIST[Fee2 - Green - No Sound=FEE2]
LIST[Fireball Red Smoke=FIREBALLA]
LIST[Fireball Flash=FIREBALLB]
LIST[Fireball Explode=FIREBALLC]
LIST[Fireball Red Smoke 2=FIREBALL2A]
LIST[Fireball Flash 2=FIREBALL2B]
LIST[Fireball Explode 2=FIREBALL2C]
LIST[Fireball Red Smoke 3=FIREBALL3A]
LIST[Fireball Red Smoke 3=FIREBALL3B]
LIST[Fireball Explode 3=FIREBALL3C]
LIST[Draak's Breath=FIREDRAAK]
LIST[Wall of Fire A=FIREWALLA]
LIST[Wall of Fire B=FIREWALLB]
LIST[Wall of Fire C=FIREWALLC]
LIST[Flamethrower - Sound=FLAMEWAVEA]
LIST[Flamethrower - Little Flame=FLAMEWAVEB]
LIST[Flamethrower - Big Flame=FLAMEWAVEC]
LIST[Flash=FLASH]
LIST[Thunder 1 Purple=FLASH1]
LIST[Thunder 1 Purple Big=FLASH2]
LIST[Thunder 2 Blue=FLASH3]
LIST[Thunder 1 Purple 3 Blue=FLASH4]
LIST[Thunder 1 Golden 4 Blue=FLASH5]
LIST[Food=FOOD]
LIST[Haste=HASTE]
LIST[Healing=HEAL1]
LIST[Ice Smoke=ICE]
LIST[Berserker Smoke=INBERSERKER]
LIST[Inferno=INFERNO]
LIST[Flame Smoke=INFLAME]
LIST[Night Vision=INFRAVISION]
LIST[Invisibility=INVISIBL]
LIST[Slowness=LENTEUR]
LIST[Loading=LOADING]
LIST[MAG Potion=MAGIC1]
LIST[Magic Bomb Globe=MAGICBOMBA]
LIST[Magic Bomb Smoke=MAGICBOMBB]
LIST[Magic Bomb Explode=MAGICBOMBC]
LIST[Magic Missile=MAGICMISSA]
LIST[Magic Missile Flash=MAGICMISSB]
LIST[Magic Missile Explode=MAGICMISSC]
LIST[Magic Light=MAGLIGHT]
LIST[Mana=MANA1]
LIST[Time Orb=NOVA]
LIST[Forgetfulness=OUBLI]
LIST[Poison Cloud=POISON]
LIST[Poison Potion=POISON1]
LIST[Poison Weapon=POISONWEAPON]
LIST[Rain=RAIN]
LIST[Reflection Spell=REFLECTION]
LIST[Reflection Shield=REFLECTION2]
LIST[Youth Potion=REJUV1]
LIST[Resurrection=RESURECT]
LIST[Fear Single=RIP]
LIST[Stone Break=STONCURE]
LIST[STR Potion=STRENGTH1]
LIST[Skill Learnt=TALENTL]
LIST[Storm=TEMPEST]
LIST[Wall of Fire Yellow Smoke=TFIREWALL]
LIST[Magic Bomb Yellow Smoke=TMAGICBOMB]
LIST[Magic Door Open=TOWNPORTALA]
LIST[Magic Door Enter=TOWNPORTALC]
LIST[Mutation Spell=TRANSFORM1]
LIST[Mutation Target=TRANSFORM2]
LIST[VIT Potion=VITALITY1]
LIST[Water 1=WATER1]
LIST[Water 2=WATER2]
LIST[Explode=EXPLODE]
LIST[Teleport=TELEPORT]
LIST[Telekinesis=TELEKINESIS]
LIST[Stone explode=NOSTONE]
LIST[Poisoned=POISONED]
LIST[Smoke=FUMEE]
LIST[Detection=DETECTION]
LIST[Werewolf=WEREWOLF]
LIST[Plumes=PLUMES]
LIST[Firecamp=FIRECAMP]
LIST[None= ]
DEFAULT [Smoke]
}

PARAM 

KEY  {9}
TYPE  {TEXT}
COMMENT [This text explains what we need:]
}

PARAM 

KEY  {10}
TYPE  {TEXT}
COMMENT [Text to display when we obtain the object B:]
}

PARAM 

KEY  {11}
TYPE  {TEXT}
COMMENT [Text to display when he have nothing more to give:]
}

PARAM 

KEY  {12}
TYPE  {LIST}
COMMENT [Effect to play if unlock fails:]
LIST[Absorption Attack=ABSORBMA]
LIST[Absorption Spell=ABSORBVI]
LIST[Light=ARMORMAG]
LIST[Flaming Arrow=ARROWFLAME]
LIST[Antidote=ANTIPOISON]
LIST[Antidote No Sound=ANTIPOISON1]
LIST[Death Dome A=BARRIEREA]
LIST[Death Dome B=BARRIEREB]
LIST[Death Dome C=BARRIEREC]
LIST[Bless=BENEDICT]
LIST[Berserker=BERSERKE]
LIST[Bloodtrace=BLOODTRACE]
LIST[Firefly=BRILLE]
LIST[Teleport B=BTELEPORT]
LIST[Confusion=CONFUSION]
LIST[Crystal=CRYSTAL]
LIST[DEX Potion=DEXTERITY1]
LIST[Spark Globe=ECLAIRA]
LIST[Spark=ECLAIRB]
LIST[Spark Explode=ECLAIRC]
LIST[End Arrow=ENDARROW]
LIST[End Shurinken=ENDSHURIN]
LIST[Metal Spark=ETINCEL]
LIST[Flour=FARINE]
LIST[Fear=FEAR]
LIST[Fee - White=FEE]
LIST[Fee2 - Green - No Sound=FEE2]
LIST[Fireball Red Smoke=FIREBALLA]
LIST[Fireball Flash=FIREBALLB]
LIST[Fireball Explode=FIREBALLC]
LIST[Fireball Red Smoke 2=FIREBALL2A]
LIST[Fireball Flash 2=FIREBALL2B]
LIST[Fireball Explode 2=FIREBALL2C]
LIST[Fireball Red Smoke 3=FIREBALL3A]
LIST[Fireball Red Smoke 3=FIREBALL3B]
LIST[Fireball Explode 3=FIREBALL3C]
LIST[Draak's Breath=FIREDRAAK]
LIST[Wall of Fire A=FIREWALLA]
LIST[Wall of Fire B=FIREWALLB]
LIST[Wall of Fire C=FIREWALLC]
LIST[Flamethrower - Sound=FLAMEWAVEA]
LIST[Flamethrower - Little Flame=FLAMEWAVEB]
LIST[Flamethrower - Big Flame=FLAMEWAVEC]
LIST[Flash=FLASH]
LIST[Thunder 1 Purple=FLASH1]
LIST[Thunder 1 Purple Big=FLASH2]
LIST[Thunder 2 Blue=FLASH3]
LIST[Thunder 1 Purple 3 Blue=FLASH4]
LIST[Thunder 1 Golden 4 Blue=FLASH5]
LIST[Food=FOOD]
LIST[Haste=HASTE]
LIST[Healing=HEAL1]
LIST[Ice Smoke=ICE]
LIST[Berserker Smoke=INBERSERKER]
LIST[Inferno=INFERNO]
LIST[Flame Smoke=INFLAME]
LIST[Night Vision=INFRAVISION]
LIST[Invisibility=INVISIBL]
LIST[Slowness=LENTEUR]
LIST[Loading=LOADING]
LIST[MAG Potion=MAGIC1]
LIST[Magic Bomb Globe=MAGICBOMBA]
LIST[Magic Bomb Smoke=MAGICBOMBB]
LIST[Magic Bomb Explode=MAGICBOMBC]
LIST[Magic Missile=MAGICMISSA]
LIST[Magic Missile Flash=MAGICMISSB]
LIST[Magic Missile Explode=MAGICMISSC]
LIST[Magic Light=MAGLIGHT]
LIST[Mana=MANA1]
LIST[Time Orb=NOVA]
LIST[Forgetfulness=OUBLI]
LIST[Poison Cloud=POISON]
LIST[Poison Potion=POISON1]
LIST[Poison Weapon=POISONWEAPON]
LIST[Rain=RAIN]
LIST[Reflection Spell=REFLECTION]
LIST[Reflection Shield=REFLECTION2]
LIST[Youth Potion=REJUV1]
LIST[Resurrection=RESURECT]
LIST[Fear Single=RIP]
LIST[Stone Break=STONCURE]
LIST[STR Potion=STRENGTH1]
LIST[Skill Learnt=TALENTL]
LIST[Storm=TEMPEST]
LIST[Wall of Fire Yellow Smoke=TFIREWALL]
LIST[Magic Bomb Yellow Smoke=TMAGICBOMB]
LIST[Magic Door Open=TOWNPORTALA]
LIST[Magic Door Enter=TOWNPORTALC]
LIST[Mutation Spell=TRANSFORM1]
LIST[Mutation Target=TRANSFORM2]
LIST[VIT Potion=VITALITY1]
LIST[Water 1=WATER1]
LIST[Water 2=WATER2]
LIST[Explode=EXPLODE]
LIST[Teleport=TELEPORT]
LIST[Telekinesis=TELEKINESIS]
LIST[Stone explode=NOSTONE]
LIST[Poisoned=POISONED]
LIST[Smoke=FUMEE]
LIST[Detection=DETECTION]
LIST[Werewolf=WEREWOLF]
LIST[Plumes=PLUMES]
LIST[Firecamp=FIRECAMP]
LIST[None= ]
DEFAULT [Smoke]
}

PARAM 

KEY  {13}
TYPE  {sound}
COMMENT [Sound to play if unlock fails:]
}

PARAM
{
KEY {14}
TYPE {INT}
COMMENT [Damage:]
DEFAULT  {50}
}

PARAM
{
KEY {15}
TYPE {INT}
COMMENT [Range of the damage:]
DEFAULT  {2}
}

PARAM 

KEY  {16}
TYPE  {LIST}
COMMENT [Keep collision after the container is opened:]
LIST [Clear collision=1]
LIST [Keep collision=0]
DEFAULT [Clear collision]
}

PARAM 

KEY  {17}
TYPE  {LIST}
COMMENT [Collision before the container is opened:]
LIST [Collision=1]
LIST [No collision=0]
DEFAULT [Collision]
}

PARAM
{
KEY {18}
TYPE {INT}
COMMENT [Message number to be sent when it's opened:]
DEFAULT  [2]
}

PARAM
{
KEY {19}
TYPE {INT}
COMMENT [Message number to be sent when trap is triggered:]
DEFAULT  [2]
}

CODE
[
TRAP
{
KEY { %0 }
FLAG { ACTIVE|LIGHTBUFFER|HANDLE|LIGHT|NEEDPOS|TRANSMIT|SIDEDETECT|%6 }
NAME { %7 }

STATE
{
KEY { close }
SETCOLLID { %17 }
FRAME { %1 }
MULTI
{
CONDITION
{
OBJECT { %3 } 
GOTO { open }
}

CONDITION
{
CLICK {}
GOTO {trap}
}
}
}

STATE
{
KEY { trap }
SETCOLLID { %17 }
FRAME { %1 }
ACTION
{
EFFECT { %12  }
HITEX {%14,%15}
SOUND { %13 }
MSG  {%19}
}

TEXT { %9 }

MULTI
{
CONDITION
{
TIMER {0}
GOTO { close }
}
}
}

STATE
{
KEY { open }
CLEARCOLLID { %16 }
FRAME { %2 }
ACTION
{
EFFECT { %8  }
OBJECTMOUSE {%4}
SOUND { %5 }
MSG  {%18}
}

TEXT { %10 }

MULTI
{
CONDITION
{
TIMER {0}
GOTO { end }
}
}
}

STATE
{
KEY { end }
CLEARCOLLID { %16 }
FRAME { %2 }
MULTI
{
CONDITION
{
CLICK {}
GOTO { textend }
}
}
}

STATE
{
KEY { textend }
CLEARCOLLID { %16 }
FRAME { %2 }

TEXT { %11 }

MULTI
{
CONDITION
{
CLICK {}
GOTO { end }
}
}
}

STATE
{
KEY { fin }
}

}
]
}

 

 
Container opens with A - gives B,C,D PDF Print E-mail
Written by Mithrandir   
Wednesday, 10 February 2010 13:43
/*
Author: Chasm
*/
STATE_MACHINE
{
KEY { containerObj4TrapCHSM }

COMMENT [This container opens with object A and gives objects B, C and D.]

PARAM 

KEY  {1}
TYPE  {frame}
COMMENT [3D object: initial close]
DISPLAY {}
}

PARAM 

KEY  {2}
TYPE  {frame}
COMMENT [3D object: final open]
}

PARAM 

KEY  {3}
TYPE  {object}
COMMENT [Object A to open:]
IN {}
}

PARAM 

KEY  {4}
TYPE  {object}
COMMENT [Received object B:]
OUT {}
}

PARAM 

KEY  {5}
TYPE  {sound}
COMMENT [Sound to play when object B is given:]
}

PARAM 

KEY  {6}
TYPE  {LIST}
COMMENT [Options:]
LIST [Object lost=CLEARMOUSE ]
LIST [Object saved=ACTIVE ]
DEFAULT [Object saved]
}

PARAM 

KEY  {7}
TYPE  {TEXT}
COMMENT [Name of the object:]
}

PARAM 

KEY  {8}
TYPE  {LIST}
COMMENT [Effect to play when opened:]
LIST[Absorption Attack=ABSORBMA]
LIST[Absorption Spell=ABSORBVI]
LIST[Light=ARMORMAG]
LIST[Flaming Arrow=ARROWFLAME]
LIST[Antidote=ANTIPOISON]
LIST[Antidote No Sound=ANTIPOISON1]
LIST[Death Dome A=BARRIEREA]
LIST[Death Dome B=BARRIEREB]
LIST[Death Dome C=BARRIEREC]
LIST[Bless=BENEDICT]
LIST[Berserker=BERSERKE]
LIST[Bloodtrace=BLOODTRACE]
LIST[Firefly=BRILLE]
LIST[Teleport B=BTELEPORT]
LIST[Confusion=CONFUSION]
LIST[Crystal=CRYSTAL]
LIST[DEX Potion=DEXTERITY1]
LIST[Spark Globe=ECLAIRA]
LIST[Spark=ECLAIRB]
LIST[Spark Explode=ECLAIRC]
LIST[End Arrow=ENDARROW]
LIST[End Shurinken=ENDSHURIN]
LIST[Metal Spark=ETINCEL]
LIST[Flour=FARINE]
LIST[Fear=FEAR]
LIST[Fee - White=FEE]
LIST[Fee2 - Green - No Sound=FEE2]
LIST[Fireball Red Smoke=FIREBALLA]
LIST[Fireball Flash=FIREBALLB]
LIST[Fireball Explode=FIREBALLC]
LIST[Fireball Red Smoke 2=FIREBALL2A]
LIST[Fireball Flash 2=FIREBALL2B]
LIST[Fireball Explode 2=FIREBALL2C]
LIST[Fireball Red Smoke 3=FIREBALL3A]
LIST[Fireball Red Smoke 3=FIREBALL3B]
LIST[Fireball Explode 3=FIREBALL3C]
LIST[Draak's Breath=FIREDRAAK]
LIST[Wall of Fire A=FIREWALLA]
LIST[Wall of Fire B=FIREWALLB]
LIST[Wall of Fire C=FIREWALLC]
LIST[Flamethrower - Sound=FLAMEWAVEA]
LIST[Flamethrower - Little Flame=FLAMEWAVEB]
LIST[Flamethrower - Big Flame=FLAMEWAVEC]
LIST[Flash=FLASH]
LIST[Thunder 1 Purple=FLASH1]
LIST[Thunder 1 Purple Big=FLASH2]
LIST[Thunder 2 Blue=FLASH3]
LIST[Thunder 1 Purple 3 Blue=FLASH4]
LIST[Thunder 1 Golden 4 Blue=FLASH5]
LIST[Food=FOOD]
LIST[Haste=HASTE]
LIST[Healing=HEAL1]
LIST[Ice Smoke=ICE]
LIST[Berserker Smoke=INBERSERKER]
LIST[Inferno=INFERNO]
LIST[Flame Smoke=INFLAME]
LIST[Night Vision=INFRAVISION]
LIST[Invisibility=INVISIBL]
LIST[Slowness=LENTEUR]
LIST[Loading=LOADING]
LIST[MAG Potion=MAGIC1]
LIST[Magic Bomb Globe=MAGICBOMBA]
LIST[Magic Bomb Smoke=MAGICBOMBB]
LIST[Magic Bomb Explode=MAGICBOMBC]
LIST[Magic Missile=MAGICMISSA]
LIST[Magic Missile Flash=MAGICMISSB]
LIST[Magic Missile Explode=MAGICMISSC]
LIST[Magic Light=MAGLIGHT]
LIST[Mana=MANA1]
LIST[Time Orb=NOVA]
LIST[Forgetfulness=OUBLI]
LIST[Poison Cloud=POISON]
LIST[Poison Potion=POISON1]
LIST[Poison Weapon=POISONWEAPON]
LIST[Rain=RAIN]
LIST[Reflection Spell=REFLECTION]
LIST[Reflection Shield=REFLECTION2]
LIST[Youth Potion=REJUV1]
LIST[Resurrection=RESURECT]
LIST[Fear Single=RIP]
LIST[Stone Break=STONCURE]
LIST[STR Potion=STRENGTH1]
LIST[Skill Learnt=TALENTL]
LIST[Storm=TEMPEST]
LIST[Wall of Fire Yellow Smoke=TFIREWALL]
LIST[Magic Bomb Yellow Smoke=TMAGICBOMB]
LIST[Magic Door Open=TOWNPORTALA]
LIST[Magic Door Enter=TOWNPORTALC]
LIST[Mutation Spell=TRANSFORM1]
LIST[Mutation Target=TRANSFORM2]
LIST[VIT Potion=VITALITY1]
LIST[Water 1=WATER1]
LIST[Water 2=WATER2]
LIST[Explode=EXPLODE]
LIST[Teleport=TELEPORT]
LIST[Telekinesis=TELEKINESIS]
LIST[Stone explode=NOSTONE]
LIST[Poisoned=POISONED]
LIST[Smoke=FUMEE]
LIST[Detection=DETECTION]
LIST[Werewolf=WEREWOLF]
LIST[Plumes=PLUMES]
LIST[Firecamp=FIRECAMP]
LIST[None= ]
DEFAULT [Smoke]
}

PARAM 

KEY  {9}
TYPE  {TEXT}
COMMENT [This text explains what we need:]
}

PARAM 

KEY  {10}
TYPE  {TEXT}
COMMENT [Text to display when we obtain the object B:]
}

PARAM 

KEY  {11}
TYPE  {TEXT}
COMMENT [Text to display when he have nothing more to give:]
}

PARAM 

KEY  {12}
TYPE  {LIST}
COMMENT [Effect to play if unlock fails:]
LIST[Absorption Attack=ABSORBMA]
LIST[Absorption Spell=ABSORBVI]
LIST[Light=ARMORMAG]
LIST[Flaming Arrow=ARROWFLAME]
LIST[Antidote=ANTIPOISON]
LIST[Antidote No Sound=ANTIPOISON1]
LIST[Death Dome A=BARRIEREA]
LIST[Death Dome B=BARRIEREB]
LIST[Death Dome C=BARRIEREC]
LIST[Bless=BENEDICT]
LIST[Berserker=BERSERKE]
LIST[Bloodtrace=BLOODTRACE]
LIST[Firefly=BRILLE]
LIST[Teleport B=BTELEPORT]
LIST[Confusion=CONFUSION]
LIST[Crystal=CRYSTAL]
LIST[DEX Potion=DEXTERITY1]
LIST[Spark Globe=ECLAIRA]
LIST[Spark=ECLAIRB]
LIST[Spark Explode=ECLAIRC]
LIST[End Arrow=ENDARROW]
LIST[End Shurinken=ENDSHURIN]
LIST[Metal Spark=ETINCEL]
LIST[Flour=FARINE]
LIST[Fear=FEAR]
LIST[Fee - White=FEE]
LIST[Fee2 - Green - No Sound=FEE2]
LIST[Fireball Red Smoke=FIREBALLA]
LIST[Fireball Flash=FIREBALLB]
LIST[Fireball Explode=FIREBALLC]
LIST[Fireball Red Smoke 2=FIREBALL2A]
LIST[Fireball Flash 2=FIREBALL2B]
LIST[Fireball Explode 2=FIREBALL2C]
LIST[Fireball Red Smoke 3=FIREBALL3A]
LIST[Fireball Red Smoke 3=FIREBALL3B]
LIST[Fireball Explode 3=FIREBALL3C]
LIST[Draak's Breath=FIREDRAAK]
LIST[Wall of Fire A=FIREWALLA]
LIST[Wall of Fire B=FIREWALLB]
LIST[Wall of Fire C=FIREWALLC]
LIST[Flamethrower - Sound=FLAMEWAVEA]
LIST[Flamethrower - Little Flame=FLAMEWAVEB]
LIST[Flamethrower - Big Flame=FLAMEWAVEC]
LIST[Flash=FLASH]
LIST[Thunder 1 Purple=FLASH1]
LIST[Thunder 1 Purple Big=FLASH2]
LIST[Thunder 2 Blue=FLASH3]
LIST[Thunder 1 Purple 3 Blue=FLASH4]
LIST[Thunder 1 Golden 4 Blue=FLASH5]
LIST[Food=FOOD]
LIST[Haste=HASTE]
LIST[Healing=HEAL1]
LIST[Ice Smoke=ICE]
LIST[Berserker Smoke=INBERSERKER]
LIST[Inferno=INFERNO]
LIST[Flame Smoke=INFLAME]
LIST[Night Vision=INFRAVISION]
LIST[Invisibility=INVISIBL]
LIST[Slowness=LENTEUR]
LIST[Loading=LOADING]
LIST[MAG Potion=MAGIC1]
LIST[Magic Bomb Globe=MAGICBOMBA]
LIST[Magic Bomb Smoke=MAGICBOMBB]
LIST[Magic Bomb Explode=MAGICBOMBC]
LIST[Magic Missile=MAGICMISSA]
LIST[Magic Missile Flash=MAGICMISSB]
LIST[Magic Missile Explode=MAGICMISSC]
LIST[Magic Light=MAGLIGHT]
LIST[Mana=MANA1]
LIST[Time Orb=NOVA]
LIST[Forgetfulness=OUBLI]
LIST[Poison Cloud=POISON]
LIST[Poison Potion=POISON1]
LIST[Poison Weapon=POISONWEAPON]
LIST[Rain=RAIN]
LIST[Reflection Spell=REFLECTION]
LIST[Reflection Shield=REFLECTION2]
LIST[Youth Potion=REJUV1]
LIST[Resurrection=RESURECT]
LIST[Fear Single=RIP]
LIST[Stone Break=STONCURE]
LIST[STR Potion=STRENGTH1]
LIST[Skill Learnt=TALENTL]
LIST[Storm=TEMPEST]
LIST[Wall of Fire Yellow Smoke=TFIREWALL]
LIST[Magic Bomb Yellow Smoke=TMAGICBOMB]
LIST[Magic Door Open=TOWNPORTALA]
LIST[Magic Door Enter=TOWNPORTALC]
LIST[Mutation Spell=TRANSFORM1]
LIST[Mutation Target=TRANSFORM2]
LIST[VIT Potion=VITALITY1]
LIST[Water 1=WATER1]
LIST[Water 2=WATER2]
LIST[Explode=EXPLODE]
LIST[Teleport=TELEPORT]
LIST[Telekinesis=TELEKINESIS]
LIST[Stone explode=NOSTONE]
LIST[Poisoned=POISONED]
LIST[Smoke=FUMEE]
LIST[Detection=DETECTION]
LIST[Werewolf=WEREWOLF]
LIST[Plumes=PLUMES]
LIST[Firecamp=FIRECAMP]
LIST[None= ]
DEFAULT [Smoke]
}

PARAM 

KEY  {13}
TYPE  {sound}
COMMENT [Sound to play if unlock fails:]
}

PARAM
{
KEY {14}
TYPE {INT}
COMMENT [Damage:]
DEFAULT  {50}
}

PARAM
{
KEY {15}
TYPE {INT}
COMMENT [Range of the damage:]
DEFAULT  {2}
}

PARAM 

KEY  {16}
TYPE  {LIST}
COMMENT [Keep collision after the container is opened:]
LIST [Clear collision=1]
LIST [Keep collision=0]
DEFAULT [Clear collision]
}

PARAM 

KEY  {17}
TYPE  {LIST}
COMMENT [Collision before the container is opened:]
LIST [Collision=1]
LIST [No collision=0]
DEFAULT [Collision]
}

PARAM 

KEY  {18}
TYPE  {object}
COMMENT [Received object C:]
OUT {}
}

PARAM 

KEY  {19}
TYPE  {object}
COMMENT [Received object D:]
OUT {}
}

PARAM 

KEY  {20}
TYPE  {object}
COMMENT [Received object E:]
OUT {}
}

PARAM
{
KEY {21}
TYPE {INT}
COMMENT [Message number to be sent when it's opened:]
DEFAULT  [2]
}

PARAM
{
KEY {22}
TYPE {INT}
COMMENT [Message number to be sent when trap is triggered:]
DEFAULT  [2]
}

CODE
[
TRAP
{
KEY { %0 }
FLAG { ACTIVE|LIGHTBUFFER|HANDLE|LIGHT|NEEDPOS|TRANSMIT|SIDEDETECT|%6 }
NAME { %7 }

STATE
{
KEY { close }
SETCOLLID { %17 }
FRAME { %1 }
MULTI
{
CONDITION
{
OBJECT { %3 } 
GOTO { open }
}

CONDITION
{
CLICK {}
GOTO {trap}
}
}
}

STATE
{
KEY { trap }
SETCOLLID { %17 }
FRAME { %1 }
ACTION
{
EFFECT { %12  }
HITEX {%14,%15}
SOUND { %13 }
MSG  {%22}
}

TEXT { %9 }

MULTI
{
CONDITION
{
TIMER {0}
GOTO { close }
}
}
}

STATE
{
KEY { open }
CLEARCOLLID { %16 }
FRAME { %2 }
ACTION
{
EFFECT { %8  }
OBJECT { %4 }
OBJECT { %18 }
OBJECT { %19 }
OBJECT { %20 }
SOUND { %5 }
MSG  {%21}
}

TEXT { %10 }

MULTI
{
CONDITION
{
TIMER {0}
GOTO { end }
}
}
}

STATE
{
KEY { end }
CLEARCOLLID { %16 }
FRAME { %2 }
MULTI
{
CONDITION
{
CLICK {}
GOTO { textend }
}
}
}

STATE
{
KEY { textend }
CLEARCOLLID { %16 }
FRAME { %2 }

TEXT { %11 }

MULTI
{
CONDITION
{
CLICK {}
GOTO { end }
}
}
}

STATE
{
KEY { fin }
}

}
]
}

 

 
Container gives object in mouse (+ text) PDF Print E-mail
Written by Mithrandir   
Wednesday, 10 February 2010 13:42
STATE_MACHINE
{
KEY { container1mouseText }

COMMENT [This container gives 1 object when we click on it.
Object given in mouse. Name and Additional text added. ]

PARAM 

KEY  {1}
TYPE  {frame}
COMMENT [3D object: initial close]
DISPLAY {}
}

PARAM 

KEY  {2}
TYPE  {frame}
COMMENT [3D object: final open]
}

PARAM 

KEY  {3}
TYPE  {object}
COMMENT [Received object:]
OUT {}
}

PARAM 

KEY  {4}
TYPE  {sound}
COMMENT [Sound to play when objet is given:]
}

PARAM
{
KEY { 5 }
TYPE {TEXT}
COMMENT [Name of the Machine:]
}

PARAM
{
KEY { 6 }
TYPE {TEXT}
COMMENT [Text display when we click on it after receiving Obj:]
}

PARAM
{
KEY {7}
TYPE {OBJECT}
COMMENT [Virtual Object to send: ]
OUT {}
}

CODE
[
TRAP
{
KEY { %0 }
NAME { %5 }
FLAG { ACTIVE|LIGHTBUFFER|LIGHT|NEEDPOS|SIDEDETECT }
STATE
{
KEY { close }
SETCOLLID { 1 }
FRAME { %1 }
MULTI
{
CONDITION
{
CLICK { } 
GOTO { open }
}
}
}

STATE
{
KEY { open }
SETCOLLID { 1 }
FRAME { %2 }
ACTION
{
OBJECTMOUSE { %3 }
OBJECT { %7 }
SOUND { %4 }
}
JUMP {static}
}

STATE
{
KEY { static }
SETCOLLID { 1 }
FRAME { %1 }
MULTI
{
CONDITION
{
CLICK { } 
GOTO { display }
}
}
}
STATE
{
KEY { display }
SETCOLLID { 1 }
FRAME { %1 }
TEXT { %6 }
MULTI
{
CONDITION
{
TIMER { 100 } 
GOTO { static }
}
}
}
STATE
{
KEY { fin }
}
}
]
}

 

 
Play Effect, change with VO PDF Print E-mail
Written by Mithrandir   
Wednesday, 10 February 2010 13:41

Plays constant effect +sound. Both change when it receives a VO

STATE_MACHINE
{
KEY { effect2SFXvrObj }
COMMENT [Play an effect consistantly. Sound added. Changes effect and text when it receieves a vrObj.]

PARAM 

KEY  { 1 } 
TYPE  { frame }
COMMENT [3D object:]
DISPLAY {}
}

PARAM
{
KEY { 2 }
TYPE {TEXT}
COMMENT [Text display when we click on it:]
}

PARAM 

KEY  { 3 }
TYPE  { LIST }
COMMENT [Option:]
LIST[Collision=1]
LIST[No collision=0]
DEFAULT [No collision]
}

PARAM 

KEY  { 4 }
TYPE  { INT }
COMMENT [Delay before this state machine is ready to repeat:]
DEFAULT [500]
}

PARAM 

KEY  { 5 }
TYPE  { LIST }
COMMENT [Effect to play 1st effect:]
LIST[Absorption Attack=ABSORBMA]
LIST[Absorption Spell=ABSORBVI]
LIST[Light=ARMORMAG]
LIST[Flaming Arrow=ARROWFLAME]
LIST[Antidote=ANTIPOISON]
LIST[Antidote No Sound=ANTIPOISON1]
LIST[Death Dome A=BARRIEREA]
LIST[Death Dome B=BARRIEREB]
LIST[Death Dome C=BARRIEREC]
LIST[Bless=BENEDICT]
LIST[Berserker=BERSERKE]
LIST[Bloodtrace=BLOODTRACE]
LIST[Firefly=BRILLE]
LIST[Teleport B=BTELEPORT]
LIST[Confusion=CONFUSION]
LIST[Crystal=CRYSTAL]
LIST[DEX Potion=DEXTERITY1]
LIST[Spark Globe=ECLAIRA]
LIST[Spark=ECLAIRB]
LIST[Spark Explode=ECLAIRC]
LIST[End Arrow=ENDARROW]
LIST[End Shurinken=ENDSHURIN]
LIST[Metal Spark=ETINCEL]
LIST[Flour=FARINE]
LIST[Fear=FEAR]
LIST[Fee - White=FEE]
LIST[Fee2 - Green - No Sound=FEE2]
LIST[Fireball Red Smoke=FIREBALLA]
LIST[Fireball Flash=FIREBALLB]
LIST[Fireball Explode=FIREBALLC]
LIST[Fireball Red Smoke 2=FIREBALL2A]
LIST[Fireball Flash 2=FIREBALL2B]
LIST[Fireball Explode 2=FIREBALL2C]
LIST[Fireball Red Smoke 3=FIREBALL3A]
LIST[Fireball Red Smoke 3=FIREBALL3B]
LIST[Fireball Explode 3=FIREBALL3C]
LIST[Draak's Breath=FIREDRAAK]
LIST[Wall of Fire A=FIREWALLA]
LIST[Wall of Fire B=FIREWALLB]
LIST[Wall of Fire C=FIREWALLC]
LIST[Flamethrower - Sound=FLAMEWAVEA]
LIST[Flamethrower - Little Flame=FLAMEWAVEB]
LIST[Flamethrower - Big Flame=FLAMEWAVEC]
LIST[Flash=FLASH]
LIST[Thunder 1 Purple=FLASH1]
LIST[Thunder 1 Purple Big=FLASH2]
LIST[Thunder 2 Blue=FLASH3]
LIST[Thunder 1 Purple 3 Blue=FLASH4]
LIST[Thunder 1 Golden 4 Blue=FLASH5]
LIST[Food=FOOD]
LIST[Haste=HASTE]
LIST[Healing=HEAL1]
LIST[Ice Smoke=ICE]
LIST[Berserker Smoke=INBERSERKER]
LIST[Inferno=INFERNO]
LIST[Flame Smoke=INFLAME]
LIST[Night Vision=INFRAVISION]
LIST[Invisibility=INVISIBL]
LIST[Slowness=LENTEUR]
LIST[Loading=LOADING]
LIST[MAG Potion=MAGIC1]
LIST[Magic Bomb Globe=MAGICBOMBA]
LIST[Magic Bomb Smoke=MAGICBOMBB]
LIST[Magic Bomb Explode=MAGICBOMBC]
LIST[Magic Missile=MAGICMISSA]
LIST[Magic Missile Flash=MAGICMISSB]
LIST[Magic Missile Explode=MAGICMISSC]
LIST[Magic Light=MAGLIGHT]
LIST[Mana=MANA1]
LIST[Time Orb=NOVA]
LIST[Forgetfulness=OUBLI]
LIST[Poison Cloud=POISON]
LIST[Poison Potion=POISON1]
LIST[Poison Weapon=POISONWEAPON]
LIST[Rain=RAIN]
LIST[Reflection Spell=REFLECTION]
LIST[Reflection Shield=REFLECTION2]
LIST[Youth Potion=REJUV1]
LIST[Resurrection=RESURECT]
LIST[Fear Single=RIP]
LIST[Stone Break=STONCURE]
LIST[STR Potion=STRENGTH1]
LIST[Skill Learnt=TALENTL]
LIST[Storm=TEMPEST]
LIST[Wall of Fire Yellow Smoke=TFIREWALL]
LIST[Magic Bomb Yellow Smoke=TMAGICBOMB]
LIST[Magic Door Open=TOWNPORTALA]
LIST[Magic Door Enter=TOWNPORTALC]
LIST[Mutation Spell=TRANSFORM1]
LIST[Mutation Target=TRANSFORM2]
LIST[VIT Potion=VITALITY1]
LIST[Water 1=WATER1]
LIST[Water 2=WATER2]
LIST[Explode=EXPLODE]
LIST[Teleport=TELEPORT]
LIST[Telekinesis=TELEKINESIS]
LIST[Stone explode=NOSTONE]
LIST[Poisoned=POISONED]
LIST[Smoke=FUMEE]
LIST[Detection=DETECTION]
LIST[Werewolf=WEREWOLF]
LIST[Plumes=PLUMES]
LIST[Firecamp=FIRECAMP]
LIST[None= ]
DEFAULT [Firecamp]
}

PARAM
{
KEY { 6 }
TYPE { SOUND }
COMMENT [Sound to play:]
DEFAULT { }
}

PARAM 

KEY  { 7 }
TYPE  { LIST }
COMMENT [Effect to play 1st effect:]
LIST[Absorption Attack=ABSORBMA]
LIST[Absorption Spell=ABSORBVI]
LIST[Light=ARMORMAG]
LIST[Flaming Arrow=ARROWFLAME]
LIST[Antidote=ANTIPOISON]
LIST[Antidote No Sound=ANTIPOISON1]
LIST[Death Dome A=BARRIEREA]
LIST[Death Dome B=BARRIEREB]
LIST[Death Dome C=BARRIEREC]
LIST[Bless=BENEDICT]
LIST[Berserker=BERSERKE]
LIST[Bloodtrace=BLOODTRACE]
LIST[Firefly=BRILLE]
LIST[Teleport B=BTELEPORT]
LIST[Confusion=CONFUSION]
LIST[Crystal=CRYSTAL]
LIST[DEX Potion=DEXTERITY1]
LIST[Spark Globe=ECLAIRA]
LIST[Spark=ECLAIRB]
LIST[Spark Explode=ECLAIRC]
LIST[End Arrow=ENDARROW]
LIST[End Shurinken=ENDSHURIN]
LIST[Metal Spark=ETINCEL]
LIST[Flour=FARINE]
LIST[Fear=FEAR]
LIST[Fee - White=FEE]
LIST[Fee2 - Green - No Sound=FEE2]
LIST[Fireball Red Smoke=FIREBALLA]
LIST[Fireball Flash=FIREBALLB]
LIST[Fireball Explode=FIREBALLC]
LIST[Fireball Red Smoke 2=FIREBALL2A]
LIST[Fireball Flash 2=FIREBALL2B]
LIST[Fireball Explode 2=FIREBALL2C]
LIST[Fireball Red Smoke 3=FIREBALL3A]
LIST[Fireball Red Smoke 3=FIREBALL3B]
LIST[Fireball Explode 3=FIREBALL3C]
LIST[Draak's Breath=FIREDRAAK]
LIST[Wall of Fire A=FIREWALLA]
LIST[Wall of Fire B=FIREWALLB]
LIST[Wall of Fire C=FIREWALLC]
LIST[Flamethrower - Sound=FLAMEWAVEA]
LIST[Flamethrower - Little Flame=FLAMEWAVEB]
LIST[Flamethrower - Big Flame=FLAMEWAVEC]
LIST[Flash=FLASH]
LIST[Thunder 1 Purple=FLASH1]
LIST[Thunder 1 Purple Big=FLASH2]
LIST[Thunder 2 Blue=FLASH3]
LIST[Thunder 1 Purple 3 Blue=FLASH4]
LIST[Thunder 1 Golden 4 Blue=FLASH5]
LIST[Food=FOOD]
LIST[Haste=HASTE]
LIST[Healing=HEAL1]
LIST[Ice Smoke=ICE]
LIST[Berserker Smoke=INBERSERKER]
LIST[Inferno=INFERNO]
LIST[Flame Smoke=INFLAME]
LIST[Night Vision=INFRAVISION]
LIST[Invisibility=INVISIBL]
LIST[Slowness=LENTEUR]
LIST[Loading=LOADING]
LIST[MAG Potion=MAGIC1]
LIST[Magic Bomb Globe=MAGICBOMBA]
LIST[Magic Bomb Smoke=MAGICBOMBB]
LIST[Magic Bomb Explode=MAGICBOMBC]
LIST[Magic Missile=MAGICMISSA]
LIST[Magic Missile Flash=MAGICMISSB]
LIST[Magic Missile Explode=MAGICMISSC]
LIST[Magic Light=MAGLIGHT]
LIST[Mana=MANA1]
LIST[Time Orb=NOVA]
LIST[Forgetfulness=OUBLI]
LIST[Poison Cloud=POISON]
LIST[Poison Potion=POISON1]
LIST[Poison Weapon=POISONWEAPON]
LIST[Rain=RAIN]
LIST[Reflection Spell=REFLECTION]
LIST[Reflection Shield=REFLECTION2]
LIST[Youth Potion=REJUV1]
LIST[Resurrection=RESURECT]
LIST[Fear Single=RIP]
LIST[Stone Break=STONCURE]
LIST[STR Potion=STRENGTH1]
LIST[Skill Learnt=TALENTL]
LIST[Storm=TEMPEST]
LIST[Wall of Fire Yellow Smoke=TFIREWALL]
LIST[Magic Bomb Yellow Smoke=TMAGICBOMB]
LIST[Magic Door Open=TOWNPORTALA]
LIST[Magic Door Enter=TOWNPORTALC]
LIST[Mutation Spell=TRANSFORM1]
LIST[Mutation Target=TRANSFORM2]
LIST[VIT Potion=VITALITY1]
LIST[Water 1=WATER1]
LIST[Water 2=WATER2]
LIST[Explode=EXPLODE]
LIST[Teleport=TELEPORT]
LIST[Telekinesis=TELEKINESIS]
LIST[Stone explode=NOSTONE]
LIST[Poisoned=POISONED]
LIST[Smoke=FUMEE]
LIST[Detection=DETECTION]
LIST[Werewolf=WEREWOLF]
LIST[Plumes=PLUMES]
LIST[Firecamp=FIRECAMP]
LIST[None= ]
DEFAULT [Smoke]
}

PARAM
{
KEY { 8 }
TYPE {TEXT}
COMMENT [Text display when we click on it Second Time:]
}

PARAM
{
KEY {9}
TYPE {OBJECT}
COMMENT [Virtual Object to detect for 2nd effect: ]
IN {}
}

CODE
[
TRAP
{
KEY {%0}
FLAG { ACTIVE|HANDLE|SIDEDETECT }
STATE
{
KEY { start }
SETCOLLID { %3 }
FRAME { %1 }
ACTION
{
SOUND { %6 }
EFFECT  { %5 }
EFFECT  { %5 }
EFFECT  { %5 }
EFFECT  { %5 }
EFFECT  { %5 }
EFFECT  { %5 }

}
MULTI
{
CONDITION
{
OBJECT {%9}
GOTO {staticfin}
}
CONDITION
{
CLICK {}
GOTO { display }
}

CONDITION
{
TIMER { %4 }
GOTO { start }
}
}
}
STATE
{
KEY { display }
FRAME { %1 }
SETCOLLID  { %3 }
TEXT { %2 }
MULTI
{
CONDITION
{
TIMER { %4 }
GOTO { start }
}
}
}

STATE
{
KEY { staticfin }
SETCOLLID { %3 }
FRAME { %1 }
ACTION
{
EFFECT  { %7 }
}
MULTI
{
CONDITION
{
CLICK {}
GOTO { display1 }
}

CONDITION
{
TIMER { 2500 }
GOTO { staticfin }
}
}
}
STATE
{
KEY { display1 }
FRAME { %1 }
SETCOLLID  { %3 }
TEXT { %8 }
MULTI
{
CONDITION
{
TIMER { 2500 }
GOTO { staticfin }
}
}
}
STATE
{
KEY {fin}
FRAME { %1 }
SETCOLLID { %3 }
}
}
]
}

 

 
Item displays text and disappears with VO PDF Print E-mail
Written by Mithrandir   
Wednesday, 10 February 2010 13:40
STATE_MACHINE
{
KEY { TextClickvrObjDiss }
COMMENT [Display a text when we click on it. Item Dissappears when it receives a vrObj.]

PARAM
{
KEY { 1 }
TYPE {TEXT}
COMMENT [Text to display:]
}

PARAM 

KEY  { 2 }
TYPE  {frame}
COMMENT [3D object:]
DISPLAY {}
}

PARAM
{
KEY {3}
TYPE {OBJECT}
COMMENT [Virtual Object to detect for dissappear: ]
IN {}
}

PARAM 

KEY  {4}
TYPE  {LIST}
COMMENT [Options:]
LIST [Collision=1]
LIST [No collision=0]
LIST [Large collision=2]
DEFAULT [Collision]
}

CODE
[
TRAP
{
KEY { %0 }
FLAG { LIGHTBUFFER|LIGHT|ACTIVE|NEEDPOS|SIDEDETECT }

STATE
{
KEY { static }
FRAME         { %2 }
SETCOLLID { %4 }
MULTI
{
CONDITION
{
OBJECT {%3}
GOTO {fin}
}
CONDITION
{
CLICK {}
GOTO {parle}
}
}
}

STATE
{
KEY { parle }
FRAME         { %2 }
SETCOLLID { %4 }
TEXT  { %1 }
MULTI
{
CONDITION
{
TIMER { 5000 }
GOTO { static }
}
}
}

STATE
{
KEY { fin }
CLEARCOLLID { %4 }
}
}
]
}

 

 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 6 of 13