How to add them: Use module_particle_system.py- each particle system points to a mesh to spawn, can be any shape or size, but usually its just a billboard mesh.
How to attach them to items: Use module_items.py -
Code:
["torch", "Torch", [("club",0)], itp_type_one_handed_wpn|itp_primary, itc_scimitar, 11 , weight(2.5)|difficulty(0)|spd_rtng(95) | weapon_length(95)|swing_damage(11 , blunt) | thrust_damage(0 , pierce),imodbits_none,
[(ti_on_init_item, [(set_position_delta,0,60,0),(particle_system_add_new, "psys_torch_fire"),(particle_system_add_new, "psys_torch_smoke"),(set_current_color,150, 130, 70),(add_point_light, 10, 30),
])]],
The important stuff here is (set_position_delta,0,60,0),(particle_system_add_new, "psys_torch_fire")- which will attach a particle system from module_particle_system
You can also use (particle_system_burst, "psys_your_particle", pos2, 1), which bursts a total amount of particles and a position you have.
Limits are: normal processing limits dont spawn too many. Hard coded randomization for vector speeds and rotations. Limited Vector control (world position only).
Trails- there are no trail renderers. If you attach a particle system to an object and the object is moving tho, a particle trail will be created if that's what you mean.
You cant use any system external to mount and blade to create particles. Although if you know what you're doing I guess you could bake particles to textures.
For advice on starting out- I suggest start by modifying the torch item slightly and see what happens. Then try modifying the torch_fire particle system and see what happens. Then try creating your own particle system. Then try creating your own mesh. Then try attaching your particle system to items and scene props.