Author Topic: [fixed] Slow attacking units responds very slowly to new commands.  (Read 1225 times)

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Im posting this in the way too past midnight so. this is the bug i wrote to softcoder but he was busy, and since i was tirred i just copy pasted it to save the trouble and get the bug out here in the open.

<Coldfusionstorm> I found out the cause of the slow archer movement
<Coldfusionstorm> well, if you take a look at the archers move skill it is 220
<Coldfusionstorm> the attack is only 50
<Coldfusionstorm> As i see it
<Coldfusionstorm> The "time" para meter for skills
<Coldfusionstorm> is currenly a sort of "reaction"
<Coldfusionstorm> Wich means
<Coldfusionstorm> That the slower the time skill is
<Coldfusionstorm> The slower the unit will react
<Coldfusionstorm> thats why the archer that have a slow _skill time_ (in the attack skill)
<Coldfusionstorm> will react slow
<Coldfusionstorm> because the "time" parameter is in actuality a reaction parameter

Added the () part for clarification.

How to reproduce, Play tech.

How to Come to the conclusion

Change the Tech archers attack skill time parameter to 250 or 350, now he will react allmost instantly a value of 1000 or 5000 would properly make it instant, but also very overpowered.
« Last Edit: 29 October 2011, 18:21:57 by tomreyn »
WiP Game developer.
I do danish translations.
"i break stuff"

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Slow attacking units responds very slowly to new commands.
« Reply #1 on: 27 October 2011, 14:07:08 »
The way I understand it, the unit must finish its current skill cycle before it can perform a new action.  The only exception is death.  So, if it takes the unit two seconds to walk a step, he has to finish that two-second step before it can attack.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Slow attacking units responds very slowly to new commands.
« Reply #2 on: 27 October 2011, 14:09:33 »
The way I understand it, the unit must finish its current skill cycle before it can perform a new action.  The only exception is death.  So, if it takes the unit two seconds to walk a step, he has to finish that two-second step before it can attack.

Softcoder told me that is not the case some days ago, Thats why it was bugging my mind.
WiP Game developer.
I do danish translations.
"i break stuff"

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Slow attacking units responds very slowly to new commands.
« Reply #3 on: 27 October 2011, 15:56:57 »
The way I understand it, the unit must finish its current skill cycle before it can perform a new action.  The only exception is death.  So, if it takes the unit two seconds to walk a step, he has to finish that two-second step before it can attack.

From my experience, is this:

it depends on what skill is currently on

stop/hold/produce skills = instant change

move skills = must be locked on grid. if between two spaces on grid move will continue till it reaches next square.

attack skills = when animation finishes+attack skill over, or instant change when target unit destroyed

morph/repair/build = end of each cycle (tick)

death = instant change overrides any skill
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Slow attacking units responds very slowly to new commands.
« Reply #4 on: 27 October 2011, 17:03:39 »
The way I understand it, the unit must finish its current skill cycle before it can perform a new action.  The only exception is death.  So, if it takes the unit two seconds to walk a step, he has to finish that two-second step before it can attack.

From my experience, is this:

it depends on what skill is currently on

stop/hold/produce skills = instant change

move skills = must be locked on grid. if between two spaces on grid move will continue till it reaches next square.

attack skills = when animation finishes+attack skill over, or instant change when target unit destroyed

morph/repair/build = end of each cycle (tick)

death = instant change overrides any skill

And thats swell and all, But this is not the case all these cases are because attacks, Morphs are dependent on one thin _skill time_

And no,Softcoder said there was no waiting.

this means that the archer should move straigt after a move command was ordered, wich is dosnt.
WiP Game developer.
I do danish translations.
"i break stuff"

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Slow attacking units responds very slowly to new commands.
« Reply #5 on: 28 October 2011, 03:07:03 »
This is fixed, Feel free to close that thead.
WiP Game developer.
I do danish translations.
"i break stuff"