Weapon Groups - A Way to allow saner Deploy & more then 2 Weapons
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
Invalid
|
Wishlist
|
DCoder DCoder |
Bug Description
After seeing my issues get rejected, I decided that there's a better way to handle multistate weapons. I Call it "Weapon Groups".
In normal YR, units can either have 2 weapons, or 1 when undeployed and 1 when deployed. I met some proposals on this site to add Ternary and Quaternary weapons, but it's hard to understand how it will behave with Deploy and stuff like that.
So Here's my proposal:
DeployGroups - string; If not None (default), the unit uses DeployFire to determinate it. Otherwise, when Deployed, the unit fires the groups in WeaponGroups.
NormalGroups - string; If not None (default), the unit uses Primary & Secondary to determinate it. Otherwise, when not deployed/inside *, the unit fires the groups in WeaponGroups.
UCGroups - string; If not None (default), the unit uses OccupyWeapon to determinate it. Otherwise, when inside a building, the unit fires the groups in WeaponGroups.
OpenTopGroups - string; If not None (default), the unit uses OpenTransportWeapon to determinate it. Otherwise, when inside a building, the unit fires the groups in WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
- The last 2 are a saner, more human-understan
And add this into artmd.ini
WeaponGroups.
WeaponGroups.
Naturally, the WeaponGroups are loaded only when referenced from a *Groups tag. Otherwise they are ignored. Also, the reason I said groups rather then group is because, at some later stage (at Ares 3000), I would like to add multifiring. Let's say that each group has it's own ROF and handle the targeting problems, and we're done.
##### ADDITIONAL INFORMATION #####
Example (for GI):
[E1]
...
NormalGroups=Main
DeployGroups=
UCGroups=UC
OpenTopGroups=
WeaponGroups.
; Not a mistake. WW swapped Para & M60 so Para is actually the deployed GI Weapon
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
WeaponGroups.
...
Which would work like the normal GI
So basically Weapon Sets from Generals?