Cannon kick in scripts?

Discussion in 'Coding' started by Nickierv, Nov 29, 2009.

  1. Nickierv

    Nickierv Member

    Messages:
    510
    Likes Received:
    0
    Trophy Points:
    0
    Not sure if this is the right place, but is it possible to modify the amount of kick that cannons have with scripts? Specifically the BE heavy.
    If so, how?
     
  2. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
  3. Metal Smith

    Metal Smith Member

    Messages:
    4,520
    Likes Received:
    3
    Trophy Points:
    0
    Cannons don't kick. They shoot.

    on a related note, I believe it's hard coded.
     
  4. Nickierv

    Nickierv Member

    Messages:
    510
    Likes Received:
    0
    Trophy Points:
    0
    Hard code....
    anyway, got a work around thanks
     
  5. pickled_heretic

    pickled_heretic Member

    Messages:
    1,751
    Likes Received:
    0
    Trophy Points:
    0
    what? you better start talking. I've wanted to change the recoil on cannons in my scripts. Hard to make any sort of fast-firing cannon with the kick like it is.
     
  6. Nickierv

    Nickierv Member

    Messages:
    510
    Likes Received:
    0
    Trophy Points:
    0
    Cannons have too much kick and a messy flight path
    Arty cannons have no kick and a much better flight path

    Change the cannon type to artillery but use the cannon values for everything else. Move the arty cannons into the same research as the arty tank chassis. Give the tanks slots for the new arty cannons and you can get a gun with no kick. Only problem is that the colors and icons dont quite mesh.

    Just tested this and it seems to work for a be heavy with rail gun values using the arty type cannon
     
  7. ScardyBob

    ScardyBob Member

    Messages:
    3,457
    Likes Received:
    30
    Trophy Points:
    0
    lol! Superkludge alert!
     
  8. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    ohh noz
     
  9. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Yeh but that's not variable. That's either no recoil or full.

    Variable is needed.
     
  10. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    I can haz HE nuke arty railgun with no recoil?
     
  11. Demented

    Demented Member

    Messages:
    2,337
    Likes Received:
    0
    Trophy Points:
    0
    Yes.

    For 50,000 resources.

    But if you'll come with me I can get you a real good real for 30k...
     
  12. Nickierv

    Nickierv Member

    Messages:
    510
    Likes Received:
    0
    Trophy Points:
    0
    Your missing the point.
    ML has no recoil.
    CN has lots of recoil.
    After watching a few hours of tank combat, anything using MLs tries to keep its targets at range while cannons have to close in to be able to hit anything. So you can aim your first shot, second is almost always lost to the current system of "first shot is fired, recoil from fist shot is applied, second shot is fired from new spot and more recoil is applied"

    If we want any sort of balance, people have to accept that the last 3 versions, cannons are not equivalent to missiles. To get some sort of balance, we need to get support for script based recoil.

    I don't want to derail this any more but Im willing to talk about tank combat elsewhere.
     
  13. -=SIP=-

    -=SIP=- Member

    Messages:
    2,133
    Likes Received:
    0
    Trophy Points:
    0
    Nickierv please don't do this.

    It is much easier to hit a tank with cannons than with missiles, because cannons are much faster. With ranged cannon and rail gun you nearly hit every shot even when the enemy is moving. You just have to aim a little bit above the enemy.

    If you remove the recoil from cannons or add recoil to missiles, cannons will just be even stronger.
     
  14. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    that all depends on how you balance them

    for example it would be neat to give stuff like HE a big recoil, while giving std cn a small one
     

Share This Page