Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """Script to print a randomized list of Halo 2 Anniversary player traits.
- Application: Choose Team Slayer BR. Set Attacker Traits to those
- provided by this script. Play two rounds to 25, Red vs
- Blue. Blue team will have the randomized traits during
- round 1. Red team will have default traits. The teams will
- automatically swap roles for the second round."""
- traits = {
- 'Shields and Health': {
- 'Damage Resistance': [
- 'Unchanged', '10%', '25%', '45%', '50%', '90%',
- '100% (Normal)', '110%', '150%', '200%', '300%', '500%',
- '1000%', '2000%', 'Invulnerable'
- ],
- 'Shield Multiplier': [
- 'Unchanged', 'No Shields', 'Normal Shields',
- '1.5x Overshields', '2x Overshields', '3x Overshields',
- '4x Overshields'
- ],
- 'Shield Recharge Rate': [
- 'Unchanged', '-25%', '-10%', '-5%', '0%', '10%', '25%',
- '50%', '75%', '90%', '100%', '110%', '125%', '150%',
- '200%'
- ],
- 'Shield Recharge Wait': [
- 'Unchanged', 'Instant', '1 Second', '2 Seconds',
- '3 Seconds', '4 Seconds', '5 Seconds', '6 Seconds',
- '7 Seconds', '8 Seconds', '9 Seconds', '10 Seconds',
- '12 Seconds', '15 Seconds', '20 Seconds', '30 Seconds',
- '45 Seconds', '60 Seconds'
- ],
- 'Headshot Immunity': [
- 'Unchanged', 'Disabled', 'Enabled'
- ],
- 'Assassination Immunity': [
- 'Unchanged', 'Disabled', 'Enabled'
- ]
- },
- 'Weapons and Damage': {
- 'Primary Weapon': [
- 'Unchanged', 'Assault Rifle', 'SMG', 'SMG Suppressed',
- 'Battle Rifle', 'Covenant Carbine', 'Magnum',
- 'Survivor Magnum', 'Plasma Rifle', 'Brute Plasma Rifle',
- 'Plasma Pistol', 'Shotgun', 'Survivor Shotgun', 'Needler',
- 'Sniper Rifle', 'Beam Rifle', 'Fuel Rod Cannon',
- 'Rocket Launcher', 'Brute Shot', 'Sentinel Beam',
- 'Energy Sword', 'Infected Sword', 'Random'
- ],
- 'Secondary Weapon': [
- 'Unchanged', 'None', 'Assault Rifle', 'SMG',
- 'SMG Suppressed', 'Battle Rifle', 'Covenant Carbine',
- 'Magnum', 'Survivor Magnum', 'Plasma Rifle',
- 'Brute Plasma Rifle', 'Plasma Pistol', 'Shotgun',
- 'Survivor Shotgun', 'Needler', 'Sniper Rifle',
- 'Beam Rifle', 'Fuel Rod Cannon', 'Rocket Launcher',
- 'Brute Shot', 'Sentinel Beam', 'Energy Sword',
- 'Infected Sword', 'Random'
- ],
- 'Grenade Count': [
- 'Unchanged', 'No Grenades', '1x Frag', '2x Frag',
- '1x Plasma', '2x Plasma'
- ],
- 'Damage Modifier': [
- 'Unchanged', '0%', '10%', '25%', '50%', '75%', '90%',
- '100%', '110%', '125%', '150%', '200%', '300%', '500%'
- ],
- 'Melee Modifier': [
- 'Unchanged', '0%', '10%', '25%', '50%', '75%', '90%',
- '100%', '110%', '125%', '150%', '200%', '300%', '500%'
- ],
- 'Infinite Ammo': [
- 'Unchanged', 'Disabled', 'Enabled', 'Bottomless Clip'
- ],
- 'Weapon Pickup': [
- 'Unchanged', 'Enabled', 'Disabled'
- ]
- },
- 'Motion Tracker Mode': [
- 'Unchanged', 'Off', 'Allies Only', 'Normal Mode',
- 'Enhanced Mode'
- ],
- 'Motion Tracker Range': [
- 'Unchanged', '10 Meters', '25 Meters', '40 Meters',
- '75 Meters', '150 Meters'
- ],
- 'Movement': {
- 'Player Speed': [
- 'Unchanged', '0%', '25%', '50%', '75%', '90%', '100%',
- '110%', '120%', '130%', '150%', '170%', '180%', '200%',
- '300%'
- ],
- 'Jump Height': [
- 'Unchanged', '0%', '25%', '50%', '75%', '90%', '100%',
- '110%', '125%', '150%', '175%', '200%', '300%'
- ],
- 'Player Gravity': [
- 'Unchanged', '50%', '75%', '100%', '125%', '150%', '200%'
- ],
- 'Fall Damage': [
- 'Unchanged', '0%', '10%', '25%', '50%', '75%', '90%',
- '100%', '110%', '125%', '150%', '200%', '300%', '500%'
- ],
- 'Vehicle Use': [
- 'Unchanged', 'None', 'Passenger Only', 'Driver Only',
- 'Gunner Only', 'No Passenger', 'No Driver', 'No Gunner',
- 'Full Use'
- ]
- },
- 'Appearance': {
- 'Active Camo': [
- 'Unchanged', 'Off', 'Poor Camo', 'Good Camo'
- ],
- 'Waypoint': [
- 'Unchanged', 'No Waypoint', 'Visible to Allies',
- 'Visible to Everyone'
- ],
- 'Visual Effect': [
- 'Unchanged', 'Overshield', 'Speed Boost', 'Damage Boost',
- 'Flood', 'Juggernaut Settings'
- ],
- 'Primary Color': [
- 'Unchanged', 'Red', 'Orange', 'Gold', 'Dark Green',
- 'Light Green', 'Dark Blue', 'Light Blue', 'Purple',
- 'Pink', 'Black', 'Grey', 'White', 'Brown', 'Sand',
- 'Dark Red', 'Infection'
- ],
- 'Secondary Color': [
- 'Unchanged', 'Red', 'Orange', 'Gold', 'Dark Green',
- 'Light Green', 'Dark Blue', 'Light Blue', 'Purple',
- 'Pink', 'Black', 'Grey', 'White', 'Brown', 'Sand',
- 'Dark Red', 'Infection'
- ]
- }
- }
- def pickRandomOption(values):
- from random import randrange
- items = []
- items.extend(values)
- return items.pop(randrange(len(items)))
- print '\nShields and Health', '\n\t', 'Damage Resistance:',\
- pickRandomOption(traits['Shields and Health']['Damage Resistance']),\
- '\n\t', 'Shield Multiplier:',\
- pickRandomOption(traits['Shields and Health']['Shield Multiplier']),\
- '\n\t', 'Shield Recharge Rate:',\
- pickRandomOption(traits['Shields and Health']['Shield Recharge Rate']),\
- '\n\t', 'Shield Recharge Wait:',\
- pickRandomOption(traits['Shields and Health']['Shield Recharge Wait']),\
- '\n\t', 'Headshot Immunity:',\
- pickRandomOption(traits['Shields and Health']['Headshot Immunity']),\
- '\n\t', 'Assassination Immunity:',\
- pickRandomOption(traits['Shields and Health']['Assassination Immunity']),\
- '\n\nWeapons and Damage', '\n\t', 'Primary Weapon:',\
- pickRandomOption(traits['Weapons and Damage']['Primary Weapon']), '\n\t',\
- 'Secondary Weapon:',\
- pickRandomOption(traits['Weapons and Damage']['Secondary Weapon']),\
- '\n\t', 'Grenade Count:',\
- pickRandomOption(traits['Weapons and Damage']['Grenade Count']), '\n\t',\
- 'Damage Modifier:',\
- pickRandomOption(traits['Weapons and Damage']['Damage Modifier']), '\n\t',\
- 'Melee Modifier:',\
- pickRandomOption(traits['Weapons and Damage']['Melee Modifier']), '\n\t',\
- 'Infinite Ammo:',\
- pickRandomOption(traits['Weapons and Damage']['Infinite Ammo']), '\n\t',\
- 'Weapon Pickup:',\
- pickRandomOption(traits['Weapons and Damage']['Weapon Pickup']),\
- '\n\nMotion Tracker Mode:',\
- pickRandomOption(traits['Motion Tracker Mode']),\
- '\nMotion Tracker Range:',\
- pickRandomOption(traits['Motion Tracker Range']),\
- '\n\nMovement', '\n\t', 'Player Speed:',\
- pickRandomOption(traits['Movement']['Player Speed']), '\n\t',\
- 'Jump Height:', pickRandomOption(traits['Movement']['Jump Height']),\
- '\n\t', 'Player Gravity:',\
- pickRandomOption(traits['Movement']['Player Gravity']), '\n\t',\
- 'Fall Damage:', pickRandomOption(traits['Movement']['Fall Damage']),\
- '\n\t', 'Vehicle Use:',\
- pickRandomOption(traits['Movement']['Vehicle Use']), '\n\nAppearance',\
- '\n\t', 'Active Camo:',\
- pickRandomOption(traits['Appearance']['Active Camo']), '\n\t',\
- 'Waypoint:', pickRandomOption(traits['Appearance']['Waypoint']), '\n\t',\
- 'Visual Effect:', pickRandomOption(traits['Appearance']['Visual Effect']),\
- '\n\t', 'Primary Color:',\
- pickRandomOption(traits['Appearance']['Primary Color']), '\n\t',\
- 'Secondary Color:',\
- pickRandomOption(traits['Appearance']['Secondary Color'])\
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement