pasik wrote:
1) unless the vehicle spawns at that height, it'll float all over the place first and finally calm down at the targeted level, with 50% chance of ending upside down
2) you'll hit any buildings that might be touching as high as the level you've chosen for the helicopter
3) while it sounds absurd, you can access the vehicle by attempting to jump on a seat, no matter how high the vehicle is.
.
1. Though it would require some work, you can get around this by giving the vehicle two states, an inactive one which is imobile and on the ground, and an active one which is at height, this would just need a transition trigger of some sort for in between them. The transition is where 90% of the problems would be with the copter, mostly because of things like landing on buildings and miss landing near a tree though the tree one can be "fixed" with point 2.
2. give it speed impact damage, this bug will happen nomater what, best to just make it so the copter can be used to get over the one story tall buildings, if you hit anything while flying make it deal damage to the vehicle, sort of like how boats explode if they go on land.
3. simple fix, make it so that once in active mode the copter can not be entered or exited, like the deco vehicles... though the people in it can still control.
here is a basic idea for a copter in this game.
little bird
seats: 1 pilot, 1 gunner.
inactive state stats: health 2, weight 1,000 (so as to be imobile), height ground level.
active state: health 2, weight 10, height just a bit over a 3 story building.
gunner info: the gunner has 2 miniguns at their disposal, these guns have a 30 degree target area at the front of the copter.
state swap info: will not take off with out both a pilot and a gunner. If has both all the pilot has to do is hit a movement key and the copter will enter active state. To exit active state the pilot has to use the exit vehicle key two times, once to land, and once to get out.
This is just an idea for an attack copter, things get painful in complexity when you take into account something like a black hawk.
Even though I can see this as possible with some work I would jsut be happy with a air call which brings in a "AI" assault copter which will cover the area for a time until out of ammo or destroyed.