Results 1 to 7 of 7

Thread: Help me fix my Tsar Cannon

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Nuxes's Avatar Civis
    Join Date
    Mar 2009
    Location
    Arkansas
    Posts
    155

    Default Help me fix my Tsar Cannon

    Just for fun (and learning), I decided to make a Tsar cannon unit, but it keeps crashing whenever I load a custom battle. Here is the file:

    http://rapidshare.com/files/21837185...nnon.pack.html

    I used most of the stats from the Ottoman 64lb, but I created new projectiles and gun_type_to_projectiles entries (called tsar_cannon), and updated these columns in unit_stats_land. There's another column there called Artillery IDRef 1, does anyone know what table this links to?

    Oh, and here is the real Tsar Cannon:
    http://en.wikipedia.org/wiki/Tsar_Cannon


    System: i5 2500k, 8GB DDR3, 5870, Win7 Pro 64, 60GB SSD + 1TB SATA, X-Fi Pro Elite

  2. #2

    Default Re: Help me fix my Tsar Cannon

    Well the problem is, of course, the projectiles. I've been trying to figure out how to solve the exact same problem. I've been trying to make an elite flintlock rifle (not h-true I know) for a some elite line infantry, and through process of elimination its the projectile tables

    To the person who is using/used my TATW signature - who are you? You never left a name with the rep comment, and I'm really curious

  3. #3
    Nuxes's Avatar Civis
    Join Date
    Mar 2009
    Location
    Arkansas
    Posts
    155

    Default Re: Help me fix my Tsar Cannon

    Quote Originally Posted by LuckyNinja View Post
    Well the problem is, of course, the projectiles. I've been trying to figure out how to solve the exact same problem. I've been trying to make an elite flintlock rifle (not h-true I know) for a some elite line infantry, and through process of elimination its the projectile tables
    I've been able to make a new type of bow, and I think muskets work the same way. Here's the data for my English Longbowmen, based on the NA archers. I created a new projectile called Longbow, and then changed the two highlighted places in unit_stats_land

    projectiles

    Code:
    longbow    missile    arrow    arrow    True    projectile_arrow    False        True    alpha_shrapnel    none    1    False        low    160    0    88    40    0    0    0.75    False        False        False        0    0.1    8    0    True    low    0.1    0    bow    small    False        False        True    musket_ball
    unit_stats_land
    Code:
     english_longbowmen    80    0    0    euro_officer1    True    euro_drummer1    True    euro_standard_bearer    euro_militia_infantry    infantry_euro_light    man_archer    x_euro_cavalry_bow_sabre    2    leather    1    False        False        False        0    0    False        False        False        False        False    False        True    longbow    50    5    0    none    True    longbow    15    True    foot_bow    sabre    5    4    2    0    sabre    0    drill_set_infantry_light    trained    6    2    1.1    2    2.2    4    0    0    20    0    False    True    True    False    False    False    False    True    True    True    False    False    True    False    50    75    75    False    False    False    False    False    False    False    False    True    False    False    False    False    False
    Artillery works slightly differently, there is one more column that I don't know what it does.
    Last edited by Nuxes; April 07, 2009 at 10:08 AM.


    System: i5 2500k, 8GB DDR3, 5870, Win7 Pro 64, 60GB SSD + 1TB SATA, X-Fi Pro Elite

  4. #4

    Default Re: Help me fix my Tsar Cannon

    Artillery need column Gun_type on main.pack . But if you edit that column, game just crash .

  5. #5

    Default Re: Help me fix my Tsar Cannon

    Artillery units point to gun types and gun types point to projectiles.

  6. #6

    Default Re: Help me fix my Tsar Cannon

    Special gun_types, I tested old cannon ID with old/new gun_type_to_projectiles -> work very well. But when I tested new new cannon ID with old/new gun_type_to_projectiles -> no of them work.

  7. #7
    Nuxes's Avatar Civis
    Join Date
    Mar 2009
    Location
    Arkansas
    Posts
    155

    Default Re: Help me fix my Tsar Cannon

    So, it works if you modify an existing gun, but not if you create a new one?


    System: i5 2500k, 8GB DDR3, 5870, Win7 Pro 64, 60GB SSD + 1TB SATA, X-Fi Pro Elite

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •