Ich hab ma eine in Battlefield 1942 geschafft. Voll geil war das Teil :(.
Druckbare Version
Ich liebe Gmod :gmod:.
Diese Emotion musst mal raus :D.
Nur ein Trigger meiner Map..Code:Answered
Events
Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
Player - Player 2 (Blue) types a chat message containing <Empty String> as A substring
Player - Player 3 (Teal) types a chat message containing <Empty String> as A substring
Player - Player 4 (Purple) types a chat message containing <Empty String> as A substring
Player - Player 5 (Yellow) types a chat message containing <Empty String> as A substring
Player - Player 6 (Orange) types a chat message containing <Empty String> as A substring
Player - Player 7 (Green) types a chat message containing <Empty String> as A substring
Player - Player 8 (Pink) types a chat message containing <Empty String> as A substring
Player - Player 1 (Red) Selects a unit
Player - Player 2 (Blue) Selects a unit
Player - Player 3 (Teal) Selects a unit
Player - Player 4 (Purple) Selects a unit
Player - Player 5 (Yellow) Selects a unit
Player - Player 6 (Orange) Selects a unit
Player - Player 7 (Green) Selects a unit
Player - Player 8 (Pink) Selects a unit
Player - Player 1 (Red) skips a cinematic sequence
Player - Player 2 (Blue) skips a cinematic sequence
Player - Player 3 (Teal) skips a cinematic sequence
Player - Player 4 (Purple) skips a cinematic sequence
Player - Player 5 (Yellow) skips a cinematic sequence
Player - Player 6 (Orange) skips a cinematic sequence
Player - Player 7 (Green) skips a cinematic sequence
Player - Player 8 (Pink) skips a cinematic sequence
Conditions
Has_Answered[(Player number of (Triggering player))] Equal to 0
Actions
Special Effect - Create a special effect at (Position of Units[(Player number of (Triggering player))]) using Abilities\Spells\Orc\SpiritLink\SpiritLinkTarget.mdl
Set Special_Effect[(Player number of (Triggering player))] = (Last created special effect)
-------- String --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Right_Answer Not equal to Empty String
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to Right_Answer
Then - Actions
Do nothing
Else - Actions
Skip remaining actions
Else - Actions
-------- Unit --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Right_Unit Not equal to No unit
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Right_Unit
Then - Actions
Do nothing
Else - Actions
Skip remaining actions
Else - Actions
-------- Escape --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Escape_Press Equal to 1
Then - Actions
Do nothing
Else - Actions
Skip remaining actions
-------- ===== --------
Set Players_answered = (Players_answered + 1)
Set Has_Answered[(Player number of (Triggering player))] = 1
Set Player_Time[(Player number of (Triggering player))] = Timer
Set All_Seconds[(Player number of (Triggering player))] = (All_Seconds[(Player number of (Triggering player))] + Player_Time[(Player number of (Triggering player))])
Multiboard - Set the text for Time_board item in column 2, row Multiboard_position[(Player number of (Triggering player))] to ((Substring((String(Player_Time[(Player number of (Triggering player))])), 1, ((Length of (String(Player_Time[(Player number of (Triggering player))]))) - 1))) + Seconds)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Players_answered Equal to Players_there
Then - Actions
Trigger - Turn off (This trigger)
Trigger - Run Round End <gen> (ignoring conditions)
Else - Actions
Do nothing
Öhm?Zitat:
Zitat von Maurice
Ich habe keine Ahnung, ich habe schon bestimmt seit 2 Jahren nicht mehr gespielt :)
Ich weiß nichtmehr was ich schreiben wollte....
oO
Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
Warum ein Empty String?
PS. geb ma DL link will mal gucken wozu man so nen fetten Trigger braucht
PSS. Für alle anderen:
Er hat nurn nen Mini Trigger gemacht der wenn anscheind nichts geschrieben wird ein Effekt irgendwo effektiert wird
glaub ich zumindest
PSSS. Maurice muss es immer übertreiben...
PSSSS. Maurice benutzt du den WEU? (World Editor Unlimited)
facepunch Ist Nun Oify!
Seht Selbst!
Massaker!
SCHADE. ist schon vorbei. alles wieder normal
In der map wird eine Frage gestellt (zB. Wie heißt der X. Buchstabe des Alphabets?) und es geht darum am schnellsten zu sein. Der <empty String> reagiert auf alles, egal was man schreibt.
Es gibt mehrere Arten von Sachen. "Klicke X Spieler an" etc.
Er checkt also welche art von Frage gestellt wurde und checkt dann auf die richtige Antwort/Unit. In dem Trigger wo die Frage gestellt wird wird ein String als richtige antwort gesetzt. Mit der Aktion:
(Entered chat string) Equal to Right_Answer
checkt das Spiel ob das eingegebene richtig ist. Wenn ja, is gut, wenn nein passiert nichts.
Verstanden? :v:
Nicht hier, aber wenn du willst kann ich sie dir per MSN schicken.
Ja, aber nur damit alles Englisch ist.
Dieses Denglisch ist schrecklich.
ALLES GUTE *DEAD*Pr0no0b
Ich auch!
Lethal Weapon 4 auf RTL
Gab grade ein paar CPUs für Gmod10 programmiert. Macht echt fun :)
Ich hab meine erste Sprite gemacht...
http://img168.imageshack.us/img168/16/glockkm2.png
Bin ziehmlich glücklich damit :)
@Maurice: Für was denn, wenn ich fragen darf?
Zu 50% für das: http://forums.facepunchstudios.com//...d.php?t=309167
Is natürlich die Frage ob es reinkommt....
Und zu 50% gegen meine Langeweile.
Lol was zur Hölle ist das :gmod:
Maurice kannst du mappen bzw lua coden oder modeln?
Modeln aber mein Modelprog ist permanent kaputt.
@Maurice: Ich hab früher mal ein SWAT-Pack für Facewound gemacht :)
@Waaaghboss: Ich weiß nicht, ob er das kann, aber ich kann Mappen und Lua coden.
Kennt ihr Hero? Da sind die Namen total scheiße übersetzt wie z.B. Eiserner Flügel im Schnee Wind oder so
Also:
Ängstliche Krähe lad die CPUs mal hoch ich komm mit den Dingern nicht klar
Und
Warhammer Freak Waaghboss du der im Winde hin und her schweifet:
Maurizius Insilus kann für wc3 mappen und das sogar ziemlich gut!
@Alexander, der Alkoholisierte: Was willst denn du genau für Scripts haben?
Übrigens ist Scarecrow ein feststehender Begriff für Vogelscheuche bzw. einem Feind aus Batman Begins. Mein eigentlicher Nick ist und bleibt ComodoFox
Naja, grade hab ich mir ein Screensetupp zum Test gebaut, ansonsten arbeite ich an meinem Laseremittersetup. Hier vielleicht der kurze Test fürn Screenemitter:
1 Constant 2000 als Frequenz an den CPUCode:CODE;
mov eax,1;
mov ebx,1;
jmp mainloop;
mainloop:
mov port0,eax;
mov port1,eax;
mov port2,100;
add eax,1;
cmp eax,32;
jg exit;
jmp mainloop;
exit:
mov eax,1;
1 Button Wert 1 als Clk
1 Button Wert 1 als Reset
3 Gate - Arithmetic, um ein paar Bugs aus dem Weg zu gehen
1 Screen mit 32 x 32 Pixel (egal, welches Modell)
Dann verbindest du die Gate - Arithmetic mit dem CPU an Port0, 1 und 2 und
verbindest Port 0 an X, Port 1 an Y und Port 2 an G.
Und vergisst nicht beim Bildschirm auch ein Constant 1 fürs Clk zu machen ;)
Huh werd ich gleich mal ausprobieren...
Sieht aus als hättest du ahnung von Wire:
Also ich will ne Kamera machen
jetz dacht ich ganz einfach
Jetzt müsste doch eigentlich der Ranger langsam den Beam in die ander richtig von X gleiten lassen oder?Code:Timer RUN->Button
RESET-> Greater Then Gate
A->Timer
B->Constant Value 32
Gate Floor Round down
A-> Timer
Ranger
X->Floor Round down Gate
@Alex22: Ich probier's eben aus ;)
Kennt jemand von euch eigentlich Perfect Kirby?
Was hat das mit einer Kamera zu tun? :D
P.S.: Es funktioniert überhaupt nichts mit dem Ranger :P
Kannst du mir schnell mal die SVN von Wire geben hab die ver ohne cpu...
http://www.wiremod.com/index.php?showtopic=4
P.S.: Alles Gute zum Geburtstag, toter Pr0n00b! :)
Joa,
alles Gute!!! :D
alle't gute!