OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: laggy on 08 Dec 2008, 20:47:22

Title: Weird MP intro BUG when PBOd ?
Post by: laggy on 08 Dec 2008, 20:47:22
Hello,

I have found a weird thing. My MP intro works perfectly when the mission folder is not PBOd. When I place the mission folder in User MP missions, start multiplayer and play the mission, it works.
However after PBOing it and placing the PBO file in the ArmA directory MPmissions folder the intro won't start at all. It is simply ignored. It's the same problem on hosted MP as dedicated server. This is my solution:

DESCRIPTION.EXT:

titleParam1="Play Movie";
valuesParam1[]={1,0};
defvalueParam1=1;
textsParam1[]={"Yes, please!","No, not again!"};

titleParam2="Mission time";
valuesParam2[]={2,1,0};
defvalueParam2=2;
textsParam2[]={"Dawn","Night","Dusk"};

etc.


INIT.SQS

setviewdistance 1800
?(param2) == 1: skiptime 5
?(param2) == 2: skiptime 8.8
[] exec "film.sqs"

etc.


FILM.SQS:

?(param1) == 1: goto "intro"
?(param1) == 0: goto "nointro"

#intro

"intro stuff starts here"

etc.


I am using Amalfis old PBO tool from the OFP era, can that be a problem?
The mission time parameter works perfect strangely enough.
I don't understand. Any advice?

Sincerely,

Laggy
Title: Re: Weird MP intro BUG when PBOd ?
Post by: Mr.Peanut on 08 Dec 2008, 20:53:50
Don't use the old OFP pbo tools for ArmA. Download the ArmA tools from the ED.
Title: Re: Weird MP intro BUG when PBOd ?
Post by: laggy on 08 Dec 2008, 20:54:46
Tried the CPBO tool, but it doesn't work.

When I rightclick on the mission folder and choose create PBO it gives the error message: can't find the program.
Are there any other good PBO tools but this one?

Saw the Total Commander plugin.

Laggy
Title: Re: Weird MP intro BUG when PBOd ?
Post by: Planck on 08 Dec 2008, 21:41:46
Try using the official tools from our good friends at BI.

Available from your local friendly OFPEC store (http://ofpec.com/ed_depot/index.php?action=details&id=475&game=ArmA).

Failing that, try Mikeros Eliteness (http://www.ofpec.com/ed_depot/index.php?action=details&id=383&game=ArmA) from the same place.


Planck
Title: Re: Weird MP intro BUG when PBOd ?
Post by: laggy on 08 Dec 2008, 21:48:49
Thanks all for your advice,

Got a newer PBO tool to work and that was the problem, everything now works as it should.
Wonder if this: http://www.ofpec.com/forum/index.php?topic=32622.0 problem was happening for the same reason.

Thanks again