Help Request

Users who are viewing this thread

Ziame

Recruit
Hai thar, I'd like some dude to help me with the OSP Uniforms. I downloaded them but I can't figure out how to add them to the item list.

And a question, what should I do to make item available in shops (Cartridges)??

Cheers,

Ziame
 
You have to find them in the trigger refresh list in module_triggers by adding the following lines:

(troop_add_merchandise,reg(2),itp_type_pistol,5),
(troop_add_merchandise,reg(2),itp_type_bullets,3),
(troop_add_merchandise,reg(2),itp_type_musket,5),

Under the other troop_add_merchandise's
 
Rize said:
You have to find them in the trigger refresh list in module_triggers by adding the following lines:

(troop_add_merchandise,reg(2),itp_type_pistol,5),
(troop_add_merchandise,reg(2),itp_type_bullets,3),
(troop_add_merchandise,reg(2),itp_type_musket,5),

Under the other troop_add_merchandise's

Thanks for quick reply, dude :)  But hey dude, where should i put it? I don't have module_triggers file anywhere

Cheers!



EDIT: Okay, nevermind, dude, I found this freaky python thingy
 
Okay dudes, another one (still looking for someone who'd do uniforms for me), how to transfer strange numbers to python and the other way around?
 
About the OSP, it's best to get the Module system up and running (Python version 2.6 is best, IIRC.) Then open module_items.py, copy an entry you like (Probably twolines of text.) Paste that entry anywhere below the "entries above must not be changed" line and change the first name it says (for example; lamellar_armor.) then change the third name, that's the mesh name to the name the OSP item you want to use has in the OSP .brf file.

Here's an example;
Code:
["example_gun",         "Example Gun",         [("gunmodel",0)], itp_type_crossbow |itp_merchandise|itp_primary|itp_two_handed|itp_cant_use_on_horseback ,itcf_shoot_crossbow|itcf_carry_crossbow_back, 182 , weight(3)|difficulty(8)|spd_rtng(43) | shoot_speed(68) | thrust_damage(46,pierce)|max_ammo(5),imodbits_crossbow ],

That's actually how one could make a repeater crossbow in the module_items, but that's not important.

Code:
["TUPLE_NAME",         "IN-GAME NAME",         [("MESH_NAME",0)], itp_type_crossbow |itp_merchandise|itp_primary|itp_two_handed|itp_cant_use_on_horseback ,itcf_shoot_crossbow|itcf_carry_crossbow_back, 182 , weight(3)|difficulty(8)|spd_rtng(43) | shoot_speed(68) | thrust_damage(46,pierce)|max_ammo(5),imodbits_crossbow ],

Now, both the Tuple_name (the first one) and the in-game name you can call whatever you want, but the mesh_name must be EXACTLY what it's called in the OSP file.
itp_type_crossbow - Means it uses bolts as ammo and that is for sale if you've got (troop_add_merchandise,reg(2),itp_type_crossbow,5), or something similar in the module_triggers, which you do, by the way.
itp_merchandise  - Means it can be found in stores.
itp_primary - I don't actually know what this does.
itp_two_handed - Means you can't use a shield with it.
itp_cant_use_on_horseback  - Means you can only us it on foot.

itcf_shoot_crossbow - Means it's animation will be that of a crossbow firing.
itcf_carry_crossbow_back, - About the way it's carried when you're not using it. Attached to your back, in this case.
182 ,  - Usually the weapon length, but that doesn't seem to count for ranged weapons. 182 is no where near its actual size.
weight(3) - Obvious, the weight. :P
difficulty(8) - Eight strength needed to use it. If it was a boy it'd need eight power draw instead, I think.
spd_rtng(43)  - I'm not sure. How fast it reloads is my guess.
shoot_speed(68) - How fast the bolts fly, I think.
thrust_damage(46,pierce) - How much damage ammo does.
max_ammo(5), - Means this particular crossbow can shoot five times before needing reloading.
imodbits_crossbow - Means it'll only get the imods crossbows get, so it won't be battered like a shield or champion like a horse. (:P)

Also; you do NOT want to use that tuple for an armor. Copy gambeson or something like it. :)
Good luck.
 
Okay guys, I guess I'll stick with no uniforms, cause I don't know what the **** are you talking about :]

Thanks for help though
 
In that case, get the ItemEditor and Troop Editor.
http://forums.taleworlds.com/index.php/board,22.0.html

Add the cartridges and guns into the bonus chest so you can get them for free. Other items, other than guns and cartridges, should be available at the merchants as long as they have the merchandise flag.
 
Back
Top Bottom