Here's detail of the halloween pumpin code configuration, for anyone interested:
Trick or Treat version 2:
Pumpins:
MiniHealthPack - rubbish!
AdrenalinePickup - rubbish!
Redeemerpickup - Very good!
RedeemerIIPickup - Very Very good!
Pumpkin_ShieldPack - OK
UDamagePack - Probably won't use as uDamage can be a treat
PumpkinPickupTreat
Teletoflag - teleports you to enemy flag base
Adren - full adren
UDamage - double damage for between 15 and 30 seconds
Berserk - you have berserk until you die (won't be using this)
Speed - you move a bit faster (until you die or do speed combo)
Regen (RegenTime) - time in game seconds you get health booster
HealthShieldSpeed - between 20 and 60 health/shield, or speed if you have full health & shield
PumpkinPickupTrick
NoDamage (NoDamageTime) - time in game seconds you cannot cause damage (or self damage)
Freezer (FreezeTime) - time in game seconds you move slowly
Gunslost - all your guns are gone
Degeneration (DegenTime) - time in game seconds you lose health
Randomview (RandomViewTime) - time in game seconds you get turned around
TakeDamage - between 40 and 50 health is lost
General config:
MinSpawnTimeInterval=10 - How long the pumpkins take to spawn
MaxSpawnTimeInterval=30
PickupsLifeSpan=30 - How long a pumpkin sits until it is removed
Pumpkin frequency and number configuration:
Amount=10 - How many Pumpkins
For each type of pumpkin pickup, MaxSpawns=n indicates that only n of each may be on the map. So, for example, whatever the chances are of spawning a Pumpkin_RedeemerIIPickup, you can ensure that there are no more than n on the map at any time.
For each type of pumpkin pickup, Prop=n tells the code what proportion of the pumpkins should be of this type. The calculation is Prop/(sum of all Prop).
So, for example if the config was:
Pumpkin_AdrenalinePickup,Prop=4
Pumpkin_Redeemerpickup,Prop=1
Pumpkin_MiniHealthPack,Prop=5
As the sum of all 'Prop=' values is 10, the chances of each spawning as any particular pumpkin will be:
Pumpkin_AdrenalinePickup: 4/10
Pumpkin_Redeemerpickup: 1/10
Pumpkin_MiniHealthPack: 5/10
List of the Pumpkins that can spawn, and their available configuration values:
1. Pumpkin_AdrenalinePickup - standard adrenaline pickup (rubbish!)
2. Pumpkin_Redeemerpickup - standard 'deemer
3. Pumpkin_RedeemerIIPickup - The big WGSNUKE 'deemer
4. Pumpkin_MiniHealthPack - standard minihealth
5. Pumpkin_ShieldPack - standard shield pack
6. Pumpkin_UDamagePack - DD pickup - we probably won't use this, and just get it from the treat
7. PumpkinPickupTreat - a "Treat" from the following things, each pickup randomly gives one of these treats in proportion to the total of the configured P_ value weights. See "Trick and Treat probabilities" below
a. P_Teletoflag=weight - teleports you to enemy flag base
b. P_Adren=weight - full adren
c. P_UDamage=weight - double damage for between 15 and 30 seconds
d. P_Berserk=weight - you have berserk until you die (won't be using this)
e. P_Speed=weight - you move a bit faster (until you die or do speed combo)
f. P_Regen=weight
RegenTime=n - time in game seconds you get health booster
g. P_HealthShieldSpeed - between 20 and 60 health/shield, or speed if you have full health & shield
8. PumpkinPickupTrick - a "Trick" from the following things, each pickup randomly gives one of these tricks in proportion to the total of the configured T_ value weights. See "Trick and Treat probabilities" below
a. T_NoDamage=weight
NoDamageTime=n - time in game seconds you cannot cause damage (or self damage)
b. T_Freezer=weight
FreezeTime=n - time in game seconds you move slowly
c. T_Gunslost=weight - all your guns are gone
d. T_Degeneration=weight
DegenTime=n - time in game seconds you lose health
e. T_Randomview=weight
RandomViewTime=n - time in game seconds you get turned around
f. T_TakeDamage=weight - between 40 and 50 health is lost
Trick and Treat probabilities:
These work the same as pill probabilities, using weightings from the config:
e.g. If you have this config for the tricks...
T_NoDamage=1
T_NoAdren=2
T_Freezer=3
T_Gunslost=4
T_Degeneration=5
T_Randomview=6
T_TakeDamage=7
then as the sum of all the T_values is 31 then each trick pill will have this chances of happening when you pick it up:
T_NoDamage: 1/31
T_NoAdren: 2/31
T_Freezer: 3/31
T_Gunslost: 4/31
T_Degeneration: 5/31
T_Randomview: 6/31
T_TakeDamage: 7/31
The weights for a treat pill work the same way.
This is the ini file we're starting with:
[MiA_halloween_tot.MutRandomPickupSpawnsV2]
Pickups=(Pickup="MiA_Halloween_tot.Pumpkin_AdrenalinePickup",Prop=4)
Pickups=(Pickup="MiA_Halloween_tot.Pumpkin_Redeemerpickup",Prop=8,MaxSpawns=1)
Pickups=(Pickup="MiA_Halloween_tot.Pumpkin_RedeemerIIPickup",Prop=1,MaxSpawns=1)
Pickups=(Pickup="MiA_Halloween_tot.Pumpkin_MiniHealthPack",Prop=6)
Pickups=(Pickup="MiA_Halloween_tot.Pumpkin_ShieldPack",Prop=8)
Pickups=(Pickup="MiA_Halloween_tot.Pumpkin_UDamagePack",Prop=0)
Pickups=(Pickup="MiA_halloween_tot.PumpkinPickupTreat",Prop=20)
Pickups=(Pickup="MiA_halloween_tot.PumpkinPickupTrick",Prop=20)
MinSpawn`TimeInterval=10.000000
MaxSpawnTimeInterval=30.000000
Amount=12
PickupsLifeSpan=30.000000
P_Teletoflag=1
P_Adren=2
P_UDamage=2
P_Berserk=0
P_Speed=2
P_Regen=2
P_HealthShieldSpeed=2
T_NoDamage=1
T_NoAdren=1
T_Freezer=1
T_Gunslost=1
T_Degeneration=1
T_Randomview=1
T_TakeDamage=1
NoDamageTime=8
FreezeTime=5
DegenTime=10
RandomViewTime=7
RegenTime=10