1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

HL2RP karl-police's plugin collection

Discussion in 'Plugins' started by karl-police, Apr 20, 2015.

  1. ShadowOfDoubt

    ShadowOfDoubt In the grim dark future. There is only SCG.

    I don't mean to offend just..
    My head what?
     
    • Agree Agree x 7
    • Funny Funny x 1
  2. karl-police

    karl-police Hotrod turret Clockwork Customer

    It's like... well a challenge, I want to do a Calculator Plugin to know if I can do that! And if I made it working I will be happy and also if someone uses it. You can't take a shovel and dig until you find a plugin you like, you need to make them or someone who does them.

    Also a Stalker plugin update.
    First of all the voices are already fixed and didn't got changed this time, if someone has problems with the voices contact me!
    This update includes the command /scream it will play now the wav and it will check if you have the faction and if you have the stalker model, it searches for a model who contains the name "stalker" in it, so if you see now any other custom stalker models then let me know their modelname and I will add a new string or something!



    THE UPDATE WILL BE AVAILABLE AT NOW
     
    • Like Like x 1
    • Informative Informative x 1
    • Good Coder Good Coder x 1
    Last edited: Sep 18, 2016
  3. SireElite

    SireElite what's the big fucking deal?

    k what
    why do you need to make a calculator plugin
     
    • Agree Agree x 1
  4. karl-police

    karl-police Hotrod turret Clockwork Customer

    It's like... well a challenge, I want to do a Calculator Plugin to know if I can do that! And if I made it working I will be happy and also if someone uses it. You can't take a shovel and dig until you find a plugin you like, you need to make them or someone who does them.

    and I am uploading the new update of stalker now ;)
     
  5. prom queen

    prom queen Guest

    yeah i bet you can make a calculator plugin. i think he wanted to know an owner's use for it tho
     
  6. You're translator isn't working :)


    EDIT: I MEANT YOUR* DAMN IT
     
    Last edited: Oct 22, 2015
  7. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    oh the irony
     
    • Funny Funny x 2
  8. Oh shit.
     
  9. SireElite

    SireElite what's the big fucking deal?

    so calculator..
    anybody can literally just search "calculator" on google and find 1 which is faster, easier, and you don't actually type thing's you just click.
     
  10. karl-police

    karl-police Hotrod turret Clockwork Customer

    Who made Legendary User..?
    Saturday or Sunday new industrial v2 infos maybe the update :D:
     
  11. AdamD

    AdamD Clockwork Customer

    No because obviously everyone in HL2 loved using calculators ;)
     
    • Funny Funny x 1
  12. karl-police

    karl-police Hotrod turret Clockwork Customer

    So, after I updated alot of Stalker updates about the voice fixes they never exactly got fixed.
    The new problem is that everything works fine just only if you say a voice line it does not get played and the chat message doesn't change.

    Could it be because I need to put the line like... "Scream 1" to "scream1" ? yes or no?
     
  13. SireElite

    SireElite what's the big fucking deal?

    dude just add cwu approved calculator's!
     
    • Funny Funny x 1
  14. AdamD

    AdamD Clockwork Customer

    ye dud cmon it will be so good for intensive passive rp!!!!
     
  15. karl-police

    karl-police Hotrod turret Clockwork Customer

    And what model?
     
  16. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    Can you show the code?
     
  17. karl-police

    karl-police Hotrod turret Clockwork Customer

    Code:
    local PLUGIN = PLUGIN;
    
    PLUGIN.voices = Clockwork.kernel:NewLibrary("StalkerSounds");
    
    PLUGIN.voices.stored = {
        stalkerSounds = {}
    };
    
    --Function to add a Stalker Sound.
    function PLUGIN.voices:AddStalker(faction, command, phrase, sound, female, menu)
        self.stored.stalkerSounds[#self.stored.stalkerSounds + 1] = {
            command = command,
            faction = faction,
            phrase = phrase,
            female = female,
            sound = sound,
            menu = menu
        };
    end;
    
    --Add the voice commands.
    PLUGIN.voices:AddStalker("Stalker", "Scream 1", "Waaahhhh!", "npc/stalker/go_alert2.wav");
    PLUGIN.voices:AddStalker("Stalker", "Scream 2", "WAAHHHHHHHHHHHHH!", "npc/stalker/go_alert2a.wav");
    PLUGIN.voices:AddStalker("Stalker", "Alert 1", "Wuuaahhhch", "npc/stalker/stalker_alert1b.wav");
    PLUGIN.voices:AddStalker("Stalker", "Alert 2", "Huaaahhhch", "npc/stalker/stalker_alert2b.wav");
    PLUGIN.voices:AddStalker("Stalker", "Alert 3", "Auuuupppch", "npc/stalker/stalker_alert3b.wav");
    PLUGIN.voices:AddStalker("Stalker", "Pain 1", "Uaahach", "npc/stalker/stalker_pain1.wav");
    PLUGIN.voices:AddStalker("Stalker", "Pain 2", "Ahhhrlaa", "npc/stalker/stalker_pain2.wav");
    PLUGIN.voices:AddStalker("Stalker", "Pain 3", "Uaaah", "npc/stalker/stalker_pain3.wav");
    
    if (CLIENT) then
        table.sort(PLUGIN.voices.stored.stalkerSounds, function(a, b) return a.command < b.command; end);
       
        for k, v in pairs(PLUGIN.voices.stored.stalkerSounds) do
            Clockwork.directory:AddCode("Stalker", [[
                <div class="auraInfoTitle">]]..string.upper(v.command)..[[</div>
                <div class="auraInfoText">]]..v.phrase..[[</div>
            ]], true);
        end;
    end;
     
  18. Sixx

    Sixx presidential #1 Legend

    You do know you don't even need to do that, right? You can literally just put a bit of arithmetic into the search bar and Google will do it for you?
    But that's besides the point. If Karl wants to make an in-game calculator, it's not your place to try and call it pointless.

    EDIT: @karl-police what's the deal with the 'female' and 'menu' parameters? I've noticed you're passing the references to them in the Function but they're not being returned anywhere.
     
  19. karl-police

    karl-police Hotrod turret Clockwork Customer

    What I am actually doing for next is working on industrial v2 and manhack faction
     
  20. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    Word of advice, don't move so fast. Finish your broken or unfinished plugins first, then move onto other projects.
     

Previous Readers (Total: 0)