Results 1 to 30 of 33

Thread: possible bug reg Pritanoi skirmishers in campaign

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default possible bug reg Pritanoi skirmishers in campaign

    Hello and thanks for this truly amazing mod.

    I started a campaign as Pritanoi and noticed some strange behaviour reg 2 units.
    In battle the spear throwing animation plays but only a handfull of spears like 10 or 15 are thrown most of times and at times it seems no spears are thrown or they are invisible.

    So far noticed this thing in skirmisher unit and sling-spear militia.But the 2nd could be a false positive because I saw it only once. It's definitely happening with the skirmishers though.

    The weird part is that if I go to custom battle the spears are thrown just fine.

    Could this be a minor bug or is it a problem on my end and I should start seeing if I installed things fine?
    I use this mod above MTW gold, kingdoms patch 1.5.

    Thanks
    Last edited by Not_a_Strategist_yet; 08-28-2014 at 14:12.

  2. #2
    Member Member Poppis's Avatar
    Join Date
    Sep 2008
    Location
    Finland
    Posts
    51

    Default Re: possible bug reg Pritanoi skirmishers in campaign

    Yeah skirmishers seem to be bugged for many people. I heard the devs are looking into it.

  3. #3

    Default Re: possible bug reg Pritanoi skirmishers in campaign

    Ok did some testing myself.

    In the descr_projectile file I can see this at top:

    ; to calculate projectile parameters take
    ; d = shot distance from export_unit_descr.txt
    ; d = v^2 / g (at 45 deg) -> v = sqrt(d*9.81)
    ; check weapon ranges with angle ranges using
    ; d = v^2 * sin(2*a) / g

    Not sure if this rule must always be followed or it is an entry that bares no importance. Anyway decided to give it a go.
    Calculated a new speed of 23 based on those 2 equations and inputed it in javelin.

    Now I can get the skirmishers to unlish their javelins at an okay range.
    They will not fire them at point blank , eg when directly behind friendly troops,
    but also I noticed when cavalry ran away and got out of the 40 range then the animation played but no javelins were fired.

    Reverted the value back to original one on purpose in speed and javelins would not fire.

    Is there a possibility therefore that the speed needs to be about right using these 2 equations for the javelins to fire at correct range?
    I've been a modder for quite a few games but not for TW series appart from some fiddling. So my question is , does the MTW engine judge wether javelins are to be fired based both on projectile speed and range?
    Then a speed of about 40 would give a range of 160 and as a result the javelins would not fire with a unit restricted to a range of 40.

    If so this could be a possible fix but not sure if it is valid. just a thought
    (hope you don't mind me tweeking some stuff and searching for a solution, crazy curiosity just got enabled )
    Last edited by Not_a_Strategist_yet; 08-28-2014 at 22:45.

    Members thankful for this post (2):



  4. #4
    master of the wierd people Member Ibrahim's Avatar
    Join Date
    Dec 2007
    Location
    Who cares
    Posts
    6,195

    Default Re: possible bug reg Pritanoi skirmishers in campaign

    You asssessment regarding the unit's trajectory calculation is largely correct. we've been trying to get them to work at historical ranges--some of which are lower than 40 meters still, but have had great difficulty. will give your proposal a go.

    @Tux we can add this to the possible list of fixes.
    I was once alive, but then a girl came and took out my ticker.

    my 4 year old modding project--nearing completion: http://www.twcenter.net/forums/showthread.php?t=219506 (if you wanna help, join me).

    tired of ridiculous trouble with walking animations? then you need my brand newmotion capture for the common man!

    "We have proven, beyond a shadow of a doubt, that if we put the belonging to, in the I don't know what, all gas lines will explode " -alBernameg

    Member thankful for this post:

    Tux 


  5. #5

    Default Re: possible bug reg Pritanoi skirmishers in campaign

    Scratch the min and max speed values they only seem to increase spread in trajectory of projectiles for some reason.

    I used these values:
    pilum: speed 25
    prec_javelin: speed 26
    Javelin: speed 23
    projectile_javelin: speed 23
    cav_javelin: speed 29
    cav_haevy_javelin: speed 22



    The behaviour is pretty good, I order skirmishers to fire to enemy formations and this is the result(see pic). Bare in mind they're downhill so the real tragectory is not steep as appears in the pic. Damn those men how can someone take a nice screenshot if they don't synchronize their throw ! .

    Only problem is when behind friendly forces and close to enemy attacking sometimes only a few will fire javelins. But I guess that's not such a big deal as firing javelins next to your own troops heads is not a good idea anyway.
    Last edited by Not_a_Strategist_yet; 08-29-2014 at 10:11.

    Member thankful for this post:



  6. #6

    Default Re: possible bug reg Pritanoi skirmishers in campaign

    Now one final problem remains.
    The stupid engine delays too much to fire the javelins. Although they get ready to fire once enemies get in range most of the time enemies manage to engage in melee long before the javelin is fired.
    It is also a problem with kerns in Britania campaign but they have bigger range that's why they can fire before enemies are upon them.

    I'll try play a bit with the delay and raising a bit the max range (like 10m) so they fire at least 1 voley.

    I like what you guys have done with shorter range, I don't want to chnage it too much as it forces you to also flank with skirmishers and launch spears before melee. It's just that stupid MTW engine that delays firing too much
    Last edited by Not_a_Strategist_yet; 08-30-2014 at 07:28.

    Member thankful for this post:



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO