[ITEMDEF I_TDM_eintritt]
ID=0EDB
NAME=Team Deathmatch Event
type=t_tdm_eintritt
on=@create
color=0852
attr=010
[itemdef i_TDM_rot]
ID=0EDB
NAME=Rotes Team
type=t_tdm_rot
on=@create
color=079c
attr=010
[itemdef i_tdm_blau]
ID=0EDB
NAME=Blaues Team
type=t_tdm_blau
on=@create
color=07a0
attr=010
[itemdef i_tdm_raus]
ID=0EDB
Name=Event verlassen
type=t_tdm_raus
on=@create
color=00
attr=010
[ITEMDEF chest_rot]
ID=i_platemail_chest
NAME=Event plate
type=t_armor
armor=100
on=@create
color=079c
attr=00004
hitpoints=200
[ITEMDEF legs_rot]
ID=i_platemail_leggings
Name=Event plate
type=t_armor
armor=100
on=@create
color=079c
attr=00004
hitpoints=200
[ITEMDEF arms_rot]
ID=i_platemail_arms
Name=Event plate
type=t_armor
armor=100
on=@create
color=079c
attr=00004
hitpoints=200
[ITEMDEF hals_rot]
ID=i_platemail_gorget
Name=Event plate
type=t_armor
armor=100
on=@create
color=079c
attr=00004
hitpoints=200
[ITEMDEF helm_rot]
ID=i_platemail_helm
Name=Event plate
type=t_armor
armor=100
on=@create
color=079c
attr=00004
hitpoints=200
[ITEMDEF hand_rot]
ID=i_platemail_gloves
Name=Event plate
type=t_armor
armor=100
on=@create
color=079c
attr=00004
hitpoints=200
[ITEMDEF chest_blau]
ID=i_platemail_chest
NAME=Event plate
type=t_armor
armor=100
on=@create
color=07a0
attr=00004
hitpoints=200
[ITEMDEF legs_blau]
ID=i_platemail_leggings
Name=Event plate
type=t_armor
armor=100
on=@create
color=07a0
attr=00004
hitpoints=200
[ITEMDEF arms_blau]
ID=i_platemail_arms
Name=Event plate
type=t_armor
armor=100
on=@create
color=07a0
attr=00004
hitpoints=200
[ITEMDEF hals_blau]
ID=i_platemail_gorget
Name=Event plate
type=t_armor
armor=100
on=@create
color=07a0
attr=00004
hitpoints=200
[ITEMDEF helm_blau]
ID=i_platemail_helm
Name=Event plate
type=t_armor
armor=100
on=@create
color=07a0
attr=00004
hitpoints=200
[ITEMDEF hand_blau]
ID=i_platemail_gloves
Name=Event plate
type=t_armor
armor=100
on=@create
color=07a0
attr=00004
hitpoints=200
[itemdef hele_rot]
ID=i_halberd
type=t_weapon_sword
skill=swordsmanship
twohands=y
dam=18,70
weight=3
Name=Event Helebarde
on=@create
hitpoints=200
color=079c
attr=00004
[itemdef hele_blau]
ID=i_halberd
type=t_weapon_sword
skill=swordsmanship
twohands=y
dam=18,70
weight=3
Name=Event Helebarde
on=@create
hitpoints=200
color=07a0
attr=00004
[itemdef bogen_rot]
ID=i_bow
skill=archery
twohands=y
dam=9,35
weight=3
Name=Event Bogen
on=@create
hitpoints=200
color=079c
attr=00004
[itemdef bogen_blau]
ID=i_bow
skill=archery
twohands=y
dam=9,35
weight=3
Name=Event Bogen
on=@create
hitpoints=200
color=07a0
attr=00004
[itemdef axt_rot]
id=i_axe
Name=Event Axt
skill=macefighting
twohands=y
dam=18,70
weight=3
on=@create
hitpoints=200
color=079c
attr 00004
[itemdef axt_blau]
id=i_axe
Name=Event Axt
skill=macefighting
twohands=y
dam=18,70
weight=3
on=@create
hitpoints=200
color=07a0
attr 00004
[itemdef speer_rot]
id=i_spear
Name=Event Speer
skill=fencing
twohands=y
dam=18,70
weight=3
on=@create
hitpoints=200
color=079c
attr=00004
[itemdef speer_blau]
id=i_spear
Name=Event Speer
skill=fencing
twohands=y
dam=18,70
weight=3
on=@create
hitpoints=200
color=07a0
attr=00004
[itemdef beutel_rot]
ID=I_bag
on=@create
color=079c
attr=00004
[template rot]
container=beutel_rot
ITEM=i_spellbook
MORE=0FFFFFFFF
MORE2=0FFFFFFFF
item=chest_rot
item=arms_rot
item=legs_rot
item=hand_rot
item=hals_rot
item=helm_rot
item=axt_rot
item=speer_rot
item=hele_rot
item=bogen_rot
item=i_arrow
amount=1000
item=i_bandage
amount=300
[itemdef beutel_blau]
ID=I_bag
on=@create
color=07a0
attr=00004
[template blau]
container=beutel_blau
ITEM=i_spellbook
MORE=0FFFFFFFF
MORE2=0FFFFFFFF
item=chest_blau
item=arms_blau
item=legs_blau
item=hand_blau
item=hals_blau
item=helm_blau
item=axt_blau
item=speer_blau
item=hele_blau
item=bogen_blau
item=i_arrow
amount=1000
item=i_bandage
amount=300
//Typendefinition
[typedef t_tdm_eintritt]
on=@dclick
if !(<src.isevent.e_young>)
src.tag.karma=<src.karma>
src.tag.fame=<src.fame>
if (<src.findlayer(25)>)
src.dclick
endif
src.allesbank
src.go 5997 2151 //Kaefig fuer Teameinteilung
ELSE
MESSAGE=Vergiss nicht, du bist Young!
endif
return 1
[typedef t_tdm_rot]
on=@dclick
src.EVENTS +tdm_rot
src.go 1376 3739 -24 40 //rote Base
src.newitem=rot
src.act.bounce
return 1
[typedef t_tdm_blau]
on=@dclick
src.EVENTS +tdm_blau
src.go 1417 3720 -21 40 //blaue Base
src.newitem=blau
src.act.bounce
return 1
[typedef t_tdm_raus]
on=@dclick
src.karma=<src.tag.karma>
src.fame=<src.tag.fame>
src.tag.karma=
src.tag.fame=
src.EVENTS -tdm_rot
src.EVENTS -tdm_blau
SRC.FINDTYPE.t_eq_trade_window.REMOVE
SRC.FINDLAYER(layer_hand1).remove
SRC.FINDLAYER(layer_hand2).remove
SRC.FINDLAYER(layer_shoes).remove
SRC.FINDLAYER(layer_pants).remove
SRC.FINDLAYER(layer_shirt).remove
SRC.FINDLAYER(layer_helm).remove
SRC.FINDLAYER(layer_gloves).remove
SRC.FINDLAYER(layer_ring).remove
SRC.FINDLAYER(layer_collar).remove
SRC.FINDLAYER(layer_half_apron).remove
SRC.FINDLAYER(layer_chest).remove
SRC.FINDLAYER(layer_wrist).remove
SRC.FINDLAYER(layer_tunic).remove
SRC.FINDLAYER(layer_ears).remove
SRC.FINDLAYER(layer_arms).remove
SRC.FINDLAYER(layer_cape).remove
SRC.FINDLAYER(layer_robe).remove
SRC.FINDLAYER(layer_skirt).remove
SRC.FINDLAYER(layer_legs).remove
SRC.FINDLAYER(Layer_DRAGGING).remove
src.findlayer(layer_pack).remove
src.newitem=i_gold
src.act.bounce
src.findid(i_gold).remove
UPDATEX
src.go 1900 2124 //eure Koordinaten
return 1
//FUNKTIONEN
[FUNCTION antidrag]
ACT=<FINDLAYER(LAYER_DRAGGING).UID>
ACT.BOUNCE
ACT.REMOVE
[function allesbank]
SRC.FINDLAYER(layer_hand1).BOUNCE
SRC.FINDLAYER(layer_hand2).BOUNCE
SRC.FINDLAYER(layer_shoes).BOUNCE
SRC.FINDLAYER(layer_pants).BOUNCE
SRC.FINDLAYER(layer_shirt).BOUNCE
SRC.FINDLAYER(layer_helm).BOUNCE
SRC.FINDLAYER(layer_gloves).BOUNCE
SRC.FINDLAYER(layer_ring).BOUNCE
SRC.FINDLAYER(layer_collar).BOUNCE
SRC.FINDLAYER(layer_half_apron).BOUNCE
SRC.FINDLAYER(layer_chest).BOUNCE
SRC.FINDLAYER(layer_wrist).BOUNCE
SRC.FINDLAYER(layer_tunic).BOUNCE
SRC.FINDLAYER(layer_ears).BOUNCE
SRC.FINDLAYER(layer_arms).BOUNCE
SRC.FINDLAYER(layer_cape).BOUNCE
SRC.FINDLAYER(layer_robe).BOUNCE
SRC.FINDLAYER(layer_skirt).BOUNCE
SRC.FINDLAYER(layer_legs).BOUNCE
SRC.FINDLAYER(layer_pack).UPDATEX
src.aufbank
[function aufbank]
IF !(0<FINDLAYER(layer_pack).UID>)
RETURN 1
ENDIF
IF !(0<FINDLAYER(layer_bankbox).UID>)
RETURN 1
ENDIF
IF !(0<FINDLAYER(layer_pack).FINDCONT(0).UID>)
RETURN 1
ENDIF
IF (FINDLAYER(layer_pack).FINDCONT(0).CONT=<FINDLAYER(layer_bankbox).UID>)
aufbank
ENDIF
RETURN 0
//Events
[Events tdm_rot]
on=@death
resurrect
HITPOINTS=<STR>
MANA=<INT>
src.go 1376 3739 -24 40 //rote Base
return 1
on=@click
MESSAGE=@33 [Rotes Team]
MESSAGE=@33 <name>
return 1
on=@logout
src.go 1376 3739 -24 40 //rote Base
return 1
[events tdm_blau]
on=@death
resurrect
HITPOINTS=<STR>
MANA=<INT>
src.go 1417 3720 -21 40 //blaue Base
return 1
on=@click
Message=@5 [Blaues Team]
Message=@5 <name>
return 1
on=@logout
src.go 1417 3720 -21 40 //blaue Base
return 1
[EOF]
//Kennt ihr bestimmt ! müßt ein paar werte anpassen ! aber macht spass !
tree