OpenXcom Forum
Modding => Work In Progress => Topic started by: Wolfstarr on June 12, 2017, 01:09:50 am
-
So my experiment for this evening was to see if I could get the helicopter from Jungle Strike into OXC, so initially I thought I could do this with the Cyberdisk routine however it animates the rotor blades underneath the aircraft. I then tried using the Sectopod animation routine but as soon as the unit leaves the ground there is no animation on the rotor blades :(
Anyone have any ideas or can point me in another direction?
Cheers!
-
i haveĀ“d the same problem some time ago doing the flying daemon https://openxcom.org/forum/index.php/topic,4322.msg75625.html#msg75625
this will help
-
Thanks :)
I suspected that you wouldn't be able to do it in vanilla code but thought I'd give it a go lol
-
i can look into adding a sprite routine that differs from the cyberdisk only in that one regard (draw order of the animated bit) without too much trouble
-
i can look into adding a sprite routine that differs from the cyberdisk only in that one regard (draw order of the animated bit) without too much trouble
That sounds awesome Warboy! :)
Edit. You've perked my curiousity now warboy! Is this something that could be done through a mod or would it still need OXCE? I take it there is some lovely code in the core files that animates the tiles in a specific fashion, I guess is it as simple as changing the order?
Would you be kind enough to let me know where this is stored in the game files as I'd like to try my hand at a bit of coding :)
-
sorry i didn't reply earlier, didn't notice the edits.
it's stored in UnitSprite.cpp
also i've added the drawing routine for helicopters, it should work with number 22 (please let me know if it has any issues as i didn't actually test it)
-
Thanks WarBoy is that in the latest nightly? or in the latest version of 1.0?
:)
-
nightly only
-
Thanks Warboy :)
Il try and test out tonight :)