Modding Ghiscari Legion Barracks availability

For specific technical issues and questions.

Modding Ghiscari Legion Barracks availability

PostPosted by NTFTH » Sat Apr 08, 2017 14:56

What would I have to do to make the Ghiscari Legionary Barracks available to a High Valyrian character holding the Kingdom of New Ghis or Ghiscari Empire (or if that's not possible just able to build it in a Ghiscari culture province) without getting rid of their ability to build War Elephant Pens in the same province?
NTFTH
 
Posts: 33
Joined: Sun Mar 20, 2016 17:59

Re: Modding Ghiscari Legion Barracks availability

PostPosted by SinStar87 » Sat Apr 08, 2017 15:00

Code: Select all
      potential = {
         FROM = {
            OR = {
               culture = ghiscari
               AND = {
                  culture = high_valyrian
                  has_landed_title = k_new_ghis
               }
               AND = {
                  culture = high_valyrian
                  has_landed_title = e_ghiscar
               }
            }
         }
      }
User avatar
SinStar87
 
Posts: 3106
Joined: Sat Feb 09, 2013 17:24

Re: Modding Ghiscari Legion Barracks availability

PostPosted by NTFTH » Sat Apr 08, 2017 16:03

Thanks for the help! :D
NTFTH
 
Posts: 33
Joined: Sun Mar 20, 2016 17:59

Re: Modding Ghiscari Legion Barracks availability

PostPosted by SinStar87 » Sat Apr 08, 2017 16:04

You're welcome. :)
User avatar
SinStar87
 
Posts: 3106
Joined: Sat Feb 09, 2013 17:24

Re: Modding Ghiscari Legion Barracks availability

PostPosted by KappaKid » Wed Apr 12, 2017 18:37

Wait, where would one make this edit? Seems like a cool change but I have no clue where to even insert this code :(
KappaKid
 
Posts: 68
Joined: Wed Mar 15, 2017 13:53

Re: Modding Ghiscari Legion Barracks availability

PostPosted by SinStar87 » Wed Apr 12, 2017 18:50

\mod\A Game of Thrones\common\buildings
Cities.txt
castles.txt
legionary_barracks
User avatar
SinStar87
 
Posts: 3106
Joined: Sat Feb 09, 2013 17:24

Re: Modding Ghiscari Legion Barracks availability

PostPosted by KappaKid » Wed Apr 12, 2017 20:48

The spacing seems a little off when I just copy and paste with notepad ++, is that fine?
KappaKid
 
Posts: 68
Joined: Wed Mar 15, 2017 13:53

Re: Modding Ghiscari Legion Barracks availability

PostPosted by SinStar87 » Wed Apr 12, 2017 21:14

should be, assuming the {}'s are all properly placed.
User avatar
SinStar87
 
Posts: 3106
Joined: Sat Feb 09, 2013 17:24


Return to Technical Discussion

Who is online

Users browsing this forum: No registered users and 0 guests