I need help making new towns!

正在查看此主题的用户

Tiwaz

Recruit
Okay, so I've added a new town in the "module_parties.py" file:

("town_15","Yalen",  icon_town|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-64.1, 16.5),[], 135),
  ("town_16","Dhirim",  icon_town|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(20.7, 18.6),[], 135),
  ("town_17","Ichamur",  icon_town_steppe|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(51, -4:cool:,[], 135),
  ("town_18","Narra",  icon_town_steppe|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-22.6, -82),[], 135),
("new_town","Pewter City",  icon_camp|pf_town, no_menu, pt_none, fac_kingdom_6,0,ai_bhvr_hold,0,(-1, -1),[], 170),


#  Aztaq_Castle     
#  Malabadi_Castle
  ("castle_1","Culmarr_Castle",icon_castle_a|pf_castle, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-69.2, 31.3),[],50),
  ("castle_2","Malayurg_Castle",icon_castle_b|pf_castle, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(33.6, -45.6),[],75),
 

I was following someones guide to do this.  You might notice it says "fac_kingdom_6" ... I added a new faction (Pokemon, lol) to the "module_factions.py" file:

("kingdom_4",  "Kingdom of Nords",      0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0xDDDD33),
  ("kingdom_5",  "Kingdom of Rhodoks",    0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0x33DDDD),
  ("kingdom_6",  "Kingdom of Pokemon",    0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0xff0000),

##  ("kingdom_1_rebels",  "Swadian rebels", 0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0xCC2211),
##  ("kingdom_2_rebels",  "Vaegir rebels",    0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0xCC2211),

Anyways! It shows up on the map, everything is as it should be, but the merchants are all messed up... The arms merchant is "tavern keeper" or something like that, and the armor merchant is the weapons merchant, the horse merchant is also blank (traveller?) and I forget what the goods merchant showed up as...

So if someone could point me to the right place to fix these that'd be great!

Thanks!
Tiwaz

Edit: Also, I don't know how to add lords to the game, so nobody owns it (when I visit, it acts as if I own it) and if I play long enough Swadians usually just capture the town...
 
I am having similar problems with adding towns, or castles, and villages too.
Villages are open land with villagers standing around, Towns going to lords hall kills the game, Castles are mixed up NPC's

I am sure its a loop or formatting issue I am dealing with.... learning... !LEARN!
Dang brain

Tromble
 
后退
顶部 底部