Modding Q&A [For Quick Questions and Answers]

正在查看此主题的用户

状态
不接受进一步回复。
when i compile the mod i get this error :

插入代码块:
Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_global_variables.py", line 8, in <module>
    from module_presentations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_presentations.py", line 11, in <module>
    from module_items import *   # Added for Show all Items presentation.
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
  File "process_map_icons.py", line 6, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting faction data...
Traceback (most recent call last):
  File "process_items.py", line 4, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting troops data
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_presentations.py", line 4, in <module>
    from module_presentations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_presentations.py", line 11, in <module>
    from module_items import *   # Added for Show all Items presentation.
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
how to fix it
 
zidozido 说:
when i compile the mod i get this error :

插入代码块:
Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_global_variables.py", line 8, in <module>
    from module_presentations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_presentations.py", line 11, in <module>
    from module_items import *   # Added for Show all Items presentation.
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
  File "process_map_icons.py", line 6, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting faction data...
Traceback (most recent call last):
  File "process_items.py", line 4, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting troops data
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_presentations.py", line 4, in <module>
    from module_presentations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_presentations.py", line 11, in <module>
    from module_items import *   # Added for Show all Items presentation.
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
how to fix it
Maybe the problem in module_items line 2880,the compiler has told it to you clearly
 
Another reminder to all onlookers: Multi-posting, especially repeated cases of it, are against the forum rules. If you have something to add to your last post, edit it instead of posting again.
 
zidozido 说:
when i compile the mod i get this error :

插入代码块:
Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_global_variables.py", line 8, in <module>
    from module_presentations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_presentations.py", line 11, in <module>
    from module_items import *   # Added for Show all Items presentation.
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
  File "process_map_icons.py", line 6, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting faction data...
Traceback (most recent call last):
  File "process_items.py", line 4, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting troops data
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_presentations.py", line 4, in <module>
    from module_presentations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_presentations.py", line 11, in <module>
    from module_items import *   # Added for Show all Items presentation.
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\proce
ss_operations.py", line 13, in <module>
    from module_items import *
  File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\modul
e_items.py", line 2888
    try:
      ^
SyntaxError: invalid syntax
how to fix it

check your module_items.py. You have not posted enough code (about 10 lines before and after the line with a error), but it seems you tried to add Python code inside your items array. That piece of could should go at the bottom of the file, after the last "]"

If that is not the case post the code here (again, at least 10 lines before it, and 10 after it, but preferable the entire file)
 
kalarhan 说:
that was a example on how you can refactor your code, hide the new conditions and move on. It is not a solution that fits all sizes.

...

VC, as a example, uses a mix system for old + new quests, and by using a random value it lets the script select inside either range.
...

remember that Native code is just one way to go around doing things. And as you move to new situations (cases), you shouldn't be afraid to redesign it to fit your own requirements.

I checked VC code, and yes, what they did is quite ingenious :smile:

插入代码块:
          (store_sub, ":num_possible_old_quests", ":quests_end", ":quests_begin"),
          (store_sub, ":num_possible_new_quests", ":quests_end_2", ":quests_begin_2"),
          (store_add, ":num_possible_total_quests", ":num_possible_old_quests", ":num_possible_new_quests"),
          #           (store_add. ":num_possible_total_quests_plus_1",":num_possible_total_quests", 1),
          (store_random_in_range, ":quest_no", 0, ":num_possible_total_quests"),
          
          (try_begin),
            (lt, ":quest_no", ":num_possible_old_quests"),
            (store_random_in_range, ":quest_no", ":quests_begin", ":quests_end"),
          (else_try),
            (store_random_in_range, ":quest_no", ":quests_begin_2", ":quests_end_2"),
          (try_end),

I'll incorporate both by using the above system to expand the range, but using scripts to initiate the quest.

Thanks again
 
kalarhan 说:
check your module_items.py. You have not posted enough code (about 10 lines before and after the line with a error), but it seems you tried to add Python code inside your items array. That piece of could should go at the bottom of the file, after the last "]"

If that is not the case post the code here (again, at least 10 lines before it, and 10 after it, but preferable the entire file)
you asked for the whole file but its too big so i will post 10 lines before of my module.items.py

插入代码块:
#fin mes cascos
 #special
  ["civil6_caro", "Ropa", [("civil6",0)],  itp_type_body_armor  |itp_covers_legs,0, 
 31000 , weight(1.5)|abundance(100)|head_armor(0)|body_armor(8)|leg_armor(6)|difficulty(0) ,imodbits_cloth ],
 
  ["cofia1_caro", "Cofia", [("cofia1",0)],  itp_type_head_armor ,0, 50000 , weight(1)
 |abundance(100)|head_armor(8)|body_armor(0)|leg_armor(0)|difficulty(0) ,imodbits_cloth ],

["light_lance_caro",         "Light Lance", [("spear_b_2-75m",0)], itp_couchable|itp_type_polearm|itp_offset_lance| itp_primary|itp_penalty_with_shield|itp_wooden_parry, itc_cutting_spear,
 45000 , weight(2.5)|difficulty(0)|spd_rtng(85) | weapon_length(175)|swing_damage(16 , blunt) | thrust_damage(30 ,  pierce),imodbits_polearm ],

#santiago
 ["caballo_santiago","Caballo con Barda", [("caballo_santiago",0)], itp_merchandise|itp_type_horse, 0, 8000,abundance(40)|hit_points(165)|body_armor(58)|difficulty(4)|
  horse_speed(40)|horse_maneuver(44)|horse_charge(35)|horse_scale(112),imodbits_horse_basic|imodbit_champion, [], [fac_kingdom_1,fac_kingdom_2,fac_kingdom_3,fac_kingdom_4,fac_kingdom_5]],

 ["surcoat_santiago", "Cota de Malla con Sobreveste", [("surcoat_santiago",0)], itp_merchandise| itp_type_body_armor  |itp_covers_legs ,0,
 6000 , weight(25)|abundance(10)|head_armor(0)|body_armor(55)|leg_armor(26)|difficulty(7) ,imodbits_armor, [], [fac_kingdom_1,fac_kingdom_2,fac_kingdom_3,fac_kingdom_4,fac_kingdom_5]],

 ["escut_santiago",         "Escudo", [("escut_santiago",0)], itp_merchandise|itp_type_shield|itp_wooden_parry, itcf_carry_kite_shield,  800 , weight(3.5)
 |hit_points(350)|body_armor(20)|spd_rtng(85)|shield_width(36)|shield_height(70),imodbits_shield, [], [fac_kingdom_1,fac_kingdom_2,fac_kingdom_3,fac_kingdom_4,fac_kingdom_5]],

 #mas

  ["adarga10",         "Adarga Pesada", [("adarga10",0)], itp_merchandise|itp_type_shield|itp_wooden_parry, itcf_carry_round_shield,  800 , weight(2.1)
 |hit_points(350)|body_armor(12)|spd_rtng(82)|shield_width(90),imodbits_shield, [], [fac_kingdom_6]],

   ["adarga11",         "Adarga Pesada", [("adarga11",0)], itp_merchandise|itp_type_shield|itp_wooden_parry, itcf_carry_round_shield,  800 , weight(2.1)
 |hit_points(350)|body_armor(12)|spd_rtng(82)|shield_width(90),imodbits_shield, [], [fac_kingdom_6]],

#hispania1200newitems

["items_end", "Items End", [("shield_round_a",0)], 0, 0, 1, 0, 0],
]
# modmerger_start version=201 type=2
try:
    component_name = "items"
    var_set = { "items" : items }
    from modmerger import modmerge
    modmerge(var_set)
except:
    raise

# modmerger_en
 
zidozido 说:
you asked for the whole file but its too big so i will post 10 lines before of my module.items.py

I gave a suggestion for a possible issue, but you did not tell us if you tried it and if that worked or not. It should be step one.

The code you posted, at a quick glance, doesn't indicate a issue.

So if you need further help you can post your entire file. How? Use Dropbox or Github or PasteBin to share it.
 
KnightV 说:
How to add new mercenaries?What may i do?

create new troops and put them on the same range as the original

插入代码块:
mercenary_troops_begin = "trp_watchman"
mercenary_troops_end = "trp_mercenaries_end"

so between "watchman" and "mercenaries_end"
 
kalarhan 说:
KnightV 说:
How to add new mercenaries?What may i do?

create new troops and put them on the same range as the original

插入代码块:
mercenary_troops_begin = "trp_watchman"
mercenary_troops_end = "trp_mercenaries_end"

so between "watchman" and "mercenaries_end"
Some of the people said to me that after this operation appear many bugs
 
KnightV 说:
Some of the people said to me that after this operation appear many bugs

if you try to add mercenaries and you see issues, then post them here. Guessing what "some other people" are talking about doesn't help.

zidozido 说:
any one has experience using swycartographer-2014.05.22 ?
if you have a question about the tool you should first try the tool thread. Also read the guide/tutorial the author provides, as it should explain how to setup and use it.

I used the tool in the past and it worked fine.
 
插入代码块:
Initializing...
Compiling all global variables...
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
Error: Unrecognized tag:muslimin object:muslim_servent
ERROR: Illegal Identifier:muslim_servent
Error: Unrecognized tag:ottmanin object:ottman_milltia
ERROR: Illegal Identifier:ottman_milltia
Error: Unrecognized tag:muslimin object:muslim_servent
ERROR: Illegal Identifier:muslim_servent
Error: Unrecognized tag:ottmanin object:ottman_horseman
ERROR: Illegal Identifier:ottman_horseman
Error: Unrecognized tag:ottmanin object:ottman_horseman
ERROR: Illegal Identifier:ottman_horseman
Error: Unrecognized tag:ottmanin object:ottman_horseman
ERROR: Illegal Identifier:ottman_horseman
Error: Unable to find object:trp_kingdom_pretender
ERROR: Illegal Identifier:trp_kingdom_pretender
Error: Unrecognized tag:knightin object:knight_7_1
ERROR: Illegal Identifier:knight_7_1
Error: Unrecognized tag:knightin object:knight_7_1
ERROR: Illegal Identifier:knight_7_1
Error: Unrecognized tag:knightin object:knight_7_1
ERROR: Illegal Identifier:knight_7_1
Error: Unrecognized tag:muslimin object:muslim_servent
ERROR: Illegal Identifier:muslim_servent
Error: Unrecognized tag:muslimin object:muslim_servent
ERROR: Illegal Identifier:muslim_servent
Error: Unable to find object:pt_kingdom_7_reinforcements_a
ERROR: Illegal Identifier:pt_kingdom_7_reinforcements_a
Exporting mission_template data...
Exporting game menus data...
Exporting simple triggers...
Exporting triggers...
Exporting dialogs...
Checking global variable usages...
Exporting postfx_params...

-----------------------------------

Script processing has ended.
Press any key to exit. . .


help ?
 
kalarhan 说:
zidozido 说:

generate your IDs before using them on scripts, etc

and remember to use the prefix like for troops: "trp_XXXXX"
by generate you mean write them in module.troops because if that what you mean i have already done it if it something else so how to generate them ?
 
zidozido 说:
by generate you mean

run the build_module.bat every time you add new entities (troops, items, etc); run the process_XXX.py directly; temporally edit the ID_xxx.py manually. One of those.
 
状态
不接受进一步回复。
后退
顶部 底部