instead of a spawnable scene_prop/pavise.Bismarck said:I really like the idea of your mod, but when trying to implement it, it won't work.
The compiler is giving me a very nasty error: "unexpected indent" while showing at the first bracket of your code in module_mission_templates.py:
( 0, 0, 0,
^
When I delete your code, it compiles without problems. That damn error is stopping the completion of my project. What could be the cause of this nuisance?
Mirage11 said:Hello
When i press G the pavise dont deploy(G in set to drop weapon by default), in fact it drop the weapon and that's all. Is there a thing i miss?
thx fot help
Life_Erikson said:Awesome work there!
But I have a little problem:
I used the singleplayer/destroyable scripts, and everything worked well.
No errors whyle compliling and the pavise itself works ingame too.
But when I press "g" the character just drops the pavise on the ground instead of pleacing it infront of him.
Have you got any ideas where the problem could be?
I also tried the singleplayer/undestroyable script, but had the same problem.
I simply copied the your scripts into the python files, so there cannot be the problem.
(As allready said, I had also no problems compiling)
Thank's in advance for any help.
Howitzer said:Life_Erikson said:Awesome work there!
But I have a little problem:
I used the singleplayer/destroyable scripts, and everything worked well.
No errors whyle compliling and the pavise itself works ingame too.
But when I press "g" the character just drops the pavise on the ground instead of pleacing it infront of him.
Have you got any ideas where the problem could be?
I also tried the singleplayer/undestroyable script, but had the same problem.
I simply copied the your scripts into the python files, so there cannot be the problem.
(As allready said, I had also no problems compiling)
Thank's in advance for any help.
Go to the control options screen. Check if your 'g' key isn't mapped to 'drop weapon'.
Dawg of War said:I'm trying to figure out a heraldic version of this, so far i got the heraldic tableau mesh to work on the shield but as soon as you plant it the texture turns transparent. I'll continue working this out but if anyone has any suggestions let me know!
["pavise", "Pavise Shield", [("tableau_shield_pavise_1" ,0)], itp_merchandise|itp_type_shield|itp_cant_use_on_horseback|itp_wooden_parry, itcf_carry_board_shield,
488 , weight(6.6)|hit_points(660)|body_armor(16)|spd_rtng(60)|shield_width(57)|shield_height(132),imodbits_shield,
[(ti_on_init_item, [(store_trigger_param_1, ":agent_no"),(store_trigger_param_2, ":troop_no"),(call_script, "script_shield_item_set_banner", "tableau_pavise_shield_1", ":agent_no", ":troop_no")])]],
["pavise", "Pavise Shield", [("pavise_wep" ,0)], itp_merchandise|itp_type_shield|itp_cant_use_on_horseback|itp_wooden_parry, itcf_carry_board_shield,
488 , weight(6.6)|hit_points(660)|body_armor(16)|spd_rtng(60)|shield_width(57)|shield_height(132),imodbits_shield ],
Life_Erikson said:Dawg of War said:I'm trying to figure out a heraldic version of this, so far i got the heraldic tableau mesh to work on the shield but as soon as you plant it the texture turns transparent. I'll continue working this out but if anyone has any suggestions let me know!
You need to take the heraldic shields script in the module_items.py text for it. Otherwise it will show up like that.
You need:
Code:["pavise", "Pavise Shield", [("tableau_shield_pavise_1" ,0)], itp_merchandise|itp_type_shield|itp_cant_use_on_horseback|itp_wooden_parry, itcf_carry_board_shield, 488 , weight(6.6)|hit_points(660)|body_armor(16)|spd_rtng(60)|shield_width(57)|shield_height(132),imodbits_shield, [(ti_on_init_item, [(store_trigger_param_1, ":agent_no"),(store_trigger_param_2, ":troop_no"),(call_script, "script_shield_item_set_banner", "tableau_pavise_shield_1", ":agent_no", ":troop_no")])]],
Instead of:
Code:["pavise", "Pavise Shield", [("pavise_wep" ,0)], itp_merchandise|itp_type_shield|itp_cant_use_on_horseback|itp_wooden_parry, itcf_carry_board_shield, 488 , weight(6.6)|hit_points(660)|body_armor(16)|spd_rtng(60)|shield_width(57)|shield_height(132),imodbits_shield ],
And I still have the same problem with dropping the pavise. Could somebody please help me?