Jump to content

Recommended Posts

PaperRobot    0

     OK, here's the story. I'm making my first mod, a small one, in which you are able to create a unit through the Chinese barracks that shoots fire. I call him the Dragon Gunner. (Much like the Dragon Tank.) I replicated the Dragon Tank's weapon in order to make a Dragon Gunner weapon, did the same for the weapon object, etc. Everything works fine, but I have a little bug. When the unit is firing in one direction, and then you ask him to fire in another direction, he does not turn. He instead spawns a magical string of fire out of the back of his head. I've tried looking for a possible solution, but sadly there aren't any tutorials that I could find that show how to do what I'm doing. If you need me to put the source code, I will. I am just hesitant to paste the weapons.ini, weaponobjects.ini, and chinainfantry.ini all on one thread.

 

Thank you in advance!

-ThePaperRobot 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×