FSIC Messageboard
  Tech Talk
  Desperately seeking OP info on PSI and temps

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:   Desperately seeking OP info on PSI and temps
Nat
Pilot
posted 12-07- 05:28 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
Help Guys!

OK, thanks to Condor I'm working on an advanced engine DM, condors DM was the inspiration The information I desperatly need is this:

The pit dails qry things like eng temp, oil psi, coolant temp etc etc, OK, I know how to qry the data for the dials, but thats not what I need, I need to affect these readings, I need to raise the temp and lower the psi readings on the coolant, oils system and engine.

Can someone please tell me how I need to code this so that when a part takes damage I can call a function that will show a lowered oil PSI (for example) on the cockpit dials, this is a rather important part of my new DM so any help is really needed and very (as always) appreciated..

Thanks alot guys

~Nat~

------------------
7./JG3 "Naturlich"


"SDOE... What and where would you like to fly today?"
http://members.nbci.com/naturlich/index.htm </B>

IP: Logged

Raider
Pilot
posted 12-08- 12:01 AM     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
Nat, it was Farmer Joe that did the original radiator damage to the Mustang. The way he did it was by changing the Max, Min in the properties by way of a obExec/Func to that gauge. This is probably the best way, especially if you can change it back if you take corrective measures.

I did this another way on the engine damage model for the Mustang. I added a dof to the needle of a gauge, and used an obExec/Func to call it. I could make a temp go higher and back down depending on what effect I wanted.

I can't remember why I didn't use the Max/Min, (maybe couldn't reset it?) but I do think it is the best way.

I hope that helps, I can't wait to see what you are cooking up for us.

[This message has been edited by Raider (edited 12-08-2000).]

IP: Logged

Nat
Pilot
posted 12-08- 06:39 AM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
thanks Raider I had it in my head that there was some wierd and wonderful way of doing this.. LOL OK, I can do it with the min max values that helps alot bro, thanks

------------------
7./JG3 "Naturlich"


"SDOE... What and where would you like to fly today?"
http://members.nbci.com/naturlich/index.htm </B>

IP: Logged

jedi
Pilot
posted 12-08- 12:13 PM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
What I did in the Corsair is to create a second DOF, which moves the amount you want to change the reading. For example, I wanted the carb heat reading to go up 20 degrees of travel on the needle.

You create an obFunc on the parent (fuselage) called, say, "Overtemp." The DOF for the 20-degree needle movement is activated by "cmdOvertemp" and the obFunc Overtemp in the main object is called by, say "onDmg 5" in the obDamage property for the engine. When your engine hits damage level 5, the carb heat guage will then go up 20 degrees, and stay there.

If you have a way to "fix the problem" (in the Corsair you open the oil cooler flaps--yes you can see them move now) then you make another DOF for the same guage, activated by "cmdCooldown" and another obFunc in the parent object "Cooldown." The Cooldown obFunc requires a breaking DOF to activate, and then triggers an "undoing" of some of the "bad stuff" that was happening due to the overtemp.

In the Corsair, your engine will "die" in a few minutes if you ignore the overtemp, but if you take "corrective action," it MIGHT run long enough to get you home. Or not

You can even define MULTIPLE guage readings off of the SAME obFunc, so you can make all the temperature guages react to the same damage using the same "cmdOvertemp" trigger.

In the Corsair, the guage movement was too "subtle" so I added a little "overheat warning light" that will come on when you get an oil leak, and go out if the engine "cools down." The engine still might fail though even with the cooler flaps open.

Anyway, that's an alternative to fiddling with the Min and Max values. You can create a separate DOF, and it will take the EXISTING position of the needle as "zero" and modify it from that point.

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

IP: Logged

Nat
Pilot
posted 12-08- 01:02 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
thanks Jedi, these are the things I'm looking for I'll rip into the F4's and take a look see, but this will help me alot to put the finishing touches to the DM.. right now I'm in the "tweaking" phase to make sure everything is working as it should, but it's looking good so far TailGunner has been the perfect partner for DM advancement, just wait till you see his B17

IP: Logged

jedi
Pilot
posted 12-08- 03:36 PM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
Hehe the CURRENT PP6 Corsair doesn't have this stuff I can send you a beta if you like (engine damage is pretty much finished, but some other stuff is still in progress), or I can just send you the .ol file and you can look at the pertinent areas...

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

IP: Logged

Nat
Pilot
posted 12-08- 04:33 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
Thanks Jedi, I aint to great in OL files, so if you could kick over the SM for me to look at that would be very cool and a massive help Cheers

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