Login


    Register

 

 

Stats
Forum Posts:9666
Forum Threads:703
User Gallery:1349
Downloadfiles:182
Artikel Posts:19
Mitglieder:4151
Heute:205
Gestern:409
Online:16
Gesamt:236614
... mehr
Shoutbox
5.9.2010/ 15:13 Richi:
wow??? das is doch ne ss3 und ne mow communityh elp
5.9.2010/ 10:41 Danielvira:
Sudden strike 3 & Fantasy wars , das gleiche problem...
5.9.2010/ 10:25 sigit:
wie installier e ich ein Mod in welchen ordner bei WOW Single DANKE
4.9.2010/ 23:21 Ziesel:
:unknow: Welches Spiel?
4.9.2010/ 22:08 Danielvira:
:cray: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?
4.9.2010/ 16:20 phil:
Hab jetzt 3 Betatester ,bitte keine pm mehr schicken

7.9.2010 12:34
IP: 38.107.191.109

Archiv

Artikeln » Men of War » MoW Scripting

GEM Editor: Targets
Autor Waa Bewertung : 0%
Datum 05.02.2010
Du muss eingeloggt sein um zu voten
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.