Building Upgrades

Discussion in 'Coding' started by Lightning, Aug 24, 2016.

  1. Lightning

    Lightning Member

    Messages:
    147
    Likes Received:
    23
    Trophy Points:
    0
    I have managed to script in re-searchable building upgrades.

    Notes:
    This does not effect existing placed buildings, new ones must be placed for the buff to take affect

    Existing Armory


    [​IMG]

    Upgraded Armory
    [​IMG]

    script additon into buildings.txt below

    ImpArmory_lvl2
    {
    "name" Armory
    "team" "IMP"
    "building level" 2

    "Research" "Upgraded Armory"
    "max health" 200
    "starting health" 50
    }

    This is based off of the upgraded walls provided in 2.9, but are not yet researchable
     
  2. Ranger

    Ranger Member

    Messages:
    706
    Likes Received:
    67
    Trophy Points:
    0
    Perhaps it would be better if such researches were re searchable from the building itself. The only reason to do that is that building upgrades would probably confuse things for people in the research tree. Plus maybe if the upgrade comes from the building itself it gets upgraded immediately?
     
  3. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    well, aren't turrets already upgradeable with effect on all existing ones - regardless if build or not and even keeping its current health value?

    at least upgradeable heighter walls would be great or maybe even a new kind of wall that features a ladder and some cover
    the purpose for other buildings need to be discussted, also propable bug sources - what happens if a player is inside an upgrading building, can he get stuck trough the process of replacing?
     
  4. Lightning

    Lightning Member

    Messages:
    147
    Likes Received:
    23
    Trophy Points:
    0
    if i knew how to make it swap the buildings out it would do it. upgradeable walls are already in the game, if you read the whole post. people dont get stuck in turrets when they're upgraded, why would any other building matter? the building hitbox doesn't change.
     
  5. Lightning

    Lightning Member

    Messages:
    147
    Likes Received:
    23
    Trophy Points:
    0
    this would require code support, so yeah. also people get confused by a "upgraded buildings" tab which i think should be in mech tree, then they shouldn't be commanding seeing its one more tab.
     
  6. Thexa4

    Thexa4 Developer Staff Member Moderator

    Messages:
    304
    Likes Received:
    98
    Trophy Points:
    0
    Buildings should upgrade instantly if the research specifies that a building level changes. It should work with the provided walls as well if you make a research for it.

    If it doesn't it is a bug, in that case, can you provide the minimum amount of changes to the game that trigger it?
     
  7. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    that was meant as a hint to investigate how turret upgrades work ;-)

    well, idk that - thats why i ask!
     
  8. Ranger

    Ranger Member

    Messages:
    706
    Likes Received:
    67
    Trophy Points:
    0
    But if there were Bio type building upgrades would you still put in mech? With upgrades you could even have the ability to enable turrets on buildings, in this case shouldn't that be in electrical engineering? etc
     
  9. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    maybe small infantry radar/camera for barracks to prevent spawncamping
    1 ceiling/wall mounted lvl1 missile turret in vf to decreace the effectivness of "parked" enemy apc's
    1 ceiling mounted lvl1 mg in armory for some AI fire support or 50% more health for it
    a sec com seat at radar for larger matches
    infantry ammo crate at repair pad/station
     
  10. Ranger

    Ranger Member

    Messages:
    706
    Likes Received:
    67
    Trophy Points:
    0
    I enjoyed when we could place turrets to buildings because it add more variety to things so I hope I can have it as a balanced feature.
     
  11. Lightning

    Lightning Member

    Messages:
    147
    Likes Received:
    23
    Trophy Points:
    0
    would have to be coded in and you can put a camera next to a rax already?
    would have to be coded in and you can place turrets outside VF already
    would have to be coded in and i already doubled the armourys health in the example i made
    would have to be coded in and would cause purposefully trolling
    would have to be coded in and i planned to ask for this to be possible. so theres that.
     
  12. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    well, everything related building upgrades has to be coded in in the first place! xD
    and you can't place turrets and cam's INSIDE buildings! - also they are supposed to be part of it then (just like the vehicle radar of the radar building)

    doubling armory health seems a bit much, but yea i take the idea from you - because armory is worthless in endgame, just because it pops away faster than you can repair it xP
    as i earlyer described in my suggestion thread, its meant to relieve the commander a bit at the tactical part and give both new tactical abilitys in conjunction

    well, not that much - and if i remember correctly ppl complained NF enemy's fortressing on BE barracks - so yea, happy that it got cut again! - but was quite interesting tough^^
     
    Last edited by a moderator: Aug 24, 2016
  13. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    Upgrade armories to defense towers plez. :)

    [​IMG]
     
  14. Sgt.Security

    Sgt.Security Member

    Messages:
    3,137
    Likes Received:
    140
    Trophy Points:
    0
    C&C renegade? Miss that game.
     
  15. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    well, theres a fanmade standalone remake out!^^
    "Renegade X"
     
  16. A-z-K

    A-z-K Member

    Messages:
    3,241
    Likes Received:
    215
    Trophy Points:
    0
    yeah its goodfun, we should all play it one day.
     
  17. Lightning

    Lightning Member

    Messages:
    147
    Likes Received:
    23
    Trophy Points:
    0
    renegade x ia good fun. Played it on release back then and i enjoyed it.

    I wanted to add a guard tower of sorts as a buildable for the commander. And have the commander be able to place a sturdier and larger wall variant
     

Share This Page