Results 1 to 14 of 14

Thread: How do I work the hidden_resource EDB system?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member TWFanatic's Avatar
    Join Date
    Aug 2007
    Location
    On the Forums
    Posts
    1,022

    Default Re: How do I work the hidden_resource EDB system?

    Thanks much. I should have used the search function but I sort of gave up on that a while back. I can never find what I want.

    I will use it to make sense of that nonsensical code.
    It would be a violation of my code as a gentleman to engage in a battle of wits with an unarmed person.-Veeblefester
    Ego is the anesthetic for the pain of stupidity.-me
    It is better to keep your mouth shut and be thought of as a fool than to open it and remove all doubt.-Sir Winston Churchill
    ΔΟΣ ΜΟΙ ΠΑ ΣΤΩ ΚΑΙ ΤΑΝ ΓΑΝ ΚΙΝΑΣΩ--Give me a place to stand and I will move the earth.-Archimedes on his work with levers
    Click here for my Phalanx/Aquilifer mod

  2. #2
    Member Member TWFanatic's Avatar
    Join Date
    Aug 2007
    Location
    On the Forums
    Posts
    1,022

    Default Re: How do I work the hidden_resource EDB system?

    After much searching I am back where I have started. Nothing I found explained how to find the proper combination of hidden_resources to make a unit recruitable in the provinces of my choice.

    However by logical deduction I came up with a theory on how I can accomplish this. Take Gawjam~Kimbrioz and Gawjam~Skandzawarjoz for instance, let us say that I wish to make a unit recruitable in those two settlements but nowhere else. I find the provinces in descr_regions and then find the relevent resources for the two provinces:

    NW, C, y1, n2, y4, y8

    and

    NW, D, y1, n2, n4, n8,

    respectively. Now I don't have a clue what this means, but when I take the two resources that the two have in common (y1 and n2) and give them both to my new unit as hidden_resources, then my unit will be recruitable only in those two provinces.

    It sounds worse than it did five minutes ago when I thought it up. There are probably other provinces with the same two resources come to think of it. Would someone mind explaining to me how this system works?
    It would be a violation of my code as a gentleman to engage in a battle of wits with an unarmed person.-Veeblefester
    Ego is the anesthetic for the pain of stupidity.-me
    It is better to keep your mouth shut and be thought of as a fool than to open it and remove all doubt.-Sir Winston Churchill
    ΔΟΣ ΜΟΙ ΠΑ ΣΤΩ ΚΑΙ ΤΑΝ ΓΑΝ ΚΙΝΑΣΩ--Give me a place to stand and I will move the earth.-Archimedes on his work with levers
    Click here for my Phalanx/Aquilifer mod

  3. #3

    Default Re: How do I work the hidden_resource EDB system?

    This is what you would need to do in order to do what you want in your example there. I'm using the Agema Hellenikon in my example, because the Agema Hellenikon are fucking epic.

    recruit "eastern infantry agema hellenikon" 0 requires factions { pontus, } and hidden_resource NW and hidden_resource C and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8

    recruit "eastern infantry agema hellenikon" 0 requires factions { pontus, } and hidden_resource NW and hidden_resource D and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8

    Insert those lines into the corrrect barrack entry*or entries* for a faction in the EDB and now the Saka could recruit Agema Hellenikon in Gawjam~Kimbrioz and Gawjam~Skandzawarjoz.
    I shouldn't have to live in a world where all the good points are horrible ones.

    Is he hurt? Everybody asks that. Nobody ever says, 'What a mess! I hope the doctor is not emotionally harmed by having to deal with it.'

  4. #4
    Member Member TWFanatic's Avatar
    Join Date
    Aug 2007
    Location
    On the Forums
    Posts
    1,022

    Default Re: How do I work the hidden_resource EDB system?

    Thank you kind sir,

    though I would very much appreciate if you could tell me how you found the proper combination of strange number-letter figures to reach "hidden_resource NW and hidden_resource C and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8" and "hidden_resource NW and hidden_resource D and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8."
    It would be a violation of my code as a gentleman to engage in a battle of wits with an unarmed person.-Veeblefester
    Ego is the anesthetic for the pain of stupidity.-me
    It is better to keep your mouth shut and be thought of as a fool than to open it and remove all doubt.-Sir Winston Churchill
    ΔΟΣ ΜΟΙ ΠΑ ΣΤΩ ΚΑΙ ΤΑΝ ΓΑΝ ΚΙΝΑΣΩ--Give me a place to stand and I will move the earth.-Archimedes on his work with levers
    Click here for my Phalanx/Aquilifer mod

  5. #5

    Default Re: How do I work the hidden_resource EDB system?

    though I would very much appreciate if you could tell me how you found the proper combination of strange number-letter figures to reach
    This is why I posted this table in my last post.

    You find province in the list (copy it to excel or other such software so its aligned properly ) and copy all columns from DIV to Red (without Red and Reg column ).
    This is unique set of hidden resources that defines province.

    For example Augila:
    Code:
    SW  A  y1  n2  y4  	y8
    Then you have to only transform it to RTW code:
    Code:
    recruit "celtic general neitos" 0 requires {} and hidden_resource SW and hidden_resource A and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource y8
    If units should be recruitable in 3 provinces it will have 3 separate lines in EDB.
    Last edited by LorDBulA; 08-20-2008 at 06:36.

  6. #6
    Member Member TWFanatic's Avatar
    Join Date
    Aug 2007
    Location
    On the Forums
    Posts
    1,022

    Default Re: How do I work the hidden_resource EDB system?

    That explains it...except for one tiny problem. The code for Augila from DIV to Red is
    Code:
    SW	A	13	y1	n2	y4	y8	47	121
    ...without the reg and red columns:

    Code:
    SW	A	13		n2	y4	y8	47
    This is quite different from the code you showed me. Also, why copy the code from DIV to Red if you are just going to delete Red anyways, why not just copy from DIV to 8?
    It would be a violation of my code as a gentleman to engage in a battle of wits with an unarmed person.-Veeblefester
    Ego is the anesthetic for the pain of stupidity.-me
    It is better to keep your mouth shut and be thought of as a fool than to open it and remove all doubt.-Sir Winston Churchill
    ΔΟΣ ΜΟΙ ΠΑ ΣΤΩ ΚΑΙ ΤΑΝ ΓΑΝ ΚΙΝΑΣΩ--Give me a place to stand and I will move the earth.-Archimedes on his work with levers
    Click here for my Phalanx/Aquilifer mod

  7. #7

    Default Re: How do I work the hidden_resource EDB system?

    That explains it...except for one tiny problem. The code for Augila from DIV to Red is
    Code:

    SW A 13 y1 n2 y4 y8 47 121

    ...without the reg and red columns:

    Code:

    SW A 13 n2 y4 y8 47
    No Reg is 6th column. Check again.

    Also, why copy the code from DIV to Red if you are just going to delete Red anyways, why not just copy from DIV to 8?
    Saying copy from DIV to Red excluding Red and saying Copy from DIV to 8 including 8 is the same.
    I really don't see what is the problem.

    Just to make everything clear, combination of this columns uniquely identifies region:
    Div,Sect,1,2,4,8

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO