You must be logged in to post messages.
Please login or register

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: A Few Questions I Have...
posted 05-31-01 06:34 PM CT (US)   
Ok.
Question 1:
I have a sound file (ex. 18 sec), how do I make it so the sound will repeat itself immediately after playing itself?
I've tried a 33 sec sound and had the condition "Timer: 33" but the sounds interrupted each other.(looped trigger)

Question 2:
Can I use the "Place Foundation" trigger more than once in the same trigger, or will that make all villies go to one building, then the next...

Question 3:
Is the number for decreasing object attack/HP 65536?

Question 4:
Text in the middle of the screen. How do you do this?
I saw it used in "Tamerlane, Prince of Destruction", and "TKBM". Well, how is it done?

Thanks, and sorry if these questions have been answered before.

Ultima Knight

Replies:
posted 05-31-01 06:36 PM CT (US)     1 / 12  
3) Yes
4) Use a series of enters and tabs.

Ztolk
Stronghold Heaven Cherub
posted 05-31-01 07:27 PM CT (US)     2 / 12  
On your text in the middle of the screen question, when you have display instructions, you can enter 0, 1 or 2, to make it show up in the top, middle, or bottom of the screen when it gets displayed.

Live a good, honorable life. Then when you get older and think back, you'll be able to enjoy it a second time
posted 05-31-01 07:30 PM CT (US)     3 / 12  
Ok, let me re-phrase my text question.

How do put the text in the CENTER.
Like this:
HI

Ultima Knight

posted 05-31-01 07:31 PM CT (US)     4 / 12  
k that didn't work properly.
this is what i meanex.)
______________________--HI Everyone--___________________

without the underscores... (_)

posted 05-31-01 08:18 PM CT (US)     5 / 12  
Why does no one help me? I feel so rejected...
posted 05-31-01 08:51 PM CT (US)     6 / 12  
1) Use a timer, yes. However, game time (and the timer) runs faster than real time(and the sound). For example, on Fast speed it's 2 times as fast and one Normal 1.5 times. So you have to take this into account. Instead of using 33 seconds, use 33*1.5. Also, you have to tell the player to play on a certain speed, cause there's no way to detect game speed in a trigger.

2) Yes. If you really want, try it and see what the villies do. Under some AIs, they won't do anything anyway. Human-owned villies are not tasked to new buildings either (I think).

3) Yes. it is 216. You need to subtract from it the amount you want to add/remove I think.

4) First of all, set the number to 2. This way it'll be on the bottom-most instruction line. Second, use tabs to get it approximately centered. This is a trial & error thing; there is no clear way to do it.


Programmer on 0 A.D., author of Norse Wars, co-author of Fort Wars.
posted 05-31-01 08:56 PM CT (US)     7 / 12  
So basically for 33 sec:
33 x 1.5 = 49.5 = 50 secs?
Does this work? I'm doing other stuff right now, so I can't test it myself.
posted 06-01-01 06:34 PM CT (US)     8 / 12  
Ok. I figured out the text part. Otherwise, HELP!

Anyway, i have a new question:
How do I get accents on my letters?

posted 06-01-01 08:36 PM CT (US)     9 / 12  
TOP. ^ COME ON PPL!
posted 06-02-01 05:04 PM CT (US)     10 / 12  
Top
posted 06-02-01 05:07 PM CT (US)     11 / 12  
YAY!
Place Foundation = no longer a problem
Text is centered
Attack isn't subtracting...
Now - How to get text accents.
What do I do about that music?
posted 06-02-01 05:20 PM CT (US)     12 / 12  
OK.

Two triggers

Trigger 0
Looping-off
Starting-on

Effect-Play sound(Whatever sound file)

Trigger 1
Looping-on
Starting-on

Condition-However long the sound file is
Effect-Play sound(Whatever the sound file is)

Hope that helps!

Age of Kings Heaven » Forums » Scenario Design and Discussion » A Few Questions I Have...
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Kings Heaven | HeavenGames