Jump to content

WAE

Member
  • Posts

    60
  • Joined

  • Last visited

Posts posted by WAE

  1.  

    Needs to be:

    class MakarovSD {
    class suicide {
    text = "Commit Suicide";
    script = "execVM 'custom\suicide_exec.sqf'";
    };
    class Colt1911 {
    class suicide {
    text = "Commit Suicide";
    script = "execVM 'custom\suicide_exec.sqf'";
    };
    class glock17_EP1 {
    class suicide {
    text = "Commit Suicide";
    script = "execVM 'custom\suicide_exec.sqf'";
    };
    class M9 {
    class suicide {
    text = "Commit Suicide";
    script = "execVM 'custom\suicide_exec.sqf'";
    };
    class M9SD {
    class suicide {
    text = "Commit Suicide";
    script = "execVM 'custom\suicide_exec.sqf'";
    };
    class Makarov {
    class suicide {
    text = "Commit Suicide";
    script = "execVM 'custom\suicide_exec.sqf'";
    };
    class revolver_EP1 {
    class suicide {
    text = "Commit Suicide";
    script = "execVM 'custom\suicide_exec.sqf'";
    };
    class revolver_gold_EP1 {
    class suicide {
    text = "Commit Suicide";
    script = "execVM 'custom\suicide_exec.sqf'";
    };
    };

    Would I overwrite the very last closing bracket and semicolon with this? The way I did it matched the format of the self bloodbag option and that works fine, just that the weapon one doesn't. I'll upload my whole file and you can take a look.

     

    https://onedrive.live.com/redir?resid=C126C8216E63E74B!459&authkey=!AAP4yziFq3flndc&ithint=file%2c.hpp (Uploaded to SkyDrive because the uploader wont let me upload files with the .hpp extension.

  2. I'm currently using Maca's Script: http://epochmod.com/forum/index.php?/topic/4834-add-right-click-options-to-items/ to add right click options on items. I have a suicide script installed and it is currently on the scroll menu. I've found that it's really easy to accidentally press "Commit Suicide" on the scroll wheel when you don't intend to do so in the first place. When I'm unlocking a door, I've found that I accidentally press it quite a lot when again, I don't intend to press it.

     

    My server currently features a self bloodbag script that's pretty much identical to a lot of Epoch Servers. I use Maca's script to add a right click option to the class name "ItemBloodbag" and tell it to execute the bloodbag script when I press it.

     

    The config file for the script looks like this: (extra_rc.hpp)

    class ItemBloodbag {
        class bloodbag_self {
            text = "Bloodbag Self";
            script = "execVM 'custom\selfBB_exec.sqf'";
        };
    };
    

    Basically, I want to be able to add the same sort of thing as this to a right click menu on a secondary weapon to make it execute the suicide script. I have tried the following:

    class MakarovSD {
        class suicide {
            text = "Commit Suicide";
            script = "execVM 'custom\suicide_exec.sqf'";
        };
    };
    class Colt1911 {
        class suicide {
            text = "Commit Suicide";
            script = "execVM 'custom\suicide_exec.sqf'";
        };
    };
    class glock17_EP1 {
        class suicide {
            text = "Commit Suicide";
            script = "execVM 'custom\suicide_exec.sqf'";
        };
    };
    class M9 {
        class suicide {
            text = "Commit Suicide";
            script = "execVM 'custom\suicide_exec.sqf'";
        };
    };
    class M9SD {
        class suicide {
            text = "Commit Suicide";
            script = "execVM 'custom\suicide_exec.sqf'";
        };
    };
    class Makarov {
        class suicide {
            text = "Commit Suicide";
            script = "execVM 'custom\suicide_exec.sqf'";
        };
    };
    class revolver_EP1 {
        class suicide {
            text = "Commit Suicide";
            script = "execVM 'custom\suicide_exec.sqf'";
        };
    };
    class revolver_gold_EP1 {
        class suicide {
            text = "Commit Suicide";
            script = "execVM 'custom\suicide_exec.sqf'";
        };
    };
    

    I have had no success with this. Just seems like you cannot add a right click option to weapons, but I might be wrong.

     

    Any help is appreciated,

    Thanks.

  3. well you are correct, but most players who are kamikazing don't really think and tend to fly as fast as they can since that will destroy more in their mindset. so yes if you go slower than the script defines then it's not kamikaze in script terms. but agin the script was build based on the mindset of a "kamikazer"

    Good point. Never the less, a great script!

  4. Awesome script + idea. Just looking at this, wouldn't people just be able to get to a speed of say 50 or something which is underneath the variable and kamikaze still. If you set the variable too low, the landing thing wouldn't work, because it'd be impossible to land near a base. This is because if you put the variable at 50, you'd find it hard to land because you'd be stalling out if you were going under 50 depending on what type of angle you were trying to land at. If you set the variable too high, you'd have people going under the set speed to kamikaze. That's the only "kink" I've found in it, but overall, great script. I haven't actually tested this out yet, so if I am wrong, please don't kill me :P

×
×
  • Create New...