OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dubieman on 23 Feb 2005, 02:05:16

Title: Freezing my mission
Post by: Dubieman on 23 Feb 2005, 02:05:16
Hallo!

I've got my mission and its really bare bones, maybe a few scripts running on it (3 small ones) and its not even beta yet. However one day I came back to it and found everytime I go to preview the mission it freezes OFP when it loads. So right as I get my view in 1st person it just locks up and I usually have to restart my comp to get everything normal again.

Any suggestions? Anyone with same problems? Cures? Vaccines?

And I've had this happen to a mission before a loooong time ago. :P

If its any help, I'm using a 2.4ghz pentium chip, 80gig HD, and 512MB RAM
Title: Re:Freezing my mission
Post by: penguinman on 23 Feb 2005, 07:35:21
hmm,

ive thought of a list of things u can do that may help

1.move player starting position.
2. try removing the scripts and play through.
3. try removing different scripts and keeping others so u can pinpoint which script is causeing it (ONLY IF # 2 IS CAUSING IT TO NOT FREEZE)
4.if its not the scripts then see if u have any contradicting comands(ie:    in activasion field of somthing:    this setUnitPos"UP";this SetUnitPos"DOWN")
5. try deleting different addons from the mission and see if one of them is screwed up.
6.try deleting the outro and see if thats it.
7.try deleting the intro.


thats all i have for now. all those things somtimes cause freezing for me.

thanks
penguin
Title: Re:Freezing my mission
Post by: nominesine on 23 Feb 2005, 08:37:21
This sounds more like troubleshooting than editing. I don't think there is a scripting problem and then you will find the best help on the official forums:

www.flashpoint1985.com

Check out their Troubleshooting section. I believe I saw a thread labeled "OFP freezing or crashing" a few days ago. Good luck.

But just because I might be wrong (because it can be your scripts)...

Do any of your scripts contain a fast loop?

My computer locks up completely if there is a scriptloop that runs faster than ~0.001 seconds.
Title: Re:Freezing my mission
Post by: h- on 23 Feb 2005, 11:02:54
Also worth checking is that if there's 'disableUserInput true' somewhere and it does not get turned to false before the mission starts...

That locks all kb input so you can't exit the mission/game without rebooting your comp...
Title: Re:Freezing my mission
Post by: dmakatra on 23 Feb 2005, 11:23:23
I had a similar problem on one of my missions. I deleted all scripts, all units, everything, but I still couldn't get it to work. Figured it was something wrong with the mission.sqm.

I didn't solve it. I was just starting on the mission really so I just ditched it and built new stuff.

:beat: *Gets Shot* :beat:
Title: Re:Freezing my mission
Post by: Dubieman on 23 Feb 2005, 18:15:54
I did post on BIS's forum...

Got pretty much the same answer as here. ::) :P

I think I'll just redo the mission, make it again, unless I find the problem... No time today. :P

Thanks