Daniel Amieiro -> RE: Making a NEW EDITOR RESOURCE facility (5/3/2015 12:23:50 PM)
|
Well, i have ending a preliminary .ged Analisys. I have to work on on .tpj. List of conclusions i have noted and some questions. The .ged archive contains information about countries, provinces, areas and units. It has a big zone that i cannot understand between offset 4598544 and 8336784 The data in big terms is: About countries: It has space to save 100 countries (impossible no more, used 79). Each country has a lot of data. There is mainly 3 types: minor, major (playable) and kingdoms. It seems posible to make new kingdoms, but i haven't tried (i will try with two sicilies or big sweden, then go for italy)... there is only 21 empty slots. Most relevant info of a country found in data: - area of capital, - starting PS, MP, VP needed, units..., -> Morale is in .tpj -> MARSHALL it would be amazing it would be here or per unit the morale ;) - country builds/limitations (if can build guard and how commits, and what can use in levy: feudals, freikorps, guerrillas, cossacks, insurrection, can pay tribute...) Yeah russia could build feudals attending to data if not hardcoded... - components of a kingdom, who can build it, minimun provinces needed (as flags).., country bonus (if a major owns a minor, its morales bonus..). I do not know how engine would handle a new kingdom in data. I wonder i can add a kingdom and engine could do it ;). - In study: Seems to have a list of "home areas" where you can have forage bonus or things like that Provinces: - There is data for 145 Provinces. - Each province data can be changed: money, manpower, guerrilla factor and Area of capital. And More interesting, at which country owns and at which country controls ;) So seems posible to tweak province values to creat multi-district countries (like Sweden and finland or norway and denmark). And it seems possible to create guerrillas on more zones (perhaps ireland and/or Portugal?). Units: - There is room for 550 (326 used) units and data for 300 "unit type" -> with their pics. - The data for each unit includes max size of factor type (guards, infantry, cavalry...), SR, TR, movement if marine or terrestrial unit.. - For leaders, can be changed SR, TR, TMR, seniority and if a cav leader and if a "major leader" (napo and nelson) - The units had its starting date, i have not found the final date. - The morale of the units are in .tpj and is in a country basis (a country has a base moral for their units with a bonus if a major controls this country ->Like ottoman empire controlled by turkey) Areas: - It has room for 800 map areas. Data i have decipher is their data code, name of area, type of area and movement costs. It hardcodes to map to show. - Each area info has its own "city" info. It can be changed for a city if it's a harbor or nor, their size, their fort bonus and their trade values and canions if a port. And with this preliminary analisis on .ged Editor, my questions to Marshall that i think i cannot solve tweaking data (would need coding): 1.- Could be a "disband" date for a unit implemented?. If it is yes, i think the space for Units (and perhaps pic units)should be increased for the units that replace old ones. And it would need coding in the "transform unit" -> A new unit should inherit an old one to avoid weird data and/or differente factors will be used in reinforcements (in other words, the old one should point to the new one when it dissapears if apropiate (generals shouldn't, but regular infantry that increase size, yes, the problem if the unit shrinks or dissapears-> infantry lost or to reinforce next phase) ;) If this is ok, it would have the basis to create the 1792 campaing. 2.- Is there any way to implement "dominant" status for a country?. Is it coded?. I think a country can have three status (playable or not): Minor, major, dominant (infantry bonus). But it would need coding. 3.- Not sure about how to create a new kingdom in coding is used. Actually "create a kingdom" would draw all provinces avaible for it (like poland). Perhaps it would be better that a major power should choose to include/exclude provinces at will if minimal requeriments are chosen (example: create poland with 2-3 provinces, for example)and a kingdom could be "reconfigured" in economic phase (moving a kingdom province to conquest status). Other options (i have to test the "kingdom data" if i could add one) would be having two construction kingdoms (for example duchy of varsaw if 2-3 provinces, or Greater Poland if 4 or more provinces with more units ;) ). I have to crush my mind in testing with "new" kingdoms and see if that works or if there is a hardcode limitation. 4.- Could be possible that a "regular" corp avaiability (not a levy one) were tied to control some province (i have not tested it). It would help (again) to multidistrict countries... (Example if bigger sweden has finland, that a "finland corp" were avaiable if that province owned -> Perhaps works actually) Note: Many of the above things still needs testing on game.
|
|
|
|