Jump to content


Photo

Easterling unit bug

turn bug cah create a hero turning bfme2 rotwk

  • Please log in to reply
14 replies to this topic

#1 Suchar

Suchar

    Suchy

  • Members
  • 100 posts
  • Location:Poland
  • Projects:PRO MOD
  •  Lonely coder

Posted 04 July 2014 - 10:38 AM

Hi!

I have a little problem. I create new easterling unit form cah model, and it doesn't turning when moving.

There is the code:

 

Spoiler

 

Please help me quickly!

Thank in advance.


Edited by Kwen, 07 July 2014 - 04:30 PM.
Spoiler tag for long code.


#2 -SilverBane-

-SilverBane-

    Inactive Noob

  • Project Team
  • 474 posts
  • Location:Bucharest
  • Projects:Life
  •  Mapper & Coder

Posted 06 July 2014 - 03:14 PM

I am on phone now but as far as I see there are un-needed things there... also I guess it should have HordeModuleDraw not ScrptedModelDraw unless its a stand alone unit , like a hero... I will check later i dont have right now time to look on the whole code

Edited by -SilverBane-, 06 July 2014 - 03:18 PM.

2qm3dd5.jpg


#3 Suchar

Suchar

    Suchy

  • Members
  • 100 posts
  • Location:Poland
  • Projects:PRO MOD
  •  Lonely coder

Posted 06 July 2014 - 04:36 PM

Yes it has un-needed code, because it is something like "test" version of new unit - when I saw that he do not turning, I wanted to solve it, but I couldn't. I think the problem is in the animation code....



#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 06 July 2014 - 08:52 PM

So he runs in the same direction whilst moving backwards?


Ridder Geel

#5 Suchar

Suchar

    Suchy

  • Members
  • 100 posts
  • Location:Poland
  • Projects:PRO MOD
  •  Lonely coder

Posted 06 July 2014 - 09:35 PM

Hmmm... He can go everywhere, but he can't turn when he is moving - when I command him: "go backward!" he is "dancing moonwalk". But he can turn, when he stand!

#6 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 09 July 2014 - 04:49 PM

Aha..

What happens if you remove:

TURN_LEFT_HIGH_SPEED TURN_RIGHT_HIGH_SPEED

from the DependencySharedModelFlags?

 

If im not mistaken this is the same code as used in the Create a hero?

If so, tell me what parts you changed, because the create a hero works fine :p


Ridder Geel

#7 -SilverBane-

-SilverBane-

    Inactive Noob

  • Project Team
  • 474 posts
  • Location:Bucharest
  • Projects:Life
  •  Mapper & Coder

Posted 09 July 2014 - 06:15 PM

I think RG is right, I remember when I had same problems with siege tower, the garrisoned units just kept walking.
Try it! ( you rock RG xD)

2qm3dd5.jpg


#8 Suchar

Suchar

    Suchy

  • Members
  • 100 posts
  • Location:Poland
  • Projects:PRO MOD
  •  Lonely coder

Posted 10 July 2014 - 10:23 AM

Problem is not solved :(

Have you got any ideas?


Edited by Suchar, 11 July 2014 - 08:06 AM.


#9 Suchar

Suchar

    Suchy

  • Members
  • 100 posts
  • Location:Poland
  • Projects:PRO MOD
  •  Lonely coder

Posted 10 July 2014 - 10:58 AM

I attach screens:

"bug.jpg" - moonwalk!

"bug1.jpg" - he can turn only when I use "formation mode"  and when he stand .

Attached Thumbnails

  • bug1.jpg
  • bug.jpg


#10 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 10 July 2014 - 05:55 PM

Not sure if it's relevant, quite sure its not, but why does he not have a experiencelevel? :p

 

Try this as a draw module...

Spoiler

Ridder Geel

#11 Suchar

Suchar

    Suchy

  • Members
  • 100 posts
  • Location:Poland
  • Projects:PRO MOD
  •  Lonely coder

Posted 11 July 2014 - 08:13 AM

I add him a experiencelevel, and I use your draw module, but problem is not solved.....

Has somebody simillar problem? CAH code is working on my Dwarven hero, but I can't create MOTE hero/unit.

Please help me, if you can.



#12 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 13 July 2014 - 02:58 PM

Well have you compared the differences between the two?


Ridder Geel

#13 Suchar

Suchar

    Suchy

  • Members
  • 100 posts
  • Location:Poland
  • Projects:PRO MOD
  •  Lonely coder

Posted 14 July 2014 - 08:37 PM

Model, name, images, kind of (infantry/hero)

#14 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 15 July 2014 - 04:11 PM

Is he in a horde?


Ridder Geel

#15 Suchar

Suchar

    Suchy

  • Members
  • 100 posts
  • Location:Poland
  • Projects:PRO MOD
  •  Lonely coder

Posted 15 July 2014 - 08:44 PM

Not yet.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users