Artikeln » Men of War » MoW Scripting
| GEM Editor: Targets | ||||
|---|---|---|---|---|
| Autor | Waa | Bewertung : |
||
| Datum | 05.02.2010 |
|
||
| Vote-Teilnehmer | 0 | |||
| Gesehen von | 765 | 0 Kommentare | ||
| Targets |
|---|
This tutorial by SLURE is about how you can let the targets work and make them spawn again if all of them are down (you have to count it by the numbers you have). 1. First get the target from mission editor (F3), get "service/target_human" and make for example 10 of them, place them somewhere. 2. Give the targets a tag like i used targets, then add these tags to it mgun, smg, rifle (if anyone knows more of these names pls reply i would like to know) 3. Create a new trigger call it targets or what ever you want it for name. Condition: 4. Create a new entities. Tag "targets" that i used for the name, then set state to not operatable, count == 10 (that's the number of targets i created, so what this means if it meets 10 not operatable targets it will start over after you've created a trigger. You could also do it with a timer like give it a delay of 20sec then it will start over but that way is a bit stupid if you have open targets they will spawn again. Commands: 5. Create a new effect > give selector the tag "targets", effect "up" (that will make the target go up) 6. Create a new trigger > name "targets". Optionally you could let the targets act like a player (enemy) like player 1 or 2, then you can let your player automatically shoot the targets. And ye there you have it, have fun and try it out! Happy shooting! Übersetzung / Deutsch: Dieses Tutorial von SLURE handelt davon ZIELSCHEIBEN einzusetzen und sie wieder aufstellen zu lassen, wenn sie getroffen wurden (merkt Euch die Anzahl). 1. Als erstes die ZIELSCHEIBE im Missionseditor (F3) unter "service/target_human" suchen und stelle zum Beispiel 10 Stück irgendwo auf. 2. Dann den ZIELSCHEIBEN einen beliebigen "tag" geben. Diesen "tag" dann auch den Soldaten/Waffen geben, die darauf schiessen sollen. 3. Einen "Trigger" mit beliebigen Namen erstellen. 4. Unter "condition" -> "Create Entities", euern benutzten "tag" eintragen, dann "set state" zu "not opertable", die Anzahl "count===10" eurer ZIELSCHEIBEN eintragen. Die Zahl bedeutet, dass sie sich wieder aufrichten, wenn sie erreicht ist. Vielleicht setzt ihr einfach einen "timer" oder ein "delay" ein. 5. Unter "commands", einen neuen "create new effect", im "selector" den "tag" und "effect" "up" (Scheiben aktiv) auswählen. Optional: Man kann die Scheiben auch für feindliche Spieler (mit Player 1,2 etc) aufstellen, so dass automatisch auf die Scheiben geschossen wird. |
Welches Spiel?
Se
it ich windows 7 habe und das Spiel starte (als Administra
tor) will das prog das 1.mal als Administra
tor starte...u
nd drum gehts nicht !Kann mir wer helfen?