OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Killzone on 13 Jan 2006, 00:10:35
-
Can someone point me in the right direction to learning how to change the text that comes up right before a mission starts. I notice a lot of people have there own text there. I am talking about the screen that is all black and says: "Get Ready" along with the date.
Thanks
-
Forget it. I figured it out. I was having problems but just figured it out so YEA FOR ME!!!
-
thats a good ? i beleive its defaut "Get Ready" i dont know if theres a tut on that but you need Microsoft Excel to do it. now if you putting sound in you file all you have to do is add to more strings,
line A put STRM_IntroText ,then in line B put heres johny
next line STRM_MissionText then put in B 11:00hours ,,sorry i can exsplain it any better but i could send you a file and you would see. but it will look like this
A B
[1]LANGUAGE English
[2]STRM_IntroText Somewhere in the desert
[3]STRM_MissionText Resuce One
-
Well, even if Killzone has solved the problem Yankme's entry needs clarification. It's not that complicated.
The headlines for intros, missions and outros are set in the description.ext. Open the description in notepad or similar program. Add these two lines at the top of the document:
onloadintro="your text here"
onloadmission="your text here"
What's written between the quotes in onloadintro will be shown BEFORE the intro loads, but also BEFORE any otro (win or lose).
What's written between the quotes in onloadmission will be shown AFTER any intro, but BEFORE the briefing screen pops up.
The excell document Yank is refering too is simply a string table. Inside his mission there still has to be a description.ext file that says
onloadintro="STRM_missionText"
onloadmission="STRM_missionText"
Otherwise his example will not work.
EDIT: By leaving the space between the quotes blank, you will not have anything but time and date, no "Get Ready", no nothing. The time and date will always be shown, though. Afaik there's no way to remove them.
-
you right nominesine lol i took the long road home ;)
theres know A++ or C++ here , ive learned more from tareing things apart
-
Nawww, you don't need excel for the stringtable.......just use notepad.
Planck
-
...how?
-Pilot
-
Right click the stringtable and choose Open With.......
Find notepad in the list ........and away you go
Alternately use the Send to menu feature to send it to notepad.......you need to have a shortcut to notepad in the SendTo folder in the Windows folder.
Planck
-
...oh, so simple. :P
Thanks. :)
-Pilot
-
sure you can open one in notepad, but can you make one from scratch with it?
-
Sure, just right click-New-Text Document, and name it stringtable.csv
-Pilot
-
You guys really seem to be overcomplicating this. Granted stringtable text is more readily maniulated if you want different fonts but surely all this guy needs is the,
onloadintro = " "
and
onloadmission = " "
commands that go in the description.ext.
Forgive me if I misunderstood his question.
-
surely all this guy needs is the onloadintro and onloadmission that go in the description.ext.
As I said a couple of hours ago... but no one seems to listen to me any more *sigh*
-
Wow!! I really appreciate all the replies. I also use notepad for everything it just so much easier in my opinion.
Hey maybe you can help me with another problem that is probably simple but I just cant find how to solve it. I have been practicing with cut scenes and learning how to script cameras and such from all the great tuts on this site. Well anyway I have a cut scene at the begining of a mission that plays music is there a way I can stop this music a script? After the cutscene the music continues which I dont want. I checked the comref but its tough when you dont know what your looking for
Thanks people ;D
-
u tried fademusic?
1 fademusic 0
:D
-
the above example will fade the music volume to 0 (that's what the second number means) in 1 minute (the meaning of the first number)
-
Uh, I believe that is in seconds, not minutes.
-Pilot
-
yes it's seconds.
:D
-
Yea it was making me angry >:( because it kept cutting out sooo fast but then I realized it was in seconds not minutes. It does what I wanted so thanks again ;D