Hello guys,so as the Koei US board is down for some unknown reason, kiko94 has suggested that I should compile any new info I and others have found which is not yet in Zetta's guide in one thread, so that it's much easier to access this info. I found it to be a good idea, so I'll get things started here. I'll use this post here for links to posts which contain info on hex editing. This should make it easier to get the specific info you want and keep it clearer.I'll start in my next post with officer editing, forces and basically everything regarding scenario files.

DeathThis byte codes how the officer died. Choices are 00 for natural and 01 for unnatural. Officers who died an unnatural death will live around 10 years past their year of death.

ClanThis here codes the officer's clan. It's usually the officer's own number, but if there are more family members, it's usually the oldest or most famous person in the clan who is chosen here. For example, if you put 57 01 here, your officer will belong to Cao Cao's clan. Things the clan bytes affect:- If one of the clan members is a ruler, the officer will join him when he comes to age- Marriage and Oaths between clan members are impossible- Officers will assist each other in battle- Special quotes during duels etc.

GenerationThis codes an officer's generation. It's probably used for special quotes and officers' addresses. Cao Cao has 01 here, Cao Pi for example has 02 and Cao Rui 03.

DependenceThese bytes codes what I call "Dependence". If you insert an officer's number here, your officer will join the force the other officer serves when he comes to age. These bytes are used rarely, in fact Ma Dai seems to be the only one to use it. He has Ma Teng here, so he'll join the force Ma Teng serves as if he was one of his sons.(It's a good way to make all of those Xiahous automatically join Cao Cao's force in the early scenarios.)

AspirationZetta already mentions the Aspiration code in his guide and gives a few examples of what bytes to use in order to get specific aspirations. But there's more to it than that.

02000202 ## ## ## ## 0300

That's the code. The ## bytes are unused and code the character's voice and such, as seen in the guide.

Favourite Debate topicThis byte codes the officer's favourite debate topic. It might make cards of this topic stronger, give more of those cards, give better cards, or whatever. I don't really know what it is for at the moment.00 = Fact01 = Logic02 = Time

VirtueThis byte codes the officer's virtue. The higher the virtue, the less frequent loyalty drops will be and the officer will less likely betray his ruler. It might affect how much loyalty is gained via the Reward command and perhaps even the success rate of challenging the officer to a duel.00 = Very Low01 = Low02 = Normal03 = High04 = Very High

AmbitionThis codes the officer's ambition. Officers with high ambition will gain less loyalty when rewarding them, loyalty drops might be more frequent (?) and the officer will more likely create his own force when sitting in a free city. Values are the same as Virtue.

Rank SelectionThis byte codes how the AI ruler will appoint officers.00 = Stat (Officers with best stats get the best ranks)01 = Results (I think those who destroy the most units or do well in battle will be promoted)02 = Deeds (Officers with highest deeds get the better ranks)03 = Virtue (Officers with high (?) virtue get high ranks)04 = Special (I guess the ruler will more likely appoint family members/liked officers to higher ranks and might not give disliked officers any ranks)

Strategic TendencyThat's important for AI rulers and viceroys. It basically codes their aggressiveness to some extend and what they aim for first.00 = Unify China01 = Unify Region/Area (will be explained in the force code part later)02 = Unify Province (see Birthplace byte)03 = Unchange (basically sit around and do nothing or expand very slowly)

Local AffiliationI think this codes what happens if the force the officer serves gets destroyed. Some officers return to their birthplaces, others can be found at the other edge of the map.00 = Important01 = Normal02 = IgnoreNeed confirmation on this one though.

ModelZetta did a small mistake here when he last edited the guide. The order of the model parts is the following:Stance - Headwear - Face - Body - Cape - Arms - Boots - Arrows - ?? - ?? - Weapon - Horse

See this thread for the codes. Zetta's guide has the codes for weapon and horse models.It appears that choosing a weapon model will yield its benefits in duels. Choosing a horse model might even give the horse item benefits.

Guilde CardsZetta calls it "Action" byte in his guide, setting the officer to Available or Done. That's incorrect though.This byte codes what guile cards are available to the officer. You basically have to know these codes:00 = None08 = Yell10 = Reflect20 = Ignore40 = Calm80 = Frenzy

Now if you want to have two of these guile cards available, you'll have to add up their hex numbers. So if you want Reflect and Calm to be available, it's 10 + 40 = 50. Insert 50 here and you'll have both cards.If you choose to combine so many that the result becomes a 3 digit number, you'll have to use the hex letters. That means 100 = a0, 110 = b0, 120 = c0, etc.If you want Yell, Calm and Frenzy available, you'll have to add 8 + 40 + 80 = 128, which makes it c8.The highest possible value is 158 (f8), which makes all cards available (and thus the officer doesn't need a book item).

So, that's all as far as officer editing is concerned. I'll continue tomorrow with the Force Code parts that still need explanation, then I'll move on to the districts.

EDIT: Added Generation byte. Missed it somehow.

Last edited by Lord_Cao_Cao on Thu May 16, 2013 7:22 am, edited 3 times in total.

creating officers now will a be a whole new thing also I can confirm yielding the weapon model and horse model have the same benefits as having the real thing, my offcier was (badly) defaeted by zhang Liao , but he escaped (tested several times) since I gave him hex marks model, also got damage bonus when attacking in another duel against Ji Ling I think

Yes, I can also confirm the weapon bonus. Zhang Fei's spear model increase the one-hit KO chance and using Guan Yu's Blue Dragon will make your officer attack more frequently.

Yeah, creating officers now makes them feel like being actual officers in the game with all those little tweaks. There are some annoying things though when dispatching them into scenarios, for example the Generation bytes gets reset to 00 (or 01 if he's a created officer's child) and the Birthplace gets changed to where your created officer starts.

It's the 03 byte in the light blue Aspiration code.I've coloured the specific parts in the Aspiration code differently for a better visual appearance.

Force editing

There is not much additional info for force editing, Zetta's guide is almost complete in this regard. This is Cao Cao's force code as used as an example in Zetta's guide, the parts I have to say something about are coloured here as well.

Tribe RelationsAlthough this is practically part of the whole Relation code, I'll give it a special mention here. These 5 bytes code the relations with Tribes in the following order:Qiang - Shanyue - Wuhuan - Nanman - Bandits

Having good relations with tribes will lessen the chance of them appearing at one of your cities in the corresponding area if your city order is low. A relation of 100 (64) should almost prevent them from appearing. I don't know if relations go down during the game.

Force Goal/TargetNow that's more important. You'll have to know that a force's behavior is made basically of three parts: the ruler's Aspiration (and perhaps Character), the force goal/target and the district target.There are several options for a force's target, so I'll do them here.

00 ff = Conquer ChinaThis one is used mostly by the "bigger" rulers, such as the TK rulers, Yuan Shao, Dong Zhuo and others. The force will basically take on any enemies around them and be quite aggressive and expansive. In Rise of Heroes, every force has this code.

01 ## = Conquer Region/AreaThis force is coded to aim for conquest of a region or area. There are the following areas in the game which replace the ## byte:00 = Hebei (Northern China)01 = Zhongyuan (Central Plains)02 = Xibei (Northwest)03 = Jiangnan (Jing and Yang Provinces)04 = Bashu (Yi Province)05 = NanzhongYou can distinguish the areas easily by looking at the city models. Every city in one area has the same model. Ye and Beiping look the same, but Jinyang and Xuchang have a different model.Ma Teng would be an example of a force that uses this code.

02 ## = Conquer ProvinceThis one codes the force to conquer only a province. For a list of provinces to insert in the ## byte, look at the Birthplace part in the Officer editing post. Note that although this force will aim to conquer a province, it won't stop to attack others after it has done so. But it will be less aggressive for some time (until it probably has too many troops, equipment and officers).An example for a force that uses this code is Zhang Lu or the three Jiangdong rulers.

03 ff = "Rubbish" ForceI like to call that one the "Rubbish" Force code. I can't tell you exactly what it does, but it is mainly used by forces such as Liu Biao, Liu Zhang or Gongsun Du. You can probably tell from your own experience that forces with this code tend to recruit few troops, mostly attack free cities and attack with one or two units at one time. They usually end up with the most gold and food in a city.

04 ff = ??05 ff = ??

These two are additional codes I know exist, because they can be used in Van's Editor. As far as I know, these two codes are not used by any force in any scenario. Someone might do some testing with these codes.