Just paste this script in "units.inf"
### Player
#ID 1 IS RESERVED FOR THE PLAYER UNIT!
id=1
name=Player
group=human
icon=gfx\strandedguy.bmp
model=gfx\strandedguy.b3d
colxr=8
colyr=17
eyes=16
store=100
health=100
damage=3
speed=1.1
acceleration=0.05
attackrange=45
maxweight=25000
healthchange=0
script=start
on:attack2
{ timer "self",000,1,"run";}
on:run {
speech "run";
drink 0,0,-0.5,0;
player_speed 2.9;
freetimers "self";
timer "self",2000,1,"walk";}
on:walk {
player_speed 1.1;
freetimers "self";
}
edited 7×, last 25.09.10 04:34:51 am