• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

The meaning of "#" in a facility Unit Type?

mongoose

SOH-CM-2025
Such as the following
"#armor_aa_mobile"
"#armor_aa_static"
"#support_gas"
"#support_emergency_fire"
"#tracked"

and so on.

I have no idea what these are or how they work or are made.:dizzy:
 
From memory it was how you could spawn any model in with that picktype (or category in the case of the #tracked) parameter in the xdp file rather than a specific model,

If you put another hash tag at the end followed by a number you can get a group of different models to spawn.

For example
<Unit Type="#fighter_bomber#1" Position="-274.52 247.55" Angle="25.00"/>
<Unit Type="#fighter_bomber#1" Position="-253.80 428.65" Angle="-170.00"/>
<Unit Type="#fighter_bomber#1" Position="-163.90 195.96" Angle="25.00"/>
<Unit Type="#fighter_bomber#1" Position="-66.39 150.50" Angle="25.00"/>
will give you 3 spawns of the same fighter_bomber

If you also have on the same facility
<Unit Type="#fighter_bomber#2" Position="-79.81 397.97" Angle="-170.00"/>
<Unit Type="#fighter_bomber#2" Position="-335.97 484.66" Angle="-130.00"/>
<Unit Type="#fighter_bomber#2" Position="-163.91 412.80" Angle="-170.00"/>
You will get 3 spawns of a different fighter_bomber

In the case above if the facility unit type didnt have the hash tag and number at the end of the parameter you end up with all spawns being the same fighter_bomber

This can be used for all picktype and category parameters
 
Ok I need a reminder the meaning of picktype and the relationship between that and spawns. I note none of the # items are actually in the spawn folder, so are you saying it will spawn anything with a picktype (in the xdp file) labeled "fighter_bomber" or "armor_aa_mobile" ?

EDIT: answered in spawn sticky
 
Last edited:
Back
Top