Combat continuous after commander be destroyed option PLEASE UBER

Discussion in 'Planetary Annihilation General Discussion' started by netolins, June 22, 2015.

?

Do you want PA have a option to continue the game after commander be destroyed ?

  1. Yes

    68.0%
  2. No

    32.0%
  1. netolins

    netolins New Member

    Messages:
    10
    Likes Received:
    0
    Hi Uber
    Combat continuous after commander be destroyed option PLEASE UBER OPTION
    and a map all visible to if possible
    I'm a Beta tester and I ask it a lot of times but for some reason that I don't know you guys never made it, can you guys explain me why , or if going to happen some day ?

    I enjoy everything in PA and there's nothing I can say bad about it you guys just made it aewsome.
  2. cdrkf

    cdrkf Post Master General

    Messages:
    5,721
    Likes Received:
    4,793
    I think someone did this as a mod already.... under the name "death has no dominion" or something (have a look on PAMM, I could be wrong...)
  3. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    That mod only effected the old galactic war, it basically offered what "not hardcore mode" is now.

    To change the win condition of "commanders are dead" the server script would need to be modified. It's an easy modification to get rid of all game end conditions (let the game never end at all), however modding the server scripts is not possible without setting up a custom server which isn't really supported and a pain to maintain.
    I really wish this would change. A few little enhancements and extra APIs in this area could do soooo much for gameplay scripting via mods.
  4. bengeocth

    bengeocth Post Master General

    Messages:
    1,285
    Likes Received:
    657
    What, you want it to be like in TA, where you have to destroy everything- even that last dumb freedom fighter patrolling over where their base was? Or do you want it to be like other RTSes, all buildings?

    If this was a thing, my policy would be all completed factories destroyed, plus the commander, would constitute a loss.
  5. elodea

    elodea Post Master General

    Messages:
    1,694
    Likes Received:
    3,040
    You could add "UNITTYPE_Commander" to every unit json.

    lol.
    cdrkf likes this.
  6. cdrkf

    cdrkf Post Master General

    Messages:
    5,721
    Likes Received:
    4,793
    Nah just add it to boom bots :D
  7. andrehsu

    andrehsu Active Member

    Messages:
    366
    Likes Received:
    120
    Do unit go up in a nuke if they have UNITTYPE_Commander
  8. elodea

    elodea Post Master General

    Messages:
    1,694
    Likes Received:
    3,040
    no

    You will just get "commander under attack", and "commander destroyed" audio queues constantly being spammed xD
    Remy561 likes this.
  9. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    that very likely won't work. The current game script works like this:

    1.) use server side javascript to spawn the commanders at start. Keep a reference to the commanders
    2.) Check every second or so "is the commander still alive?". If not defeat the whole army.

    You could easily spawn any other unit as "commander", the unittype afaik has nothing to do with it.
    stuart98 likes this.
  10. elodea

    elodea Post Master General

    Messages:
    1,694
    Likes Received:
    3,040
    Oh has it been changed? From testing many builds ago you could do this
  11. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    It worked? I never tried to change the Unittypes, but I did play around with changes to the gameplay script server side month ago. At least from looking at the code I would say the unittype has nothing too do with it. But I didn't test it.
  12. elodea

    elodea Post Master General

    Messages:
    1,694
    Likes Received:
    3,040
    yea, I had it on multiple different units separate from the spawning commander unit, and the game only ended when all those units also died too. Maybe it has changed now though.

Share This Page