-
Notifications
You must be signed in to change notification settings - Fork 35
Rewrite the crate bonus logic
EvilRenegade edited this page Jan 11, 2012
·
1 revision
This specification was generated from a feature plan imported into Ares's LaunchPad bugtracker. If you are interested in fleshing out this feature, please update this page.
Crate goodies are one more messed up feature of this lovable game. I'm going to rewrite their routine soon, so let's hear your ideas. So far I've got this:
[CrateGoodies]
1 = FreeUnit
2 = Money
3 = Upgrade
4 = Explosion
5 = Heal
6 = Cloak
7 = Experience
; and so on
[FreeUnit]
Crate.Effect = CrateBonus.Freebie
; generic crate params
Crate.Sound = FreeUnitSound
Crate.EVA = EVA_ReinforcementsArrived ; boredom
; Freebie specific params
Crate.FreeUnits = 1 ; how many random units to spawn
Crate.FreeInfantry = 3 ; - inf -
Crate.Weight = 5 ; like country random weighing, x shares in (sum x)
[Upgrade]
Crate.Effect = CrateBonus.Upgrade
; generic crate params
Crate.Sound = UnitUpgradeSound
Crate.EVA = EVA_UnitUpgraded
Crate.Anim = RING1 ; randomness prevails
Crate.Radius = 3
; Upgrade specific params
Crate.ArmorMultiplier = 1.1
Crate.SpeedMultiplier = 0.7
Crate.FirepowerMultiplier = 1.05
[Experience]
Crate.Effect = CrateBonus.XP
; generic crate params
Crate.Sound = UnitUpgradeSound
Crate.EVA = EVA_UnitUpgraded
Crate.Radius = 3
; Upgrade specific params
Crate.ExtraExperienceAbsolute = 300 ; 300 credits worth
Crate.ExtraExperienceRelative = 0.4 ; 40% worth of one promotion level, serious bonus
; and so on
As nice as that is, it is really not compatible with the current [Powerups] model, so
[CrateRules]Powerups.UseAresModel = y/n
or something?
(Gotta be careful not to break the different handling in singleplay campaign mode.)
Also, aside from the new bonus types, the actual crate randomness logic could use some tweaking. This will be changed, not sure if configuration to leave the old broken logic in is worth it.
- This needs to be filled by a supporter/drafter of this specification.
- This needs to be filled by a supporter/drafter of this specification.