python problem

正在查看此主题的用户

Amigo

Knight at Arms
i have modified python and cant build it into hussite wars. cmd tells me that it cant find "*.pyc".. and i didnt find anything on google.
sorry for being noobtard  :evil:. It seems that it cant find python.exe or what..

python is not recognized as an internal or external command, operable program or batch file.
 
I had this problem, you need to right-click build module first.
Then change it to something like this:

set PATH=D:\Python24
@echo off
python process_init.py
python process_global_variables.py
python process_strings.py
python process_skills.py
python process_music.py
python process_animations.py
python process_meshes.py
python process_sounds.py
python process_skins.py
python process_map_icons.py
python process_factions.py
python process_items.py
python process_scenes.py
python process_troops.py
python process_particle_sys.py
python process_scene_props.py
python process_presentations.py
python process_party_tmps.py
python process_parties.py
python process_quests.py
python process_scripts.py
python process_mission_tmps.py
python process_game_menus.py
python process_simple_triggers.py
python process_dialogs.py
python process_global_variables_unused.py
@del *.pyc
echo.
echo ______________________________
echo.
echo Script processing has ended.
echo Press any key to exit. . .
pause>nul


Change the top line to whatever drive your python is installed to. You may have a newer version of python than me, if so change python 24 to python 25 or whatever number you have.
Most people probably have this:
set PATH=C:\Python24
 
got another problem and i think its also related with module system.
i have added some new items into my mod and i cant see them ingame. i see them in my inventory with proper values and with image, but on my character its invisible. its normally added into .brf file and succesfully loaded (i dont even get any error while loading).

Amigo
 
scree: http://img258.imageshack.us/my.php?image=beznzvu3iu8.jpg

not sure, i have put the helmet in (copied, not mine - craftsmod) and it works but i dont see character face.

about the materials - in my armor problem (invisible armor), i see everything corectly in brf editor. in case you dont need to write materials path somewhere into module system or so.

python:
armor:
["hussiteARMOR1", "Hussite Chainmail", [("hussiteARMOR1",0)], itp_merchandise| itp_type_body_armor  |itp_covers_legs ,0, 495 , weight(17)|abundance(100)|head_armor(0)|body_armor(3:cool:|leg_armor(6)|difficulty(7) ,imodbits_armor ],
["bohemianARMOR2","Bohemian Quarterplate", [("bohemianARMOR2",0)], itp_type_body_armor|itp_covers_legs, 0, 152,weight(15.0)|body_armor(20)|leg_armor(6),imodbits_none],
["bohemianARMOR1", "Studded Leather", [("bohemianARMOR1",0)], itp_merchandise| itp_type_body_armor  |itp_covers_legs ,0, 778 , weight(20)|abundance(100)|head_armor(0)|body_armor(44)|leg_armor(15)|difficulty(7) ,imodbits_armor ],
["bavarianARMOR1", "Bavarian Quarterplate", [("bavarianARMOR1",0)], itp_type_body_armor|itp_covers_legs|itp_merchandise  ,0, 593 , weight(16)|abundance(100)|head_armor(0)|body_armor(34)|leg_armor(12)|difficulty(0) ,imodbits_armor ],

helmets:
["opensallet", "Opened Sallet", [("opensallet",0)], itp_merchandise| itp_type_head_armor|itp_covers_head,0, 760 , weight(2.75)|abundance(100)|head_armor(3:cool:|body_armor(0)|leg_armor(0)|difficulty(10) ,imodbits_plate ],
["sallet", "Sallet", [("sallet",0)], itp_merchandise| itp_type_head_armor|itp_covers_head,0, 760 , weight(2.75)|abundance(100)|head_armor(3:cool:|body_armor(0)|leg_armor(0)|difficulty(10) ,imodbits_plate ],
["salletb", "Opened Sallet2", [("salletb",0)], itp_merchandise| itp_type_head_armor|itp_covers_head,0, 760 , weight(3.00)|abundance(100)|head_armor(40)|body_armor(0)|leg_armor(0)|difficulty(10) ,imodbits_plate ],

 
Amigo 说:
scree: http://img258.imageshack.us/my.php?image=beznzvu3iu8.jpg

not sure, i have put the helmet in (copied, not mine - craftsmod) and it works but i dont see character face.

about the materials - in my armor problem (invisible armor), i see everything corectly in brf editor. in case you dont need to write materials path somewhere into module system or so.

python:
armor:
["hussiteARMOR1", "Hussite Chainmail", [("hussiteARMOR1",0)], itp_merchandise| itp_type_body_armor  |itp_covers_legs ,0, 495 , weight(17)|abundance(100)|head_armor(0)|body_armor(3:cool:|leg_armor(6)|difficulty(7) ,imodbits_armor ],
["bohemianARMOR2","Bohemian Quarterplate", [("bohemianARMOR2",0)], itp_type_body_armor|itp_covers_legs, 0, 152,weight(15.0)|body_armor(20)|leg_armor(6),imodbits_none],
["bohemianARMOR1", "Studded Leather", [("bohemianARMOR1",0)], itp_merchandise| itp_type_body_armor  |itp_covers_legs ,0, 778 , weight(20)|abundance(100)|head_armor(0)|body_armor(44)|leg_armor(15)|difficulty(7) ,imodbits_armor ],
["bavarianARMOR1", "Bavarian Quarterplate", [("bavarianARMOR1",0)], itp_type_body_armor|itp_covers_legs|itp_merchandise   ,0, 593 , weight(16)|abundance(100)|head_armor(0)|body_armor(34)|leg_armor(12)|difficulty(0) ,imodbits_armor ],

helmets:
["opensallet", "Opened Sallet", [("opensallet",0)], itp_merchandise| itp_type_head_armor|itp_covers_head,0, 760 , weight(2.75)|abundance(100)|head_armor(3:cool:|body_armor(0)|leg_armor(0)|difficulty(10) ,imodbits_plate ],
["sallet", "Sallet", [("sallet",0)], itp_merchandise| itp_type_head_armor|itp_covers_head,0, 760 , weight(2.75)|abundance(100)|head_armor(3:cool:|body_armor(0)|leg_armor(0)|difficulty(10) ,imodbits_plate ],
["salletb", "Opened Sallet2", [("salletb",0)], itp_merchandise| itp_type_head_armor|itp_covers_head,0, 760 , weight(3.00)|abundance(100)|head_armor(40)|body_armor(0)|leg_armor(0)|difficulty(10) ,imodbits_plate ],

Helmet problem: the flag itp_covers_head will make any exposed part of the head (from the neck up) invisible. Delete that flag for the open sallet (the one that doesn't cover the face). Similarly, the flag itp_covers_legs will cover the exposed part of the legs (around the knees and down).

Armor problem: it seems like the transparency setting of your dds file similar to the way people wish to make their armor invisible (to make invisible character like ghost). Other than that, I don't know what is the problem.
 
i dont remember changing texture transparency. btw i guess you mean transparency settings in photoshop?
thanks
 
后退
顶部 底部