Jump to content

Freagarach

Community Members
  • Content Count

    118
  • Joined

  • Last visited

Community Reputation

101 Excellent

1 Follower

About Freagarach

  • Rank
    Sesquiplicarius

Profile Information

  • Location
    Netherlands
  • Interests
    Sports, Chemistry, teaching

Recent Profile Visitors

337 profile views
  1. https://github.com/0abc/0abc-a23 will come the closest I guess ;)
  2. Dismounting will probably be a side-effect of the subunits patch https://code.wildfiregames.com/D1958.
  3. Indeed what @fatherbushido said, it can also be seen there that that feature should already be present in vanilla? It is defined in templates/special/filter/foundation.xml that foundations start with 1 HP. One can set the health in Foundation.js in the function InitialiseConstruction. E.g.:
  4. @gameboy, thanks for the report! I've localised it to around turn 3723 and that it seems a PetraAI bug to me, but more investigation is needed.
  5. @gameboy, do you have a approximate time (after start) when this occured? (That makes searching for it a lot easier for me, so no necessity.)
  6. Great to read that you've fixed it :) Would you mind sharing the cause and the fix, if I may ask?
  7. In "gui/session/chat" there is a file called "ChatMessageFormatSimulation.js" in which, I think, you could remove " || msg.player != g_ViewedPlayer && !g_IsObserver && !g_Players[msg.player].isMutualAlly[g_ViewedPlayer]" at line 91. Perhaps you'd also need to remove line 270 from the "TechnologyManager"-component (it defaults to all players). This should allow the phase completed notifications to show to all players, for the start and abort notifications remove the appropriate lines in the "TechnologyManager"-component (just a few lines further). I hope this helps, otherwise I'll have to look more closely ;)
  8. Yep, that's a bug I'll try to find out when it was introduced and notify the author. There is a way to change that, but I think it would introduce nasty side effects (units attacking units in FOW). You'd probably need to play around with the "GetQueryRange" function in UnitAI. As one can see now it takes the minimum of the vision and attack ranges. (I was thinking about splitting the ranges to make them less dependent, but I think it is hard to get right.) Not much more to say than: "Yes." Work has been done on this but probably the best solution would be subunits; the rider being able to attack independently from the movement of the horse. That would allow the horse to keep following the animal whilst the rider attacks (Total War style).
  9. It took some time to figure out but this seemed to have happened: When pressing "Stop" on an unit one sends it to the IDLE state. In that state there is a timer (set to fire on the next turn) to attack units which are close. There is also a listener that fires when there are new units entering the LOS of the unit. When that listner fires, it immidiately switches out of the IDLE state to attack the nearest new unit. In this case, there was a LOS update on the same turn as the camel archer entered the IDLE-state, therefore the abovementioned listner switched the camel archer out of the IDLE state before the timer could fire and the unit started to attack the nearest newly visible unit (the slinger gathering stone). I hope this clarifies it? Otherwise, please ask
  10. One could pass the type of attack from the Attacking-helper to Health.js TakeDamage, then via Reduce and HandleDeath to CreateCorpse and one could select a attack-specific animation there (at "// Make it fall over"). Note that this will not be able to specify which kind of projectile (arrow, boulder, stone) would be the COD.
  11. D2411 D1977 By @Angen (You may use the phenotype to make them workers?)
  12. IMHO, the animation ought to be enemy proximity-related. However, that might be costly performance-wise, so we could make it UnitAI-state dependent. I do not think the stances should influence the variant: If you're gonna attack an enemy you will look the same, regardless whether your orders were to charge on sight or wait for the enemy to close in (provided unlimited stamina ).
  13. I can also lend a hand in creating/reviewing the diffs (in the coming weeks at least). Just let me know if I can help
×
×
  • Create New...