Re: Making droppable objects
Posted: 20 Dec 2009, 10:06
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:
In the Christmas spirit 
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>
