Sniper Infantry Unit

Information and discussion for custom maps and mods.
Post Reply
Posts: 1
Joined: Wed Oct 24, 2018 6:17 pm

Sniper Infantry Unit

Post by GriffinZJ »

Hello! Im relatively new to this whole thing, but i saw that there was a sniper unit that can be made available on a custom map through a little bit of coding, does anyone know how to do this?

Posts: 410
Joined: Mon Aug 18, 2014 6:00 pm

Re: Sniper Infantry Unit

Post by abcdefg30 »

Hi and welcome! :)
You can make the sniper buildable by simply giving it a prerequisite other than "~disabled" (which is the default), like our Fort Lonestar map does ( ... #L271-L272):

Code: Select all

		Prerequisites: barracks
This makes the unit buildable as soon as barracks (either soviet or allied) are constructed.

Post Reply