wie baut man bei diesen kohlehügel ab?
__________________________________________
http://www.weltspiele.de.tl
edited 2×, last 26.11.09 01:22:53 pm
$id = create([...]);
$id=create "unit",23;
$id=create("unit",23);
msg "$skillvalue("hunt") ";
msg "$skillvalue"hunt" ";
on:start { 	$skillvalue("hunt")=0; }
msg "$skillvalue("hunt") ";
msg "$skillvalue"hunt" ";
on:start { 	$skillvalue("hunt")=0; }
$hunt=skillvalue("hunt"); msg "$hunt";
on:kill { 		event "iskill_hunt","global"; 		$skill_hunt=skillvalue("hunt"); 		$skill_hunt++; 		if ($skill_hunt<=1){ 			msg "bubb1!"; 		}elseif ($skill_hunt=25) { 			msg "blubb2!"; 		} 		msg "$skill_hunt"; }
on:kill { event "iskill_hunt","global"; $skill_hunt=skillvalue("hunt"); $skill_hunt++; if ($skill_hunt<=1){ msg "bubb1!"; }elseif ($skill_hunt=[b]=[/b]25) { msg "blubb2!"; } }
id=1000 name=Sony PDA model=gfx\ext_plugin\sony-pda.3ds icon=gfx\ext_plugin\sony-pda.png info=Ein PDA ! Türlich von Sony. scale=0.07 healthchange=0 mat=metal weight=500
script=start //- HIER dann das Script hin! script=end
script=start //- HIER dann das Script hin! script=end
id=1003 name=Gatling icon=gfx\ext_plugin\gatling.bmp group=ext,weapon model=gfx\ext_plugin\gatling.3ds scale=1000 behaviour=gatlinggun range=20000 mat=metal weight=4900 info=Die Waffe ist so schnell man sieht es kaum ! health=1500 healthchange=0 damage=3 rate=1 #param=damage,3 param=isfirearm,1 param=rate,2000 param=ammoclip,1002 param=ammotype,1004 param=ammoamount,500 script=start 	on:attack1 { 		if (gety("unit",1)<-15) { 			speech "negative"; 			skipevent; 			skip; 		} 		//Waffe geladen? 		$ammo=getlocal("unit",1,"reloaded1003"); 		if ($ammo>0) { 			$ammo--; 			setlocal "unit",1,"reloaded1003",$ammo; 			play "pistol.wav",1,0,44100; 			local $pitch; 			$pitch=getpitch("unit",1); 			if ($pitch>-80) { 				setrot "unit",1,($pitch-1),"self","self"; 			} 		} else { 			msg "Ich sollte erstmal nachladen!",3; 			skipevent; 		} 	} 	//ggf. nachladen 	if (($s2g_firearms_automatic==1)&&($ammo==0)) { 		event "reload1","unit",1; 	} 	on:impact { 		$tmp=impact_class(); 		$tmp2=impact_id(); 		//+16 Bonus Damage on Flesh 		if (compare_material($tmp,$tmp2,"flesh")==1) { 			damage $tmp,$tmp2,16; 		//+48 Bonus Damage on Glass 		} elseif (compare_material($tmp,$tmp2,"glass")==1) { 			damage $tmp,$tmp2,48; 		} 		freevar $tmp; 		freevar $tmp2; 	} 	on:inhand { 		play "take_ak.wav"; 	} script=end