Askgard 0 Posted October 29, 2014 Share Posted October 29, 2014 How to make in client just 1 kingdom, or 4, plz help... Link to comment Share on other sites More sharing options...
Risan 115 Posted October 29, 2014 Share Posted October 29, 2014 change c++ and python, thats all ^^..... Link to comment Share on other sites More sharing options...
Askgard 0 Posted October 29, 2014 Author Share Posted October 29, 2014 i dont know python , just c++ but i dont know how to modify. you can help me? Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted October 29, 2014 Premium Share Posted October 29, 2014 Search definition for empire, an add/delete some more. It's like a 5th race, use ymir works about kingdom xD Link to comment Share on other sites More sharing options...
Askgard 0 Posted October 29, 2014 Author Share Posted October 29, 2014 i do not understand. Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted October 29, 2014 Premium Share Posted October 29, 2014 in c++ & python, you already have the definitions of empire, the functions etc... Link to comment Share on other sites More sharing options...
HellBoy 200 Posted October 29, 2014 Share Posted October 29, 2014 Well imma do it for you how to make 1 kingdom for this dont need sv side just client since they wont be able to create more: first in " introempire.py seek for this EMPIRE_DESCRIPTION_TEXT_FILE_NAME = { net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A, net.EMPIRE_B : uiScriptLocale.EMPIREDESC_B, net.EMPIRE_C : uiScriptLocale.EMPIREDESC_C, } and remove the lines and keep the kingdom you want i will pick A [ RED ] EMPIRE_DESCRIPTION_TEXT_FILE_NAME = { net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A, } then seek for self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } and replace with this self.empireAreaCurAlpha = { net.EMPIRE_A:0.0 } self.empireAreaDestAlpha = { net.EMPIRE_A:0.0 } self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0 } self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0 } self.empireFlagCurAlpha = { net.EMPIRE_A:0.0 } self.empireFlagDestAlpha = { net.EMPIRE_A:0.0 } then seek for this self.empireArea[net.EMPIRE_A] = GetObject("EmpireArea_A") self.empireArea[net.EMPIRE_B] = GetObject("EmpireArea_B") self.empireArea[net.EMPIRE_C] = GetObject("EmpireArea_C") self.empireAreaFlag[net.EMPIRE_A] = GetObject("EmpireAreaFlag_A") self.empireAreaFlag[net.EMPIRE_B] = GetObject("EmpireAreaFlag_B") self.empireAreaFlag[net.EMPIRE_C] = GetObject("EmpireAreaFlag_C") self.empireFlag[net.EMPIRE_A] = GetObject("EmpireFlag_A") self.empireFlag[net.EMPIRE_B] = GetObject("EmpireFlag_B") self.empireFlag[net.EMPIRE_C] = GetObject("EmpireFlag_C") replace with this self.empireArea[net.EMPIRE_A] = GetObject("EmpireArea_A") self.empireAreaFlag[net.EMPIRE_A] = GetObject("EmpireAreaFlag_A") self.empireFlag[net.EMPIRE_A] = GetObject("EmpireFlag_A") then seek for this def ClickLeftButton(self): self.empireID-=1 if self.empireID<1: self.empireID=3 self.OnSelectEmpire(self.empireID) def ClickRightButton(self): self.empireID+=1 if self.empireID>3: self.empireID=1 replace with this def ClickLeftButton(self): self.empireID-=1 if self.empireID<1: self.empireID=1 self.OnSelectEmpire(self.empireID) def ClickRightButton(self): self.empireID+=1 if self.empireID>1: self.empireID=1 then seek for this self.empireID=app.GetRandom(1, 3) and replace with this self.empireID=app.GetRandom(1, 1) that was with root now we goo to uiscript at " selectempirewindow.py " and we seek for this ## Empire Flag { "name" : "EmpireFlag_A", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub" }, { "name" : "EmpireFlag_B", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub" }, { "name" : "EmpireFlag_C", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub" }, and we remove last 2 kingdoms should look this ## Empire Flag { "name" : "EmpireFlag_A", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub" }, watch it with the " } " or you will end up f****** it xD This will alow players to pick one of the kingdoms the one you want so there is no need of any sv side modifications! Hope will work xD i have 2 Kingdoms and work like a charm! 6 Link to comment Share on other sites More sharing options...
Askgard 0 Posted October 30, 2014 Author Share Posted October 30, 2014 Thx i give you 100 thanks :X , work, cand say who to edit design of kingdom? or to make autoselect blue kingdom (this i keep) without select empire window? Link to comment Share on other sites More sharing options...
HellBoy 200 Posted October 31, 2014 Share Posted October 31, 2014 In Uiscript pack selectempirewindow.py you have the lines and the possition of the buttons and images and their addres so if you wish to change those use a bit your imagination and modify them or use photoshop to build another interface and modify your selectempirewindow.py with that just need a bit of imagination and some basic phyton skills oh and dont quit at first error xD 1 Link to comment Share on other sites More sharing options...
Solution Askgard 0 Posted October 31, 2014 Author Solution Share Posted October 31, 2014 Aha, oke thanx , Solved Link to comment Share on other sites More sharing options...
bluedrago 28 Posted December 12, 2016 Share Posted December 12, 2016 one error found example if you like delete red empire after this guide if red kingdom is ramdom you can choose this kingdom Link to comment Share on other sites More sharing options...
inamata001 0 Posted December 15, 2016 Share Posted December 15, 2016 i have only 1 kingdom, how can i make 2? i add the line what is need in files from up answer, and when i press click on create caracter, my game self-exit Link to comment Share on other sites More sharing options...
127.0.0.1 34 Posted December 15, 2016 Share Posted December 15, 2016 16 minutes ago, inamata001 said: i have only 1 kingdom, how can i make 2? i add the line what is need in files from up answer, and when i press click on create caracter, my game self-exit Tell me you're joking. On 30.10.2014 at 1:24 AM, HellBoy said: Well imma do it for you how to make 1 kingdom for this dont need sv side just client since they wont be able to create more: first in " introempire.py seek for this EMPIRE_DESCRIPTION_TEXT_FILE_NAME = { net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A, net.EMPIRE_B : uiScriptLocale.EMPIREDESC_B, net.EMPIRE_C : uiScriptLocale.EMPIREDESC_C, } and remove the lines and keep the kingdom you want i will pick A [ RED ] EMPIRE_DESCRIPTION_TEXT_FILE_NAME = { net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A, } then seek for self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } and replace with this self.empireAreaCurAlpha = { net.EMPIRE_A:0.0 } self.empireAreaDestAlpha = { net.EMPIRE_A:0.0 } self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0 } self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0 } self.empireFlagCurAlpha = { net.EMPIRE_A:0.0 } self.empireFlagDestAlpha = { net.EMPIRE_A:0.0 } then seek for this self.empireArea[net.EMPIRE_A] = GetObject("EmpireArea_A") self.empireArea[net.EMPIRE_B] = GetObject("EmpireArea_B") self.empireArea[net.EMPIRE_C] = GetObject("EmpireArea_C") self.empireAreaFlag[net.EMPIRE_A] = GetObject("EmpireAreaFlag_A") self.empireAreaFlag[net.EMPIRE_B] = GetObject("EmpireAreaFlag_B") self.empireAreaFlag[net.EMPIRE_C] = GetObject("EmpireAreaFlag_C") self.empireFlag[net.EMPIRE_A] = GetObject("EmpireFlag_A") self.empireFlag[net.EMPIRE_B] = GetObject("EmpireFlag_B") self.empireFlag[net.EMPIRE_C] = GetObject("EmpireFlag_C") replace with this self.empireArea[net.EMPIRE_A] = GetObject("EmpireArea_A") self.empireAreaFlag[net.EMPIRE_A] = GetObject("EmpireAreaFlag_A") self.empireFlag[net.EMPIRE_A] = GetObject("EmpireFlag_A") then seek for this def ClickLeftButton(self): self.empireID-=1 if self.empireID<1: self.empireID=3 self.OnSelectEmpire(self.empireID) def ClickRightButton(self): self.empireID+=1 if self.empireID>3: self.empireID=1 replace with this def ClickLeftButton(self): self.empireID-=1 if self.empireID<1: self.empireID=1 self.OnSelectEmpire(self.empireID) def ClickRightButton(self): self.empireID+=1 if self.empireID>1: self.empireID=1 then seek for this self.empireID=app.GetRandom(1, 3) and replace with this self.empireID=app.GetRandom(1, 1) that was with root now we goo to uiscript at " selectempirewindow.py " and we seek for this ## Empire Flag { "name" : "EmpireFlag_A", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub" }, { "name" : "EmpireFlag_B", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub" }, { "name" : "EmpireFlag_C", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub" }, and we remove last 2 kingdoms should look this ## Empire Flag { "name" : "EmpireFlag_A", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub" }, watch it with the " } " or you will end up f****** it xD This will alow players to pick one of the kingdoms the one you want so there is no need of any sv side modifications! Hope will work xD i have 2 Kingdoms and work like a charm! Link to comment Share on other sites More sharing options...
inamata001 0 Posted December 15, 2016 Share Posted December 15, 2016 32 minutes ago, 127.0.0.1 said: Tell me you're joking. Why i joking? I have serverfile and client with 1 kingdom and i try reversing this process for adding another kingdom. But is something what i don't make good. Maybe other file where i need modify Link to comment Share on other sites More sharing options...
Hesher 3 Posted December 15, 2016 Share Posted December 15, 2016 Just now, inamata001 said: Why i joking? I have serverfile and client with 1 kingdom and i try reversing this process for adding another kingdom. But is something what i don't make good. Maybe other file where i need modify On 30.10.2014 at 1:24 AM, HellBoy said: Well imma do it for you how to make 1 kingdom for this dont need sv side just client since they wont be able to create more: first in " introempire.py seek for this EMPIRE_DESCRIPTION_TEXT_FILE_NAME = { net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A, net.EMPIRE_B : uiScriptLocale.EMPIREDESC_B, net.EMPIRE_C : uiScriptLocale.EMPIREDESC_C, } and remove the lines and keep the kingdom you want i will pick A [ RED ] EMPIRE_DESCRIPTION_TEXT_FILE_NAME = { net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A, } then seek for self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } and replace with this self.empireAreaCurAlpha = { net.EMPIRE_A:0.0 } self.empireAreaDestAlpha = { net.EMPIRE_A:0.0 } self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0 } self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0 } self.empireFlagCurAlpha = { net.EMPIRE_A:0.0 } self.empireFlagDestAlpha = { net.EMPIRE_A:0.0 } then seek for this self.empireArea[net.EMPIRE_A] = GetObject("EmpireArea_A") self.empireArea[net.EMPIRE_B] = GetObject("EmpireArea_B") self.empireArea[net.EMPIRE_C] = GetObject("EmpireArea_C") self.empireAreaFlag[net.EMPIRE_A] = GetObject("EmpireAreaFlag_A") self.empireAreaFlag[net.EMPIRE_B] = GetObject("EmpireAreaFlag_B") self.empireAreaFlag[net.EMPIRE_C] = GetObject("EmpireAreaFlag_C") self.empireFlag[net.EMPIRE_A] = GetObject("EmpireFlag_A") self.empireFlag[net.EMPIRE_B] = GetObject("EmpireFlag_B") self.empireFlag[net.EMPIRE_C] = GetObject("EmpireFlag_C") replace with this self.empireArea[net.EMPIRE_A] = GetObject("EmpireArea_A") self.empireAreaFlag[net.EMPIRE_A] = GetObject("EmpireAreaFlag_A") self.empireFlag[net.EMPIRE_A] = GetObject("EmpireFlag_A") then seek for this def ClickLeftButton(self): self.empireID-=1 if self.empireID<1: self.empireID=3 self.OnSelectEmpire(self.empireID) def ClickRightButton(self): self.empireID+=1 if self.empireID>3: self.empireID=1 replace with this def ClickLeftButton(self): self.empireID-=1 if self.empireID<1: self.empireID=1 self.OnSelectEmpire(self.empireID) def ClickRightButton(self): self.empireID+=1 if self.empireID>1: self.empireID=1 then seek for this self.empireID=app.GetRandom(1, 3) and replace with this self.empireID=app.GetRandom(1, 1) that was with root now we goo to uiscript at " selectempirewindow.py " and we seek for this ## Empire Flag { "name" : "EmpireFlag_A", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub" }, { "name" : "EmpireFlag_B", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub" }, { "name" : "EmpireFlag_C", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub" }, and we remove last 2 kingdoms should look this ## Empire Flag { "name" : "EmpireFlag_A", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub" }, watch it with the " } " or you will end up f****** it xD This will alow players to pick one of the kingdoms the one you want so there is no need of any sv side modifications! Hope will work xD i have 2 Kingdoms and work like a charm! Look at this ...you must add not remove. Link to comment Share on other sites More sharing options...
inamata001 0 Posted December 15, 2016 Share Posted December 15, 2016 Just now, Hesher said: Look at this ...you must add not remove. I know that but i can't find for add Link to comment Share on other sites More sharing options...
Hesher 3 Posted December 15, 2016 Share Posted December 15, 2016 Just now, inamata001 said: I know that but i can't find for add Are you fucking seriously? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now