 |
|  |
 |
|
Alinestra Covelia
|
 |
I sense the dodgy presence of Bing - a presence I've not felt since...
Feb 2000 time: 00:12
|
|
Right, I'm trying to polish off my Star Wars:Rebellion scenario, and one of the problems I'm having is with the turns.
I want the game to start in 1 AD (or equivalent). The game goes in 1 year increments. I set the scen starting year to 0 (for the default), and this works fine. It makes my scenario turn 1 AR.
Right then. I want the game to play a .wav file the first turn of the scenario. I have the sound in the sounds file for the scenario, and that seems okay. In the events text file, I have put a command line telling the scenario to play the .wav file near startup. Neither of these works properly.
A) IF SCENLOADED then PLAYWAVFILE start.wav
B) IF TURN=1 then PLAYWAVFILE start.wav
If I place the .wav file as a combat noise, then it plays during combat, so I'm sure the .wav itself is correct. Can any of you suss out the mechanics of the game, and penetrate my appalling grammar, to find out WHAT'S WRONG???
------------------
"In all creation, there can be no task more onerous or tedious than that of playing God." - Stephen Fry, 'The Liar'.
|
|
|  |
 |
|
Alinestra Covelia
|
 |
I sense the dodgy presence of Bing - a presence I've not felt since...
Feb 2000 time: 00:12
|
|
Miner: I've got a save slot (in a normal, scenedit, game) which I boot up and save as scenario periodically. Each time I do this I save over the old scenario, which is all right because I'm improving on it directly.
This shouldn't(?) increment the turn by one each time...??? But yes, I see that the game is in turn A, and having saved that as scenario, the first turn in the scenario is (A+1), right?
So bearing that in mind, should I or shouldn't I consider TURN commands to be elapsed turns (wrt BC, AD, etc) or should they be "scenario" turns elapsed instead?
------------------
"In all creation, there can be no task more onerous or tedious than that of playing God." - Stephen Fry, 'The Liar'.
|
|
|  |
 |
|
ZhugeLiang
|
|
Sonoma, CA, USA
Nov 1999 time: 05:12
|
|
In regards to the sound problem....make sure the wav file is in the correct format, i'm not sure what it is but it's in the scenerio design part of the MPGE book.
|
|
|  |
 |
|
Alinestra Covelia
|
 |
I sense the dodgy presence of Bing - a presence I've not felt since...
Feb 2000 time: 00:12
|
|
A few very necessary explanations and elaborations:
A) This makes my timeline go funny. That is to say, I want it to go 1 AR, 2 AR, 3 AR, etc. But it doesn't. Instead, it goes as per the old Civ2 year increments just after BC becomes AD. This isn't too bad - it doesn't destroy the mood of the game.
B) My events for later turns aren't happening at all. I set an event to change terrain on a certain square on turn = 2. (As Gothmog and others suggested, I have set the starting turn to 1, not 0.) Having read the other thread where somebody made an error with the MAPRECT coords, I made sure that they were flawless. However, the turn 2 event still failed to materialize. I'm having another look at this to make sure I'm doing the right terrain change. However, I also included a text popup, which didn't materialize, making me suspect the entire event is faulty.
------------------
"In all creation, there can be no task more onerous or tedious than that of playing God." - Stephen Fry, 'The Liar'.
|
|
|  |
 |
|
Alinestra Covelia
|
 |
I sense the dodgy presence of Bing - a presence I've not felt since...
Feb 2000 time: 00:12
|
|
@BEGINEVENTS
@DEBUG
@IF
NOSCHISM
DEFENDER=anybody
@THEN
@ENDIF
I am considering actually doing away with this, provided that I can provide alternative identities and dll gifs for all the other tribes in the game. However, would I be right in assuming that specifying a civ with this event would make it NOSCHISM only for that particular civ?
@IF
TURN
turn=-1
I have tried this with turn=1 and it won't work
@THEN
JUSTONCE
TEXT
[etc]
ENDTEXT
PLAYWAVEFILE
start.wav
@ENDIF
@IF
TURN=2
@THEN
CHANGETERRAIN
terraintype=11
maprect
17,51,17,51,17,51,17,51
TEXT
[etc]
ENDTEXT
CREATEUNIT
[etc]
locations
17,51
endlocations
@ENDIF
This fails to work at all
@IF
UNITKILLED
unit=Star
attacker=anybody
defender=anybody
@THEN
TEXT
[etc]
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=2000
All right up to here - everything works fine...but then...
PLAYWAVEFILE
dontdothat.wav
@ENDIF
This fails to work at all. I'm checking up the .wav stats to make sure it's identical - yup, it is the same as the other sound files I have so it should work. Why doesn't it?
.....
....
...
..
.
@ENDEVENTS
Can any of you out there tell me what difference lowercase uppercase makes? I'm sure it makes some difference but can't figure out what must be what for it to work proper like.
Any comments gratefully appreciated and also noted in the scen readme for a very-dubious brand of immortality.
------------------
"In all creation, there can be no task more onerous or tedious than that of playing God." - Stephen Fry, 'The Liar'.
|
|
|  |
All times are GMT. The time now is 05:12. Apolyton Time is 00:12. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|