OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: rfountain on 01 Oct 2002, 13:26:19
-
Greetings.
I have for the first time yet actually finished a mission and exported it to the single player section.
Upon going to the single player section to play it, it goes through the intro no problem, but as soon as it loads up the briefing screen displayes units, not markers and it freezes up the computer.
If anyone knows what could be causing this (issues in the briefing, discription, or mission files). Or if anyone has encountered this and understands what maybe causing this.
I am able to run other single player missions, just not mine... ???
Thanks for your wisdom
Robert
-
Ouch.
The only vaguely similar problem I've had is when I've, ahem, neglected to include a player unit in the mission.
Presumably the mission Previews ok in the Mission Editor. What happens in the M.E. when you hold the SHIFT key and click on Preview? What should happen is that the briefing appears.
If your mission is under 50k attach it to a post and I'll have quick look. No promises mind.
-
have you used disableuserinput in any scripts or triggers?
-
DisableUserInput would only give out that result if it were used in the init.
-
I have disableuserinput in the first script on the actual beginning of the mission.
I have a cutscene in the very beginning and did not want the user to interfier. The disableuserinput is used in a script.
Below is an example:
saddleUp = 10
_alpha = _this select 0
_bravo = _this select 1
_charlie = _this select 2
_delta = _this select 3
_echo = _this select 4
_foxtrot = _this select 5
_golf = _this select 6
_hotel = _this select 7
_script = _this select 8
_scripta = _this select 9
disableuserinput true
...as for attaching the mission it weighs in at around 9+ megs. I think its mostly due to the music files. Plus it uses over a half dozen addons.. ::)
:'(
Everything plays just great in the Mission Editor. I will try the shift/preview option and let you know what comes out of that.
Thanks for you help on this guys :)
Robert
-
Ok,
I did the shift/preview in the Mission Editor and it does it there too, but the intro and actual mission go off with out a hitch.
So it must be something that occurs when the breifing screen comes up that causes my system to freeze...I can't even ctl-alt-delete out of it.
I also switched out my briefing.html file and tried one from a sample mission I downloaded and it still freezes. Is suspect the discription or mission files....I am work now so I will see about posting these for the gurus to review.
Thanks again for your hand of assistance on this issue.
Robert
-
just remove the disableuserinput command, any script that is executed from a init field will freeze the mission if it has the command in, you could execute the script from a trigger once the mission has started and hide the glimpse of the player with a slow fade in.
-
I removed the disableuserinput and it WORKS...yaaaay...!! ;D
In the shift/preview at least. Now I need to save it to the single player mission folder and give it a test.
Has anyone else had issues with the Mission Editor save to single player option?
Sometimes when I attempt to save a mission from the mission editor, to the single player mission folder and I then go to the Single Player section and try to play the mission I get a Data Read Error. Sometimes I have to manually delete and re-save the file several times before it will work. I assume that some of the files are getting corrupted in the conversion process. I was wondering if anyone else has encountered this or if this is a known issue with OFP?
Again, thanks guys for the hand in fixing this freezing briefing screen!!! :D
Thanks
Robert
-
I think I found my corruption issue with saving mission files to the single player mission folder.
Appearently I have too many addons in my addon folder and my system does not have enough memory to perform the conversion becasue my OFP take up so much memory and it corrupts the converted files during the conversion process.
Argh...I need more RAM!!!