Spawn Point problem.

Users who are viewing this thread

Status
Not open for further replies.

cdvader

Hi, me again. This time, I've got a spawn point problem. When I compile the mod, no errors come. When I start a new game, no errors come, however, when I try to attack / go near the spawn point where all the parties are, I'm stopped by a "invisible barrier". All the parties inside the "barrier" try to move, but can't.
It's hard to explain, really, so I hope you get it.

A screenshot of the problem. Warning: It's a pretty huge picture.
invisiblebarrier.jpg

Code snippets I made to create the party spawn point and the parties.
Code:
module_parties.py, line 273
  ("undead_spawn_point"   ,"undead_sp",pf_disabled|pf_is_static, no_menu, pt_none, fac_outlaws,0,ai_bhvr_hold,0,(82, 15),[(trp_looter,15,0)]),



module_party_templates.py, line 53
  ("undead_raiders","Undead",icon_axeman|carries_goods(2),0,fac_outlaws,bandit_personality,[(trp_undead,100,250),(trp_undead_lord,2,15)]),



module_scripts.py, beginning at line 16862 and ending at 16868
     (try_begin),
       (store_num_parties_of_template, ":num_parties", "pt_undead_raiders"),
       (lt,":num_parties",14),
       (store_random,":spawn_point",num_undead_spawn_points),
       (val_add,":spawn_point","p_undead_spawn_point"),
       (spawn_around_party,":spawn_point","pt_undead_raiders"),
     (try_end),



module_contants.py, line 1043
num_undead_spawn_points = 1



module_troops.py, beginning at line 274 and ending at 279
  ["undead","Undead","Undead",tf_undead|tf_allways_fall_dead|tf_guarantee_boots|tf_guarantee_gloves|tf_undead|tf_allways_fall_dead,0,0,fac_outlaws,
   [itm_undead_falchion,itm_undead_spiked_mace,itm_undead_winged_mace,itm_hide_boots,itm_leather_gloves],
   str_6|agi_6|level(14),wp(80),knows_ironflesh_4,knows_warrior_npc,undead_face1,undead_face2],
  ["undead_lord","Undead Lord","Undead Lords",tf_undead|tf_allways_fall_dead|tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_gloves|tf_undead|tf_allways_fall_dead,0,0,fac_outlaws,
   [itm_undead_morningstar,itm_hide_boots,itm_leather_jerkin,itm_leather_gloves],
   str_6|agi_6|level(14),wp(80),knows_ironflesh_4,knows_warrior_npc,undead_face1,undead_face2],
Thank you, in advance!
 
Is that steppe terrain?


Because if it is, you might of accidentally used steppe_mountain for that piece of land.
 
It should be steppe terrain, yes. But what do you mean - steppe_mountain?

EDIT: You were right. I fixed it.
 
Status
Not open for further replies.
Back
Top Bottom