FSIC Messageboard
  Tech Talk
  OPS 1.3 - Pilot-File-Problem

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   OPS 1.3 - Pilot-File-Problem
Laika 801
Pilot
posted 06-14- 06:54 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Bryan - need a bit help here:

It seems OPS V1.3B still can't handle Pilot/Crew .sm files. It kills the RopePts etc. Or did I something wrong - is there a trick to keep pilot.sm files working with OPS ???

LK

IP: Logged

Bryan Russell
Pilot
posted 06-14- 07:24 AM     Click Here to See the Profile for Bryan Russell   Click Here to Email Bryan Russell     Edit/Delete Message   Reply w/Quote
Can you tell me a SM file I can check out. I assume it happens when you just load and save without doing anything.

------------------


IP: Logged

Laika 801
Pilot
posted 06-14- 08:20 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Try "PilotSit.sm" (inside the media/pilot/ folder). It turns "buggish" when I open it and save it in OPS, with and without changes.

Be carefull, dont kill the PilotSit.sm -original, it is used for the most planes/pilots in SDOE.


One strange thing is that I firts thought it works now in V1.3 but later (dont know what and how I changed) it was the same "bug" as in the older versions of OPS.

I hope you can find the reason !

LK

IP: Logged

jedi
Pilot
posted 06-14- 10:22 AM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
Basically what happens is that the property for the RopePts on the chute gets moved outside a parenthesis or a parenthesis gets added or lost or something when you use OPS to save a pilot model (any pilot model).

If you preserve a "good" pilot model, you can hand-edit the .asc or .sm file with the section containing the RopePts and restore that function to your modified pilot model (this is why the Corsair and Dauntless and new Mustang pilots can open the canopy and still have a good chute when they bail out)

It's a bit tedious tho Change pilot in OPS. Extract pilot. Edit .asc file. Build pilot. Rename pilot. Test pilot. I vote we blame the D-VII guys. If it wasn't for Dirk we wouldn't be messing with the pilots anyway

------------------
--jedi--

IP: Logged

Laika 801
Pilot
posted 06-14- 12:02 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
quote:
you can hand-edit the .asc or .sm file with the section containing the RopePts and restore that function to your modified pilot model

I would say it is a damn hard shit to edit pilot.sm's as long I don't know the exactly parenthesis/syntax for the .asc or .ol format

And NO (said it somewhere before, seems no-one believes me), these ropePts are NOT the only thing, a "buggish" pilot.sm has also wrong inertia/weight props.

I.e. The Pe starts still 5 feet above the ground, I set up the gearstrut-dofs that they brake easy (i.e. when the plane falls from 10 feet to the ground, they will break), OK - I messed around with the crew.ol/asc for the rear-gunner (about 1 hour), I can't get the dof for the body-part to work (it works before !) and somehow now the gearstruts break ! Same was with the I16 -> "buggish" pilot file --> "buggish" FM - Sht !

Is there a tut/doc for the asc/ol format out there ?

As long as I can't "fix" the Navigator/RearGunner I can't release anything

LK

IP: Logged

Laika 801
Pilot
posted 06-14- 04:10 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
HELLO ?

IP: Logged

Bryan Russell
Pilot
posted 06-14- 07:58 PM     Click Here to See the Profile for Bryan Russell   Click Here to Email Bryan Russell     Edit/Delete Message   Reply w/Quote
I'm sure it won't be hard to fix once I see it. I'll have a go tonight and maybe send something to you guys to make sure it did the trick

IP: Logged

Raider
Pilot
posted 06-14- 10:14 PM     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote

------------------
Raider 33rd~GS
Raiders Site

IP: Logged

jedi
Pilot
posted 06-15- 11:40 AM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
Hmmm I didn't notice the weight and inertia stuff--probably you've worked with the pilot figures more than I have. I just noticed the parachute detached from the poor guy

To fix it, I only know one way, and that's using Hippie's Builder/Extractor. First I find a "good" pilot figure somewhere. The US pilot in PlanePack 5.3 is "good." I extract that file. The only part I care about is the .asc file. I save that somewhere. Then I make my changes to MY pilot figure in OPS (make his arm wave, change his uniform, whatever). When I save MY pilot in OPS, his parachute will be kaput. Then I extract my "bad" pilot file. I'm going to keep ALL the parts of this one, but "fix" the .asc file. I open the "good" .asc file in Notepad, and find the property lines for "obRopePts." I copy the whole obRopePts section from first parenthesis to last parenthesis from the "good" .asc file, and REPLACE that section in the "bad" .asc file. I have no idea exactly WHAT error is being corrected, but when I then Build my new pilot.sm file back together, the parachute works properly.

I would think that the same principle would work on the pilot's inertia properties or other areas that are somehow screwed up. Just don't ever open that "good" pilot file in OPS and save it there, or you're hosed

And here's a weird idea for the plane starting in the air: Open the .sm in OPS. Select the part tool, and the movement arrow. Select the main fuselage part, and MOVE it DOWN about 5 feet. Might do nothing I guess, but I think even the parent part of the .sm has an origin in space where it's positioned. I notice that the Corsair drops a foot or two, and I recall moving the orientation of the parent fuselage when I first built it.

You can also check all the body vertices and the wheel points, but it sounds like you have those right, since the plane "hits" the ground when it drops.


------------------
--jedi--

IP: Logged

Laika 801
Pilot
posted 06-15- 12:15 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Hey Jedi !

The Wheel Pts are not the problem here. I didn't know a perfect way to get the co-ordinates for them, but no problem at all.

But the Pilot thingy is driving me crazy, I cant get this damn dof to work and I dont find out why ther inertia/weight settings are screwed up. Hmmm - Bryan said its easy for him to fix it - I hope it !

LK

IP: Logged

jedi
Pilot
posted 06-15- 03:14 PM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
What are you trying to move on the pilot? Make sure the DOF uses the AIRPLANE (PE2) as the parent, not the pilot's torso or something. For moving pilot parts (except for a "turret-head"), the parent object is the airplane model, so you need to match the pilot model to the airplane.

------------------
--jedi--

IP: Logged

Laika 801
Pilot
posted 06-15- 03:52 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Jedi - the dof simply rotates the "bodySit" object of the gunner, I renamed this object to "turretBody" and gave it a DOF (with a dofID 'yaw) and as we know -> now it reacts to the input of the stick when I'm in the crew position (rearGunner). And this quiet simple thing works fine ! I even would try to split those "bodySit" into arms legs etc. with more dofs to get a better more natural movement. BUT this pilot/crew-file is "kaput" and so we have a non working chute and "distorted" inertias. So my problem is how (and where) should I add that dof stuff from one .ol file to the other. I simply look not through these cryptic syntax of Groups and endParts and so on. The other problem is the position of the hidden "torso" object and the "bodysSit" object, I managed it with cut&paste between the two .ol files. But always not sure if the position of the copyed matrix and transformation lines is in the right position (same for the DOF lines), might be it is not and this causes the strange behaviour. Who knows ?

Would be good if Hippie could release a small documentation for dummies like me !

LK

IP: Logged

Laika 801
Pilot
posted 06-16- 07:26 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Bryan ? Is it "fixable" or not ???

LK


IP: Logged

Bryan Russell
Pilot
posted 06-18- 07:16 AM     Click Here to See the Profile for Bryan Russell   Click Here to Email Bryan Russell     Edit/Delete Message   Reply w/Quote
I opened and saved the pilotsit.sim, SMD'ed it and compared the original to the new .ol files with a Diff program. There is no difference at all in the properties between the two, except for the (obProto 'CCrew obClass 'Pilot) list which OPS slits into
(obProto 'CCrew) (obClass 'Pilot) but this wont cuase a problem. The only other difference in the file were some groups and matrix stuff but thats normal and shouldn't cause any probs.

Should I be trying something else? i.e. some operation in OPS?. If you have got a .ol of a dud one send it over for me to look at.

IP: Logged

jedi
Pilot
posted 06-18- 10:37 AM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
Ah, but did you substitute the new pilot into the sim and bail out? That's the proof of the pudding

------------------
--jedi--

IP: Logged

Laika 801
Pilot
posted 06-18- 02:00 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Hmmm -

[quote]The only other difference in the file were some groups and matrix stuff but thats normal and shouldn't cause any probs.[/qoute].

It causes at least that the chute does not work after opening and saveing a pilot.sm file in OPS - and it causes that the I16 turns from flying normal (with a "fresh" pilot.sm) to "wobling" at high speed (with a "opend&saved" pilot.sm). And it causes some nerve-problems in my head :[

I dont understand group and part hierarchy and matrixes, so I don't know how (and what) to fix. So the Pe2 is still on the hold

Anyway I looked again at the two files. it might be that [quote]except for the (obProto 'CCrew obClass 'Pilot) list which OPS slits into
(obProto 'CCrew) (obClass 'Pilot) but this wont cause a problem[/qoute] this does'nt changes anything. But what about this stuff:

"obFunc (Flyboy (airSection "CYL" airK 1.0 airAR 5))
(plus (phyBoxInertia 14.1906,14.1906,9.59401 phyCG -0.0129757,-0.195725,4.797 ))
(obRopePts (verts 6.99438,-6.63385,-0.1672 4,0 6.81494,6.85167,-0.1672 3,0 -6.65355,7.03873,-0.1672 2,0 -6.9499,-6.70399,-0.1672 1,0 ))"-->working pilot.sm


"(obFunc (Flyboy (airSection "CYL" airK 1.0 airAR 5 (plus ( phyBoxInertia 14.190600,14.190600,9.594010 phyCG -0.012976,-0.195725,4.797000 )))))" -->buggish pilot.sm


As you can see some brackets changed their postion and the line with the ropePts is gone. In the opend&saved .sm the inertia thing is moved into the function "flyboy" - so it does not work longer when the pilot is in the plane. Could this be the "bug" (or one of..). I hope this is the problem here, cause changing some brackets is easy, but matrix and group stuff is cruel (for me). I don't got the time to do tests today

Bryan ? What would you say ? Is it right what I found or not ? Would it make sense to look for wrong placed brackets or not ? What's going wrong here (maybe a bug in OPS's func handling ) ???

But hey - thanks for looking at the files, I hope my "investigation" helps to fix something, if there is anything to fix. So thanks again Bryan.

Jedi - thank you too, it's good to know that I'm not alone here

LK


IP: Logged

Laika 801
Pilot
posted 06-18- 02:04 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
[QUOTE]Huh[QUOTE]

Sorry for my "wrong" quoting.

IP: Logged

Bryan Russell
Pilot
posted 06-18- 10:19 PM     Click Here to See the Profile for Bryan Russell   Click Here to Email Bryan Russell     Edit/Delete Message   Reply w/Quote
Should have said that I actually tested it.

I didn't get that change that you describe Laika, but it is something to look at now.

IP: Logged

Laika 801
Pilot
posted 06-19- 07:21 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Could it be that you, Bryan, use a "better" version of OPS ??? At least jedi and me got the problem with the chute...


LK

IP: Logged

Tailslide
Pilot
posted 06-19- 10:56 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

I've also seen this.

And copying and pasting file references like the pilot corrupts my plane file.

TS

IP: Logged

Bryan Russell
Pilot
posted 06-20- 07:48 AM     Click Here to See the Profile for Bryan Russell   Click Here to Email Bryan Russell     Edit/Delete Message   Reply w/Quote
OK Here's the story. I did all of my testing with "Prop Parsing" turned off so thats why it didn't happen (DOH).

Anyway, I beleive that this particular piece of Proplist is a structural error error, well according to my interpretation of the OpenPlane spec anyway. The obFunc is not actually part of a prop list i.e. it does not exit in any set of '( )'s. If you look at all of the other obFuncs they are.

That said however, since SDOE works that it the ultimate judge so I made a small change that I think has fixed it. When I get around to upping it somewhere I'll send Laika and Jedi a mail with the url so you can test it for me (if you want to that is) I hope it hasn't screwed anything else up.


Bryan

P.S I take a little look at the copy file ref thing as well

[This message has been edited by Bryan Russell (edited 06-20-2000).]

IP: Logged

Laika 801
Pilot
posted 06-20- 08:53 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Fine ! So the problem is solved ! Some '(' and ')' changes and it would work !!??

Or could I do all my stuff with prop-parsing unchecked ? What would be the change ?

And, finally, great to know what causes the problems !!!

BIG THANKS !

LK

IP: Logged

Laika 801
Pilot
posted 06-22- 05:28 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Bryan - can't get the download to work !!!

Jedi ? Did it work for you ??

LK

IP: Logged

jedi
Pilot
posted 06-22- 12:00 PM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
Laika--

I got 2 emails from Bryan. On the first one, his link went to the wrong place. On the second one, he misspelled "squadron" in fightersquadron.com, so the link doesn't exist If you enter the link manually, you should get there. I haven't tested the pilot figure with the new version yet.

------------------
--jedi--

IP: Logged

Bryan Russell
Pilot
posted 06-22- 07:57 PM     Click Here to See the Profile for Bryan Russell   Click Here to Email Bryan Russell     Edit/Delete Message   Reply w/Quote
Oops, Thats what you get when you do things in a hurry

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c