Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Wow.... Maybe i shouldn't have touched the 44.Revolver's Code.  (Read 1155 times)

Benblu

  • Bay Watcher
  • Sorry Nothing
    • View Profile
Wow.... Maybe i shouldn't have touched the 44.Revolver's Code.
« on: December 03, 2011, 08:22:18 pm »

Hi, new to Bay12, i decided to peek my head in the code with Notepad++, and ended up making a Liberal Revolver that can basically destroy anything.
Not even joking, this revolver fires three shots with the ability to pierce a tank, and has made a bloody mess of the CEO's Garden.
Of course, i did get my ass kicked during the chase by mercenaries, but even then, most of them were dead.
I'll post the code so you can have wacky adventures too.(It's basically me Mishmashing different pieces of code together, without changing much, but if you want, i can try to make something myself, but still, this code is for those who are not exactly into coding to get a cheap way to be godawfully overpowered.)
Code: [Select]
<weapontype idname="WEAPON_REVOLVER_44">
        <name>Liberal Revolver</name>
        <name_future>Heavy Liberal Revolver</name_future>
        <shortname>Lib.Rev</shortname>
        <shortname_future>H.Lib.Rev</shortname_future>
        <can_take_hostages>true</can_take_hostages>
        <threatening>true</threatening>
        <legality>1</legality>
        <fencevalue>100</fencevalue>
        <size>5</size>
        <attack>
            <priority>1</priority>
            <ranged>true</ranged>
            <attack_description>shoots at</attack_description>
            <skill>PISTOL</skill>
            <ammotype>CLIP_44</ammotype>
            <random_damage>500</random_damage>
            <fixed_damage>250</fixed_damage>
            <shoots>true</shoots>
            <bleeding>true</bleeding>
            <damages_armor>true</damages_armor>
            <armorpiercing>25</armorpiercing>
<number_attacks>3</number_attacks>
            <successive_attacks_difficulty>3</successive_attacks_difficulty>
            <critical>
                <chance>100</chance>
                <hits_required>3</hits_required>
                <severtype>NASTY</severtype>
            </critical>
        </attack>
        <attack>
            <priority>2</priority>
            <attack_description>swings at</attack_description>
            <skill>CLUB</skill>
            <strength_min>2</strength_min>
            <strength_max>6</strength_max>
            <random_damage>200</random_damage>
            <fixed_damage>200</fixed_damage>
            <bruises>true</bruises>
        </attack>
    </weapontype>
The best part is this thing's legal... Stupid Conservatives. :)
The Nerf that comes with it is that it literally burns through ammo, due to firing 3 shots and only being able to carry nine speedloaders, so it's good for general assaults, but not prolonged sieges.
For that, you'll have to make a Liberal Assault Rifle  ;)
« Last Edit: December 03, 2011, 08:57:37 pm by Benblu »
Logged
Quoth the Raven, Nevermore!