FSIC Messageboard
  Tech Talk
  obProb usage

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:   obProb usage
bjorn
Pilot
posted 03-20- 03:49 PM     Click Here to See the Profile for bjorn     Edit/Delete Message   Reply w/Quote
Just so that no one will miss out on this:

The discussion about whether or not obProb's can be used in loadout.ppf made me experiment with obProb's a lot. I think that everywhere there's a property, an obProb can be used. What I especially appreciate is that they can be used for the damage DOFs

Example:

[DOF:x:y]
2 ; kind
0.9991416931 0.1205808669 -2.406637192 ; origin
0.000000000 0.000000000 1.000000000 ; axis
-1.000000000 1.000000000 ; min max
####(obProb (10 (dofSpring 1200000 dofBreak 5) 10 (dofSpring 1320000 dofBreak 5)
10 (dofSpring 1400000 dofBreak 5) 10 (dofSpring 1080000 dofBreak 5) 10 (dofSpri
ng 1200000 dofBreak 4) 10 (dofSpring 1320000 dofBreak 4) 10 (dofSpring 1400000 d
ofBreak 4) 10 (dofSpring 1080000 dofBreak 4) 10 (dofSpring 1200000 dofBreak 6) 1
0 (dofSpring 1200000 dofBreak 7)))####

Friggin great! No more both wings snapping off at the exact same moment. Hippie's builder is picky about DOF properties being on one line only, though, so you might be in for long lines.

Of course they can be used for more static thingies, like the engine power, max RPM, fuel consumption, plane mass, etc.

I did not manage to alter obHits with obProb's, but chances are it was my error and that it really does work, but even if it doesn't, an "onDmg 1 (obProb (1 (obExplode)))" pretty much settles things anyway.

Just wanted to share my findings from the last few days of experimentation.
_
/Bjorn.

IP: Logged

Tailslide
Pilot
posted 03-20- 04:19 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

I found OPStudio always mangles my obProb statements so I had to choose between opstudio compatibility and obProb statements. Anyone else seeing this?

TS

IP: Logged

bjorn
Pilot
posted 03-20- 04:42 PM     Click Here to See the Profile for bjorn     Edit/Delete Message   Reply w/Quote
Yes, OPS corrupts them, except the ones for DOF properties (for whatever reason.)
_
/Bjorn.

IP: Logged

Sv
Pilot
posted 03-20- 07:15 PM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
This is great bjorn!

Bryan, please fix this obProb bug in OPS soon... but no pressure

------------------
-Sv =FC=

WWI in SDOE!


IP: Logged

Spanky the Mad Dog
Pilot
posted 03-21- 11:51 PM     Click Here to See the Profile for Spanky the Mad Dog   Click Here to Email Spanky the Mad Dog     Edit/Delete Message   Reply w/Quote
Spanky here..

Bryan PLEASE fix any bugs you can and release a new version.

I find myself shying away from trying harder because i don't look forward to not being able to use OPS and having to do notepad coding

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