Comments

Pages:: 1 [2]
15.06.2020 10:24 Guest
Good evening, friends. I turned the turret to shoot the tank with the new animations. Take him for their experiments. If you find bugs in the differences from the original, too, write about them.

Video: youtube.com/watch?v=FEh3npJJXt8
The model itself: yadi.sk/d/3_TFbiORUfsosg
14.06.2020 01:03 Guest
objects.play_animation("WHEELTANK","ANIM_NEW")
It's probably the only way to make the turret rotatable. Even if the control function is an internal "node" exists, then it will erratically change their position, rather than smoothly. Similar to the functionality of objects.set_direction("TEST_OBJECT_1",90) it is Therefore Necessary to re-create the model with additional animations. Turn left, right on 15 to 30 degrees etc.
16.04.2020 04:33 Guest
What if we replace the context menu "move" to "attack" in Thefall.exe ? Maybe then tank turn the turret to the target and even shoot without additional crutches in scripts.
02.09.2017 02:50 FloatWave
Nevermind, I already tried it :)
02.09.2017 02:40 FloatWave
Btw. How did you add image to your article? Normally added from editor via "Insert/edit image" icon?
29.08.2017 12:13 NeiroN
Unfortunately the tank can't rotate turret - in API, there is no game setting functions of the rotation angles of the node object.

Still the main drawback, clicks will only be processed on the surface of the earth.

If anyone knows what the function is called by clicking on the object with the right mouse button. Hover is invoked can_examine
29.08.2017 12:57 FloatWave
Good job! I'll definitely try it
Development by Sergey A.Zhukov 2007-2012