HX3 Foren

HX3 Foren (https://hx3.de/)
-   Editing (https://hx3.de/editing-139/)
-   -   Rucksack simulieren ein Fehler kommt? (https://hx3.de/editing-139/rucksack-simulieren-fehler-kommt-15080/)

rebel29 01.08.2008 22:13

Rucksack simulieren ein Fehler kommt?
 
hallo zusammen
ich hab mir jetzt per Script den Rucksack erstellt,so wie im Editing Guide steht.Doch wenn ich auf Open Backpack gehe,kommt da ein fehler Soundrucksackauf not found

Player Removeaction Rid
Playsound "Rucksackauf"
;
RIID =Player AddAction ["- Speichern","backpack\save.sqs"]
#Verband
? verband3 : goto "Close"
? verband2 : goto "Verband3"
? verband1 : goto "Verband2"
#Verband1
RIID = Player AddAction ["- First aid (3)"."backpack\firstaid.sqs"]
goto"Close"
#Verband2
RIID = Player AddAction ["- First aid (2)"."backpack\firstaid.sqs"]
goto"Close"
#Verband3
RIID = Player AddAction ["- First aid (1)"."backpack\firstaid.sqs"]
goto"Close"
RIIID = Player AddAction ["- Close Backpack","backpack\close.sqs"]
exit
anscheined liegt dort der Fehler
aber was soll ich eingeben?
danke für hilfe

Mr-Murray 01.08.2008 23:16

Nabend
Richtig! Das ist ein Beispielssound.

Wenn du einen hast, lag ihn in der Description.ext an, wenn nicht, lass die Zeile weg.
Playsound "Rucksackauf"


Viele Grüße

Mr-Murray

rebel29 01.08.2008 23:29

abend:)
ok der Fehler ist weg,aber da kommt ein neuer Fehler:rolleyes:
ich poste mal schnell die firstaid.sqs,save.sqs, und noch die close.sqs
; ************************************************** **************
; Script file for Armed Assault
; Created by: TODO: Author Name
; ************************************************** **************

? verband3 : exit
? verband2 : goto "Verband3"
? verband2 : goto "Verband2"
#Verband1
verband1=true
goto "Heilen"
#Verband2
verband2=true
goto "Heilen"
#Verband3
verband3=true
goto "Heilen"
#Heilen
RID =Player AddAction ["Open Backpack","backpack\rucksack.sqs"]
Player RemoveAction RIID
Player RemoveAction RIIID
Player RemoveAction RIIIID
-0.2
Player playmove "LyingToPutDownLying"
~1
Playsound "Sanipack"
~2
Playerswitchmove "LyingToTreatedLying"
~5
Playsound "Schmerz"
~1
Player setdammage 0
exit
save.sqs; ************************************************** **************
; Script file for Armed Assault
; Created by: TODO: Author Name
; ************************************************** **************

[] exec "backpack\close.sqs"
Savegame
exit.sqs; ************************************************** **************
; Script file for Armed Assault
; Created by: TODO: Author Name
; ************************************************** **************

Playsound "Rucksackzu"
Player RemoveAction RIID
Player RemoveAction RIIID
Player RemoveAction RIIIID
RID = Player AddAction ["Open Backpack","backpack\rucksack.sqs"
exit
und

Mr-Murray 02.08.2008 09:07

Schau mal... auf dieser Seite kannst du es dir fertig herunterladen:
http://hx3.de/tutorials-147/armed-as...-murray-14226/

Da sind auch noch ein paar andere Beispiele und Anregungen.

rebel29 02.08.2008 11:51

ich hab das mit dem Rucksack soweit verstanden,jetzt lade ich mir ncoh
dieses Beispiel mit den Sounds.
danke:daumen:


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:44 Uhr.

Angetrieben durch vBulletin, Entwicklung von Philipp Dörner & Tobias


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119