~S~
I am currently working on the creation of a 'flyable' aircraft carrier for use as a target in online bombing scenarios for CFS2.
By flyable I mean that it should be treated as an aircraft by the game, although in actual fact all I want is for a player to be able to CFO to a location and then sit still and bob around on the water
I've been experimenting with the stock Essex, and, by including an airfile and a little aircraft.cfg file tinkering I can get it to appear in the game. My assumption is that the damage profile provided in the original will still work and that the model/texture files will allow other players to see the ship in the normal way. The fact that I can see the ship offline would appear to bear this out.
I'm having some difficulty in controlling the contact points in the aircraft.cfg file. This is a similar issue to the seaplane issues I was having some time ago, but my experiments so far are not proving successful so I'm here begging advice again...
I can get accurate enough reference points from the dp file to give me a reasonable idea of where the ship 'ends' and 'begins', what I wonder is how many I will need to make the ship float placidly and level while on the sea.
I'm using contact point class 4 and am assuming a 'scrape' (float?) point in each corner of the bottom of the hull, one on each of the port and starboard sides amidships and one slap bang in the centre on the underside of the hull.
At present, however, the carrier performs something of a cartwheel and explodes when placed on the water... ahem.
Eg.
point.0=4, 460, -40, -40, 1574.8032, 0, 0, 0, 0.896361, 2.5,0.9809,0,0,2,0,0 //port bow
point.1=4, 460, 40, -40, 1574.8032, 0, 0, 0, 0.896361, 2.5,0.9809,0,0,3,0,0 //starboard bow
point.2=4, -430, -40, -40, 1574.8032, 0, 0, 0, 0.896361, 2.5,0.9809,0,0,2,0,0 //port stern
point.3=4, -430, 40, -40, 1574.8032, 0, 0, 0, 0.896361, 2.5,0.9809,0,0,3,0,0 //starboard stern
point.4=4, 0, 7, -40, -40, 1574.8032, 0, 0, 0, 0.896361, 2.5,0.9809,0,0,4,0,0 //port midships
point.5=4, 0, 40, -40, 1574.8032, 0, 0, 0, 0.896361, 2.5,0.9809,0,0,4,0,0 //starboard midships
point.6=4, 0, 0, -40, 1574.8032, 0, 0, 0, 0.896361, 2.5,0.9809,0,0,4,0,0 //hull midships
point.7=2, 460,-108, 67, 1200, 0, 0.00, 0.0, 0.00, 0.0, 0.00, 0.0, 0.0, 5 // deck port bow
point.8=2, 460, 100, 67, 1200, 0, 0.00, 0.0, 0.00, 0.0, 0.00, 0.0, 0.0, 6 // deck starboard bow
point.9=2, -430, -108, 67, 2400, 0, 0.00, 0.0, 0.00, 0.0, 0.00, 0.0, 0.0, 9 // deck port stern
point.10=2, -430, 100, 67, 1200, 0, 0.00, 0.0, 0.00, 0.0, 0.00, 0.0, 0.0, 4 // deck starboard stern
static_pitch=0.000000
static_cg_height=0
I've not started playing with any of the other values yet, just points 0, 1, 2 & 3 - I'm assuming the others will either not matter or can be fixed once I'm properly afloat...
Any thoughts?
~S~
Pads