Jump to content

Capturable Animals


 Share

Recommended Posts

  On 08/06/2019 at 3:39 PM, wowgetoffyourcellphone said:

I didn't mean that the code should be hacky. I meant that something doesn't have to be feature complete in one patch. It can be broken down into usable chunks. For instance, making captured horses commandable is useful on it's own. Making them garrisonable can be another patch.

Expand  

I understand that you did not mean that code should hacky, my choice of words was off, sorry about that. I meant that if something is expandable, the dev's usually want that done as well ;) (D1960)

  • Thanks 1
Link to comment
Share on other sites

  • 4 weeks later...
  On 12/05/2019 at 12:00 PM, wowgetoffyourcellphone said:

I have 1 curious bug. When the horse wanders it walks at a normal pace (the animation seems to play at the prescribed speed in the variant file). But when I, the player, tasks the horse the actor plays the walk animation at a higher speed (the entity's walkspeed does not change in either case).

Expand  

 

  On 12/05/2019 at 6:49 PM, Angen said:

Thank you for report. Possible problem has been identified :)

Expand  

 

  On 16/05/2019 at 6:09 AM, Stan` said:

Yeah it should be fixed when @wraitii commits his patches :)

Expand  

 

 

  • Like 1
Link to comment
Share on other sites

Hi @wowgetoffyourcellphone

Please see https://code.wildfiregames.com/rP22197#inline-3121

That is cause animal walks differently. I am not sure with which patch is @wraitii going to fix it but he will eventually :) 

Anyway I think it would need to be edited animation speed in actors after that change.

Edited by Angen
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  On 12/05/2019 at 11:13 AM, Freagarach said:

True. I just tested it and it ensures that every animal under my control can be given orders. Thus addressing your question, I guess. Have you tried it yourself yet?

  Reveal hidden contents

I hope this is clear and works for you!

Expand  

After the latest svn changes to UnitAI and reapplying your suggested changes, it no longer works. No player controlled animals can move, not even domestic. Can you advise? :) 

 

Link to comment
Share on other sites

  On 02/07/2019 at 5:44 AM, wowgetoffyourcellphone said:

After the latest svn changes to UnitAI and reapplying your suggested changes, it no longer works. No player controlled animals can move, not even domestic. Can you advise? :)

Expand  

Strange, I cannot reproduce that. Did you rebuild?

  Reveal hidden contents

Is the updated "UnitAI.js" on your DE-git? Because I see in that file that `!this.IsDomestic()` is removed but the `this.IsAnimal` is still there?

 

Edit: You can see in D1960 how the code should look like.

Edited by Freagarach
Link.
  • Thanks 1
Link to comment
Share on other sites

  On 02/07/2019 at 4:06 PM, Freagarach said:

Strange, I cannot reproduce that. Did you rebuild?

  Reveal hidden contents

Is the updated "UnitAI.js" on your DE-git? Because I see in that file that `!this.IsDomestic()` is removed but the `this.IsAnimal` is still there?

 

Edit: You can see in D1960 how the code should look like.

Expand  

Thanks. Worked. :) 

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...
  On 24/07/2019 at 9:37 PM, wowgetoffyourcellphone said:

Looks like it needs rebased. 

Expand  

Propably, but there is no point when a review is not close yet.

  On 24/07/2019 at 5:32 PM, Angen said:

@wowgetoffyourcellphone https://code.wildfiregames.com/D1961

@Freagarach

has some problems with laptop charging currently

Expand  

Thanks for the pointing! I should be back on track after the weekend.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...