differentiate infantry, archers and others in multiplayer with muskets (Help)

Users who are viewing this thread

You could try removing the ranged guarantee flag from the troops you want marked as infantry, but only give them a musket as a weapon. I forget if they'll spawn with it automatically or not. If that doesn't work, use an agent_set_division command in ti_on_agent_spawn for the troop types you want as infantry but are guaranteed a ranged weapon. (You may need to set a slot at spawn and have a periodic trigger 'reminder' with a repeated agent_set_division to enforce this division switching.)
 
I do it :smile:

I left tf_guarantee_all_wo_ranged, the troops I need and add the code of SonKidd

http://forums.taleworlds.com/index.php/topic,143195.0.html

but I changed the item guaranteed by musket in the line:

    (ge, "type", itp_type_musket),

  and the next line, I disable

  # (You, "type", itp_type_polearm)

Now I have 2 lines of musketeers.... grenadiers and hunters and line infantry  :cool:

11987196_932781960142833_8835388622151667503_n.jpg


in multiplayer

 
Back
Top Bottom