Hello I'm still working on the hover tank but I'm having some problem, one of the biggest is I can't figure out how to replicate the gunships strafing. My questions to Uber is: is the gunship's strafing an animation or something having to do with movement? Would it be possible to replicate with a land based unit? Code: {"base_spec":"/pa/units/land/base_vehicle/base_vehicle.json","display_name":"Strider","description":"Hover Tank: Anti-land and anti-ship guns, hovers.","display_group":40,"display_index":80,"max_health":180,"wreckage_health_frac":1.0,"build_metal_cost":132,"unit_types":["UNITTYPE_Tank","UNITTYPE_Mobile","UNITTYPE_Land","UNITTYPE_Basic","UNITTYPE_FactoryBuild"],"guard_radius":120,"guard_layer":"WL_LandHorizontal","navigation":{"type":"land-small","acceleration":25,"brake":25,"move_speed":11,"turn_speed":400,"dodge_radius":15,"dodge_multiplier":1.0,"wobble_factor":0.1,"wobble_speed":0.2,"aggressive_distance":80.0,"aggressive_behavior":"circle","circle_min_time":2.0,"circle_max_time":3.0,"hover_time":-1.0,"bank_factor":1},"physics":{"radius":3,"gravity_scalar":1,"push_class":2,"air_friction":3.0},"recon":{"observer":{"items":[{"layer":"surface_and_air","channel":"sight","shape":"capsule","radius":100}]}},"model":{"filename":"/pa/units/land/tank_hover/tank_hover.papa","animtree":"/pa/anim/anim_trees/turret.json","arrows":5},"tools":[{"spec_id":"/pa/units/land/tank_hover/tank_hover_tool_weapon.json","aim_bone":"socket_aim","muzzle_bone":"socket_muzzle"}],"events":{"build_complete":{"audio_cue":"/SE/Build_Complete/veh"},"firing":{"audio_cue":"/SE/Weapons/veh/tank_light_fire","effect_spec":"/pa/effects/specs/tank_muzzle_flash.pfx socket_muzzle"},"died":{"audio_cue":"/SE/Death/Veh"}},"audio":{"loops":{"move":{"cue":"/SE/Movement/veh/tank_hover_loop","flag":"vel_changed","should_start_func":"is_moving","should_stop_func":"is_not_moving"}}},"headlights":[{"gobo":"/pa/effects/textures/gobo/spotlight_gobo.papa","offset":[0.0,-1.0,1.5],"orientation":[0.0,65.0,0.0],"near_width":2.0,"near_height":2.0,"near_distance":1.2,"far_distance":20.0,"color":[0.9,0.92,1.0],"intensity":1.4}],"mesh_bounds":[4.93769,7.57193,2.6835],"TEMP_texelinfo":5.84968} This is the code I have for it atm, any ideas?
We did different plugging in gunship feature into the tank. Some of it made the tank shutter like it was trying to follow the gunships bending of the body, some of it broke the tank's ability to turn it's barrel or turn it's chasis. None of it gave it any banking or strafing.
you probably want something more like the grenadier's animation, not counting the legs. look at how it's body tilts.
Well to a point- yes, but ideally I'd love to see it strafe across the ground, circling it's enemy, pointing towards it. I don't like the turret turning as it just doesn't feel right for a hover vehicle... Basically I want a T1 tank gunship.
I feel ya. You might have to look elsewhere than the animation file for the gunship's movement. i don't know how things are organised but i suspect it has to do with fowfield that the gunship behaves the way it does and not animation. because animation is simply a loop.