Message ini example

Topics regarding Scripting with Reality Factory
Post Reply
Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Message ini example

Post by Veleran » Wed Jan 25, 2012 1:38 am

Could i get an example for a static message,i see the message.ini has no example text in it from what i see.
I tried combinations inspired by the manual with no luck.
Could you post something like:
Monsters Attack!
Prepare for Battle...

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: Message ini example

Post by QuestOfDreams » Wed Jan 25, 2012 11:41 am

Actually, there should be 2 sample definitions in the message.ini file:

Code: Select all

[Static]
type = static
positionx = center
positiony = 100
displaytime = 1
fadeintime = 0
fadeouttime = 0
fontsize = 12

[Special]
type = static
positionx = center
positiony = 100
displaytime = 2
fadeintime = 0
fadeouttime = 0
fontsize = 11
graphic = message.bmp 
graphicalpha = a_message.bmp 
graphicpositionx = center 
graphicpositiony = 80
graphicstyle = 0

The text of the message has to be placed in the message.txt file, e.g.

Code: Select all

[MonsterAttack]
Monsters Attack!
<CR>
Prepare for Battle ...

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Message ini example

Post by Veleran » Wed Jan 25, 2012 2:19 pm

Thanks, excellent message!
I was trying to to put the text to the ini,that is why nothing happened.

Post Reply