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

正在查看此主题的用户

Mauromagno Patriota

Sergeant Knight
I need a code to differentiate infantry archers and others in multiplayer, but all carry a musket
the idea is to select infants (rifle) and put them on one flank and archers (hunters or grenadiers) elsewhere, in a battle

Can someone help me out?


 
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

 
后退
顶部 底部