City name, and code face

正在查看此主题的用户

Mauromagno Patriota

Sergeant Knight
Hello, I wonder if anyone here, can help me ..... I work with module system.
I have problems with the code of face and name of the cities on the map of my mod


city ​​names do not appear

mb50.jpg


the faces of people, vary too, some are very ugly and others are good.

mb49.jpg
mb47.jpg
mb48.jpg
mb29.jpg
mb42.jpg


I tried to make a code for black face, for the regiment No. 8 of the Andes, but it did not work..., then I had to leave it as it was from the beginning,  but it happened the variation of faces.

anyone who can help me will thank you very much.
Adios
 
Find this in your module.ini file;
插入代码块:
#You can change the following to 1 for ease in module development
show_party_ids_instead_of_names = 0

Most likely yours is set to 1. Change it back to 0 and it should work.
 
Jezze 说:
Find this in your module.ini file;
插入代码块:
#You can change the following to 1 for ease in module development
show_party_ids_instead_of_names = 0

Most likely yours is set to 1. Change it back to 0 and it should work.
Thanks friend, appeared the names of cities.
only need to change the faces of soldiers bots  :grin:
 
these are the code we have made for chinese face.
I don't know how it work,but I can tell you how we do.
Fist,you must add your new face
for example:
skins.py
    ## ZZ manface asian
("manface_asian3",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
("manface_asian2",0xffe0e8e8,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
("manface_asian1",0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
then ,enter the game with edit mode.get the code of face(young,middle,old) and copy it to troops.py,
for example
## ZZ new summer face
summer_face_young_1    = 0x00000001bb04a4c5131d76d6a990b9a300000000001cbae20000000000000000
summer_face_young_2    = 0x00000001bf0c900668cac5945b89985b00000000001d36a30000000000000000
summer_face_middle_1    = 0x000000095e0893942b23e6490c662f6300000000001c93140000000000000000
summer_face_middle_2    = 0x000000097f1094c54ad4970b1a69b7a500000000001db2a50000000000000000
summer_face_old_1      = 0x0000000fff0c934516e97243a591189900000000001eb2fc0000000000000000
summer_face_old_2      = 0x0000000eef00a1ca5ac979e36a8e1b9b00000000001e6a4c0000000000000000
and,when you make a troop,you need add the summer_face_XXX
like this
  ["ming_veteran_horse_archer","ming Liaodong lancer","ming Liaodong lancers",tf_mounted|tf_guarantee_all,0,0,fac_kingdom_7,
  [itm_splinted_leather_greaves,itm_spear_h_2_15m,itm_new_round_shield,itm_new_round_shield_b,itm_heavy_lance,itm_warhorse_china,itm_song_charger_b,itm_sword_khergit_2,itm_sword_khergit_3,itm_sword_khergit_4,itm_qibingkuei,itm_qibingkuei1,itm_qibingkuei2,itm_mingjia4,itm_mingjia2,itm_mingjia3,itm_mingjia_j],
  def_attrib|level(24),wp_one_handed (220) | wp_two_handed (200) | wp_polearm (220) | wp_archery (195) | wp_crossbow (100) | wp_throwing (0),knows_riding_6|knows_shield_4|knows_ironflesh_5|knows_power_strike_5,summer_face_middle_1, summer_face_old_2],
I don't know if it work,but we do it like this.

and the cities name
  ("town_1","London",  icon_town_volencia|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-203.415,53.675),[], 170),
 
Sword of Damocles Warlords has some nice faces. They also have a bunch of black ones I think, but most of them are face paints. You probably messed up the faces by messing up (to far negative/ positive) what it randomly generates so you could try copying the randomizer from a different skins.txt so they don't keep messing up like that.

I was able to take 2 faces from that mod and put it in my personal version of Pop, of course you should probably ask for permission if you are planning on sharing it.
 
mauromagno 说:
yet I can not change the faces of the bots
I do not want to add more codes, just want to see regular faces.  :roll:

Ingame editor mode? You could try loading another mods skins.txt in your mod to see if their faces mess up like yours do, although you'd have to have the skin textures and resource files in your mod.
 
后退
顶部 底部