OSP Code Campaign Wagon System - UPDATED 06/08/2011 - Final Version

Users who are viewing this thread

Marcolino

Knight
M&BWB
the basic part of the isue is that we keep getting the following message:

"'trp_dual_ox_wagon' is not defined"
 

Ikaguia

Grandmaster Knight
WBWF&SNW
oh damn... forgot about my constants...
ok, I changed module_game_menus a bit to get rid of a bit of them and added module_constants I forgot
 

ThaneWulfgharn

Master Knight
Still it lacks some things:
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...
Exporting mission_template data...
Exporting game menus data...
Error: Unable to find object:trp_troop_end
ERROR: Illegal Identifier:trp_troop_end
Error: Unable to find object:script_copy_inventory
ERROR: Illegal Identifier:script_copy_inventory
Error: Unrecognized tag:numin object:num_troops
ERROR: Illegal Identifier:num_troops
exporting simple triggers...
Error: Unrecognized tag:fimpin object:fimp_variable
ERROR: Illegal Identifier:fimp_variable
Error: Unrecognized tag:variablein object:variable_entertainement_on
ERROR: Illegal Identifier:variable_entertainement_on
exporting triggers...
exporting dialogs...
Checking global variable usages...
WARNING: Global variable never used: entertain_income_type
WARNING: Global variable never used: entertain_income_type2
Exporting postfx_params...

______________________________

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

ThaneWulfgharn

Master Knight
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...
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. . .
 

ThaneWulfgharn

Master Knight
Hey,Ikaguia,have you ever thought of incorporating a new siege system?Player attacks the castle at once and builds himself the siege equipment like The Wild Wind,but you must have the siege equipment like items in your inventory:
["mantlet","Mantlet", [("siege_large_shield_a",0)], itp_merchandise|itp_type_goods, 0, 1257,weight(40)|abundance(90),imodbits_none],
["siege_tower","Siege Tower", [("belfry_b",0)], itp_merchandise|itp_type_goods, 0, 3125,weight(40)|abundance(90),imodbits_none],
["onager","Onager", [("Catapult",0)], itp_merchandise|itp_type_goods, 0, 2959,weight(40)|abundance(90),imodbits_none],
["mangonel","Mangonel", [("mangonel",0)], itp_merchandise|itp_type_goods, 0, 4331,weight(40)|abundance(90),imodbits_none],
["trebuchet","Trebuchet", [("trebuchet_new",0)], itp_merchandise|itp_type_goods, 0, 5312,weight(40)|abundance(90),imodbits_none],
Catapults can be fired by you.
(Needs to add ladders,ballistae and ram.)
 

Marcolino

Knight
M&BWB
Hi. I finally got it to work. The code posted has two minor bugs.

The first one is on module_games_menu where you have:
[(assign, reg0, "$currently_building""), --> so you need to eliminate the second "

The second slight error is on module_troops where you have:
  ["dual_ox_wagon", "Dual Oxen Wagon", "Dual Oxen Wagon ...
it actually should be:
  ["dual_ox_wagon", "Dual Ox Wagon", "Dual Oxen Wagon ...

Thanks for the code - it is great now that I got it to work
 

Ikaguia

Grandmaster Knight
WBWF&SNW
it doesn't change too much, because that name will be only on the screen where you trade your items.
thanks for that game_menus fix :razz:
 

Lawlie

Recruit
No offense to disturb but I really don't know where I should add some of the codes. So anyone know about it? Sorry again for replying the post after such a long time.
 

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
Which obviously indicates that you are not really common with all the py-files of the Module System :wink:

From top to bottom:
  1. module_game_menus.py
  2. module_game_menus.py
  3. module_scene_props.py
  4. module_party_icons.py
  5. module_constants.py
  6. module_simple_triggers.py
  7. module_troops.py
  8. module_parties.py
  9. module_scripts.py
 

Lawlie

Recruit
这显然表明您对模块系统的所有 py 文件并不常见:眨眼:

从上到下:
  1. module_game_menus.py
  2. module_game_menus.py
  3. module_scene_props.py
  4. module_party_icons.py
  5. module_constants.py
  6. module_simple_triggers.py
  7. 模块部队.py
  8. 模块派对.py
  9. 模块脚本.py
( ๑ŏ ﹏ ŏ๑ )exactly,thank you
 
Top Bottom