[request] missing data

Discussion in 'Coding' started by BlackRedDead, Aug 26, 2016.

  1. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    can't find:
    - rpg guidance definition
    - skill values (as the file search above shows)
    - infantry definitions (found "infantry_resists.txt" - but there are no else values like health and speed)
     
  2. Lazybum

    Lazybum :D Staff Member Moderator

    Messages:
    4,827
    Likes Received:
    190
    Trophy Points:
    0
    None of those values are in scripts, it's all coded in the engine.
     
  3. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    the guidance okay, could be - because it's already coded and just reused in the mod

    but skill and whole infantry definion is custom code!

    but even if, why i can't find anything? - not even compiled files, just a very chaotic file structure :P
     
  4. Lightning

    Lightning Member

    Messages:
    147
    Likes Received:
    23
    Trophy Points:
    0
    somethings wrong in your skills.txt, if you post it i can fix it for you no problem
     
  5. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
  6. Lazybum

    Lazybum :D Staff Member Moderator

    Messages:
    4,827
    Likes Received:
    190
    Trophy Points:
    0
    Yeah that list isn't from empires. BRD those values for skills and health aren't anywhere a player could access and modify. It's somewhere in empire's code, or is that the question? Where are these values in empires code?
     
  7. Thexa4

    Thexa4 Developer Staff Member Moderator

    Messages:
    304
    Likes Received:
    98
    Trophy Points:
    0
    They are bitflags: 1, 2, 4, 8, 16, ... etc so they can be combined and sent to the client.
    The skills can't be changed through the scripts, only disabled.

    Classes are also hardcoded, they can't be added, only disabled.
     
  8. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    and how you created those skills and the whole perk/skill system then? O.o
    (and especially balance values)

    for the classes - how you made riflemen with 130hp?

    if it's compiled program code is there a chance to get access to the source files?
    (while i don't see/know a reason why that should be compiled and all the other stuff not!? - i mean vehicle definitions are clearly open)
     
  9. Thexa4

    Thexa4 Developer Staff Member Moderator

    Messages:
    304
    Likes Received:
    98
    Trophy Points:
    0
    It's all done in c++ code.

    We are not planning on releasing the source code. The reason not everything is scriptable is because that would make the c++ an order of magnitude more complex.
     
  10. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    so if i understand you correctly all those .txt files are especially made some values open for easyer edit/balancing?
    and aren't necessary and could be changed in the c++ source?

    that would explain why theire existence do not much sense to me - or better said why theres so much missing i need to know xP
     
  11. Thexa4

    Thexa4 Developer Staff Member Moderator

    Messages:
    304
    Likes Received:
    98
    Trophy Points:
    0
    Yes, they are used to make some values easier to balance. That does not mean that you can run the game without them, they certainly are necessary.
     
  12. BlackRedDead

    BlackRedDead Member

    Messages:
    268
    Likes Received:
    6
    Trophy Points:
    0
    well, when they are outsourced from c++ code thats selfexplainatory that they aren't twice in the game! xD
     
  13. Thexa4

    Thexa4 Developer Staff Member Moderator

    Messages:
    304
    Likes Received:
    98
    Trophy Points:
    0
    I don't really understand what you mean.
     

Share This Page