In the OSP section, there is single player code by dunde available for crouching. If you can add it successfully to SP, then refer to the tutorials on MP server/client events and then come back when you have specific questions on doing that or run into trouble.
Hey everyone! I'm new to modding, tried it a while back and kinda lost track with it but now I wanna get back into it and I was wondering if anyone has or knows of any tutorials or guides on how to add custom banners to the game that go on shields and armor etc. Any help would be really appreciated!
Hey I'll just post this again but can you have bump maps on clothing in mount and blade and if so could you tell me which shader to use. I haven't noticed any other clothing in native that feature bump maps so I hope this doesnt mean I can't use one for this new clothing I did, please someone answer me this time but this is probably a simple question.
You are going to need a timed mission template trigger (akin to what you are working with about drowning) to tell that prop to rotate again every few seconds. OR you could try using:
Code:
ti_on_scene_prop_is_animating = -45.0 #can only be used in module_scene_props triggers
# Trigger Param 1: prop instance number
# Trigger Param 2: remaining animation time
ti_on_scene_prop_animation_finished = -46.0 #can only be used in module_scene_props triggers
# Trigger Param 1: prop instance number
animation_finished, particularly should work well to re-start the animation every time it ends.
The native module already includes a script to rotate windmills, but it is only run from the "tutorial_5" mission template; add something like this to your mission template (this one was used for a MP mode):
Hey I'll just post this again but can you have bump maps on clothing in mount and blade and if so could you tell me which shader to use. I haven't noticed any other clothing in native that feature bump maps so I hope this doesnt mean I can't use one for this new clothing I did, please someone answer me this time but this is probably a simple question.
Hey I'll just post this again but can you have bump maps on clothing in mount and blade and if so could you tell me which shader to use. I haven't noticed any other clothing in native that feature bump maps so I hope this doesnt mean I can't use one for this new clothing I did, please someone answer me this time but this is probably a simple question.
Python sytanx. (Not module system syntax, but actual Python syntax)
In Python, something in parentheses () is a 'tuple' an ordered, immutable (unchangeable) list of things with the elements separated by a comma ,
Something in brackets [] is a list, an ordered but changeable list of things with elements separated by a comma.
The compiler, when going through the list of triggers
[
trigger_name,
(ti_on_agent_spawn....),
#etc
]
is expecting each element in the list to be a tuple...NOT another list. Nesting a list where it expects a single tuple item will cause errors.
In order to add your list of triggers
trigger_common = [trigger_a, trigger_b]
(which is a list whose elements are two tuples, defined above)
you need to add the list trigger_common to the end of the full list of triggers. In Python, the operation to concatenate lists is +
This makes the full trigger list longer by adding the two elements of the list trigger_common, that is trigger_a and trigger_b, to the end of the list (rather than embedding them as a single item in a list when they are supposed to be two items)
Python sytanx. (Not module system syntax, but actual Python syntax)
In Python, something in parentheses () is a 'tuple' an ordered, immutable (unchangeable) list of things with the elements separated by a comma ,
Something in brackets [] is a list, an ordered but changeable list of things with elements separated by a comma.
The compiler, when going through the list of triggers
[
trigger_name,
(ti_on_agent_spawn....),
#etc
]
is expecting each element in the list to be a tuple...NOT another list. Nesting a list where it expects a single tuple item will cause errors.
In order to add your list of triggers
trigger_common = [trigger_a, trigger_b]
(which is a list whose elements are two tuples, defined above)
you need to add the list trigger_common to the end of the full list of triggers. In Python, the operation to concatenate lists is +
This makes the full trigger list longer by adding the two elements of the list trigger_common, that is trigger_a and trigger_b, to the end of the list (rather than embedding them as a single item in a list when they are supposed to be two items)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.