Page 2 of 2

Re: Making droppable objects

Posted: 20 Dec 2009, 10:06
by DaveG
Hi X_eidos2,

Sorry if my original answer caused offence.

If you haven't worked out the visibility code for the weapons yet, here's the code I used for the rocket projectiles on the Beaufighter:

Code: Select all

	<PartInfo>
	<Name>BF_RPStarboard</Name>
	<Visibility>
		<Parameter>
			<Code>
				(A:droppable objects type:0, string) 'RP salvo' scmi 0 == if{ (A:droppable objects count:0, number) 0 > if{ 1 } els{ 0 } } els{ (A:PAYLOAD STATION WEIGHT:2,Pound) 259 > if{ 1 } els{ 0 } }
			</Code>
		</Parameter>
	</Visibility>
	</PartInfo>
In the Christmas spirit :xsmile:

Re: Making droppable objects

Posted: 20 Dec 2009, 11:32
by DaveB
Ahh.. christmas spirit.. works for me :thumbsup:

Let's hope this solves some of the mystery X-eidos2 and get's you going in the right direction ;) TBH, I'd have understood it better printed in latin.. at least I could've put it through babelfish :lol:

Best of luck with the project ;)

ATB

DaveB B)smk

Re: Making droppable objects

Posted: 20 Dec 2009, 13:13
by X_eidos2
Thank you gentlemen.

Having the sample code will be helpful, but not for this project. Seems one of the limitations of droppable objects is that the object will not trigger a ground impact special effect if the object has forward movement, which would be the case with a smoke rocket.

Thank you Mr. Garwood for sharing a copy of the xml code. It certainly was the missing part in trying to solve the puzzle. Hopefully others will benefit from seeing it as well. As a side note: My compliments on your Beaufighter model. When I was working at Eidos Interactive, working on the online game Confirmed Kill (never published) one of the last aircraft I built was a Beaufighter. I appreciate the quality you put into it.

Merry Christmas to all. :xsmile:

Re: Firing Beaufighter Ordnance

Posted: 19 Sep 2013, 15:50
by colin.scot-jackson
I can get the rockets and Torps hung but cant find a way to fire them. Shift+D is assigned as the FSX droppable objects but no reaction. Am I missing something in the VC I wonder ? rgds csj