Results 1 to 5 of 5
  1. #1
    PikaJew
    An actually sane person
    Banned

    Join Date:
    June 2017
    Location:
    Getting infected while typing
    Posts:
    349

    Adding Entwatch plugin to existing ZE maps

    I was looking into adding entwatch to a few ze maps because a lot of people get items on rizomata for example and don't know what to do with them, does anyone know of a tutorial on how to set it up?

  2. #2
    Cept For Her
    SG Fanboy

    Cept For Her's Avatar
    Join Date:
    November 2016
    Location:
    Steam-Gamers
    Posts:
    1,941
    I have a question and im going to probably sound stupid for not knowing this but, what is entwatch?

  3. #3
    PikaJew
    An actually sane person
    Banned

    Join Date:
    June 2017
    Location:
    Getting infected while typing
    Posts:
    349
    Quote Originally Posted by -- Cept For Her -- View Post
    I have a question and im going to probably sound stupid for not knowing this but, what is entwatch?
    Entwatch is the plugin we have on ze that shows who is in possession of items and assigns them a clantag with the cooldown timer and item name

  4. #4
    Black Rain
    am ded
    Black Rain's Avatar
    Join Date:
    June 2013
    Posts:
    5,830
    Here's a guide on how to create cfgs for maps that have entwatch courtesy of Punky

    Quote Originally Posted by Punky View Post
    Config Creation

    Here's the template you'll need to use or use one of already made configs: Template File. You can download it here, but it's also included in the updated config pack.

    "entities"
    {
    "0" //Simple order of items starting from 0, for next items use 1,2,3 etc.
    {
    "name" "" //This is what will be displayed in chat (ie. Player has picked up Heal Materia)
    "shortname" "" //This is what you will see in the scoreboard (limited space, so please use shortened names like Heal)
    "game_ui_name" "" //Should leave this blank, unless the specified item uses game_ui to control actions (ie.Dovakhin -Skyrim)
    "color" "" //example: "{darkred}" Specifies the color of the item when displayed in the chat. Color combinations below
    "buttonclass" "" //In most cases it's func_button, but others can happen, like func_door
    "filtername" "" //No need to fill this, but it's a "filtername" keyvalue in the weapon_* entity
    "hasfiltername" "false" //Leave this false
    "blockpickup" "false" //Make it pickable or not
    "allowtransfer" "true" //Self explanatory
    "forcedrop" "true" //Drop the item on death or not
    "chat" "true" //Show it in chat or not
    "hud" "true" //Display in scoreboard or not
    "hammerid" "0" //This is the "hammerid" of the weapon_* entity that carries the item. Instructions below.
    "mode" "0" // 1-spam protection only, 2 - unlimited uses with cooldown, 3 - max uses, 4 - max uses with cooldowns between each use, 5 - max uses with cooldown after those uses (ie. use 3 times > cooldown > use 3 times > cd)
    "maxuses" "0" //Self explanatory
    "cooldown" "0" //Time before being able to use again
    "maxamount" "0" //How many instances of this item can be in the map. ze_toaster is a good example. (obviously put 1 as a starting value if you want it to work)
    }
    }

    Remember to save the file as <mapname>.cfg.

    Colors you can use:

    "{default}", "{darkred}", "{purple}", "{green}", "{lightgreen}", "{lime}", "{red}", "{grey}", "{olive}", "{a}", "{lightblue}", "{blue}", "{d}", "{pink}", "{darkorange}", "{orange}"



    Now, how do you obtain necessary stuff like hammerid or cooldown time?

    Download a tool called VIDE (get it here: VIDE) or decompile the map and open the .vmf file in notepad++ or any other decent text editor, if you don't want to download.



    Those are the most common cooldown systems. Sometimes you might have to search in a logic_relay to find it, but feel free to message me if you can't find something.

    As for the .vmf way, you'll have to do the same, but it's 1000x harder.

    There's also a sort of hidden feature, that allows you to register normal buttons instead of items, give them names and display in chat when used. Simply add a keyvalue called "entityid" under "hammerid" in the cfg and copy the hammerid value into it. Used with mode 2.
    It's quite easy to do them once you get the hang of it and they don't take much time. Have fun

  5. The Following User Says Thank You to Black Rain For This Useful Post:
    PikaJew (02-11-2018)

  6. #5
    Venom™
    Memes

    Join Date:
    October 2015
    Location:
    Illinois
    Posts:
    452
    Good luck pika on your entwatch journey

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •