Chocks Away!
Moderators: Guru's, The Ministry
-
- Concorde
- Posts: 987
- Joined: 12 Aug 2008, 15:58
- Location: Alconbury Weston, UK
Chocks Away!
Can anyone help me please with the FSX visibility code for chocks to appear when the engine (single jet) is shut down, xml code is like an alien language to me, I'm sure it's easy, but it's not so for me! Thank you in advance!
Rob Richardson
Rob Richardson
- DaveB
- The Ministry
- Posts: 30457
- Joined: 17 Jun 2004, 20:46
- Location: Pelsall, West Mids, UK
- Contact:
Re: Chocks Away!
Welcome Rob
It's all foreign to me too mate but there'll be someone here with the answer
ATB
DaveB
It's all foreign to me too mate but there'll be someone here with the answer
ATB
DaveB
Old sailors never die.. they just smell that way!
-
- Concorde
- Posts: 987
- Joined: 12 Aug 2008, 15:58
- Location: Alconbury Weston, UK
Re: Chocks Away!
Hi Dave,
I really hope so, I've managed to get other visibility code working but not this one! I hate to see objects following me around the sky!
Rob Richardson
I really hope so, I've managed to get other visibility code working but not this one! I hate to see objects following me around the sky!
Rob Richardson
- DaveG
- The Gurus
- Posts: 7708
- Joined: 23 Jun 2004, 18:05
- Location: in a deep, dark hole somewhere.
- Contact:
Re: Chocks Away!
Hi Rob
I used this for the chocks etc on the Hunters:
I used this for the chocks etc on the Hunters:
Code: Select all
<PartInfo>
<Name>parked_part</Name>
<Visibility>
<Parameter>
<Code>
(A:GENERAL ENG RPM:1,RPM) 100 < (A:SIM on GROUND, bool) + (A:BRAKE PARKING POSITION, bool) + 3 ==
</Code>
</Parameter>
</Visibility>
</PartInfo>
Dave G.
-
- Concorde
- Posts: 987
- Joined: 12 Aug 2008, 15:58
- Location: Alconbury Weston, UK
Re: Chocks Away!
Hello Dave,
Thank you very much for that, just what I was after!This might be a bit cheeky but the smoke system on the hunter is so good, you would'nt care to share the code for that would you.
Thanks Again
Rob
Thank you very much for that, just what I was after!This might be a bit cheeky but the smoke system on the hunter is so good, you would'nt care to share the code for that would you.
Thanks Again
Rob
- DaveG
- The Gurus
- Posts: 7708
- Joined: 23 Jun 2004, 18:05
- Location: in a deep, dark hole somewhere.
- Contact:
Re: Chocks Away!
Don't want much do you
This code is a bit unusual in that although it's tagged as an animation, the anim length is irrelevant and is only there so the sim can process the code. Just attach it to any spare part on the model. The part itself doesn't need any animation.
Code: Select all
<PartInfo>
<Name>Hunter_smoke</Name>
<AnimLength>1</AnimLength>
<Animation>
<Parameter>
<Code>
(A:Turb Eng1 corrected N2, percent) 98.4 < (A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 30 > &&
(A:TURB ENG1 N1,percent) 40 > &&
(A:INDICATED ALTITUDE,feet) 22000 < &&
if{ (A:SMOKE ENABLE,bool) ! if{ (>K:SMOKE_ON) } }
els{ (A:SMOKE ENABLE,bool) if{ (>K:SMOKE_OFF) } }
</Code>
</Parameter>
</Animation>
</PartInfo>
Dave G.
-
- Concorde
- Posts: 987
- Joined: 12 Aug 2008, 15:58
- Location: Alconbury Weston, UK
Re: Chocks Away!
Thank you very much Dave,
Thats beautiful!
I'ts taken me two weeks to pluck up the courage to come over and ask questions so I need to make the most of it while I'm here!
Thanks,Thanks
Rob Richardson
Thats beautiful!
I'ts taken me two weeks to pluck up the courage to come over and ask questions so I need to make the most of it while I'm here!
Thanks,Thanks
Rob Richardson
- Garry Russell
- The Ministry
- Posts: 27180
- Joined: 29 Jan 2005, 00:53
- Location: On the other side of the wall
Re: Chocks Away!
HI Rob
Welcome aboard
We are here to share.....so no harm in asking
Is your project a secret?.....you can mention it here, I promise I won't tell anyone
Garry
Welcome aboard
We are here to share.....so no harm in asking
Is your project a secret?.....you can mention it here, I promise I won't tell anyone
Garry
Garry
"In the world of virtual reality things are not always what they seem."
"In the world of virtual reality things are not always what they seem."
-
- Concorde
- Posts: 987
- Joined: 12 Aug 2008, 15:58
- Location: Alconbury Weston, UK
Re: Chocks Away!
Hi Garry,
No secret, working on a Gannet for FSX, there is a mass of information accumulating on it over at CBF, got some really accurate drawings on all variants, one little word was all it took and the info came flooding in!
Rob
No secret, working on a Gannet for FSX, there is a mass of information accumulating on it over at CBF, got some really accurate drawings on all variants, one little word was all it took and the info came flooding in!
Rob
- Garry Russell
- The Ministry
- Posts: 27180
- Joined: 29 Jan 2005, 00:53
- Location: On the other side of the wall
Re: Chocks Away!
AH right
I didn't realise it was you
You'll find a few of us across here too
Garry
I didn't realise it was you
You'll find a few of us across here too
Garry
Garry
"In the world of virtual reality things are not always what they seem."
"In the world of virtual reality things are not always what they seem."