Results 1 to 6 of 6

Thread: some really wierd error

  1. #1

    Default some really wierd error

    I keep getting this error message:

    Script error in my_mod/data/export_unit_descr.txt, at line 3038, column 34.

    carthaginian onager missile range of 300 is impossible with its current projectile (boulder, max range 293)

    I suddenly got this. I never touched any projectile or boulder info, I didn't touch any siege weaponry and then suddenly this keeps on coming up and forces CTD. At first it was barb dacian onager, and then when i changed the range from 300 to 290 it then came up with an error for barb scythian onager, and then when i changed that too, now it's the cartahginian onager! do you know why?

  2. #2

    Default Re: some really wierd error

    It means that with the given angles and velocity set for that siege machine projectiles (code lies in descr_projectile_new.txt) the range you have given is impossible. Either reduce the range values or go to the projectiles file and increase the velocity of the projectile used by these onagers. I suspect a slight increase will do. If you do the latter, also change the velocity of the fiery_boulder projectile.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  3. #3

    Default Re: some really wierd error

    but do you know why this came up even though I didn't add or remove or edit any values or such in the projectiles?

  4. #4

    Default Re: some really wierd error

    There is a formula that calculates the max range of every projectile. That formula is based on values that lie in the projectiles-file and produces a result that lies in the EDU. If you change the EDU and give range a value that is greater than the maximum allowed, then you'll get a message. In order not to get that message you'll have to adjust the projectiles-file according to the chnages you did in the EDU. It is exactly because you didn't re-adjust the values in there that you got that eror message.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  5. #5

    Default Re: some really wierd error

    would this be because I tried to add a cavalry archer unit whos range was 110 but tried to raise it to 180? that's the only thing I did before that error started coming up

  6. #6
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: some really wierd error

    you changed projectile speed, thats the only explanation as onagers in vanilla have a range of 300 and to get below it you need to decrease the velocity of the projectile, only way to get that error ...
    (check the time-stamp on the file ...)


    G

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