GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 10 Maja 2016 Share Napisano 10 Maja 2016 Unusual ArrowsBy: TheWreckingCrew6 Description: Add Chosen Unusual Effects to your Projectiles. Comes with built in menu support, automatic updating, mysql/sqlite support, and donator support. Menu Support: Spoiler Effects Menu: Admin Menu: Commands: uae - Opens the effects selection menu. ua_update - Forces a check for an update. ua_reload - Reloads the effects config file. Convars: (Automatically Written to unusual_arrows.cfg in your tf/cfg/sourcemod/ folder.) ua_enabled (Default: 1) - Enables/Disables the plugin. ua_autoupdate (Default: 1) - Enables/Disables the automatic update feature of this plugin. ua_reloadupdate (Default: 1) - Enables/Disables automatically reloading the plugin after installing an update. ua_disabledeffects (Default: "") - Disables listed effects based on their effect number. Seperate each with a comma. (Ex. "1,2,3,4" will disable effects 1, 2, 3, and 4. See List of effect numbers below.) ua_adminflag (Default: "") - Decides what flag is required to use the plugin at all. ua_donatorflag (Default: "") - Decides what flag is required to have access to specified donator effects. ua_disabledproj (Default: "") - Disables listed projectiles from receiving effects. Seperate each with a comma. (Ex. "tf_projectile_rocket" will disable rockets.) Effects List: Spoiler Code: Effect # | Effect Name 1 | Community Sparkle 2 | Green Confetti 3 | Purple Confetti 4 | Haunted Ghosts 5 | Green Energy 6 | Purple Energy 7 | Massed Flies 8 | Burning Flames 9 | Scorching Flames 10 | Searing Plasma 11 | Vivid Plasma 12 | Sunbeams 13 | Stormy Storm 14 | Blizzardy Storm 15 | Nuts N' Bolts 16 | Orbiting Fire 17 | Bubbling 18 | Smoking 19 | Steaming 20 | Cauldron Bubbles 21 | Eerie Orbiting Fire 22 | Stormy 13th Hour 23 | Kill-A-Watt 24 | Terror-Watt 25 | Cloud-9 26 | Miami Nights 27 | Disco Beat Down 28 | Phosphorous 29 | Sulphorous 30 | Memory Leak 31 | Overclocked 32 | ElectroStatic 33 | Power Surge 34 | Anti-Freeze 35 | Time Warp 36 | Green Black Hole 37 | Roboactive 38 | Arcana 39 | Spellbound 40 | Ghastly Ghosts Jr. 41 | Haunted Phantasm Jr. 42 | Frostbite 43 | Abduction 44 | Electric Hat Protector 45 | Magnetic Hat Protector 46 | Voltaic Hat Protector 47 | Galactic Codex 48 | Ancient Codex 49 | Nebula 50 | Death by Disco 51 | It's a Mystery to Everyone 52 | It's a Puzzle to Me 53 | Ether Trail 54 | Nether Trail 55 | Ancient Eldritch 56 | Eldritch Flame Compilation Instructions: Download unusual_arrows.sp Download Updater.inc and place it in your includes folder Download morecolors.inc and place it in your includes folder Compile the plugin. Installation Instructions: Download unusual_arrows.zip and extract to a folder. Place unusual_arrows.smx into your server's plugin folder. Place ua_effects.default.cfg in your sourcemod configs folder. Place ua_effects.custom.cfg in your sourcemod configs folder and edit to your liking. (Format is same as ua_effects.default.cfg) Place unusual_arrows.phrases.txt in your sourcemod translations folder. Place the below code into your Databases.cfg file. (If you have mysql, it is recommended, otherwise use sqlite.) *Optional* Install updater for automatic update support. Database Info Spoiler MYSQL Code: "ua"{ "driver" "mysql" "host" "<Your Host>" "database" "<Your DB Name>" "user" "<Your DB User>" "pass" "<Your DB User Pass>" //"timeout" "0" "port" "3306" } SQLITE Code: "ua"{ "driver" "sqlite" "database" "ua" } How to Edit Ua.Effects.Custom.cfg... (DO NOT EDIT ua.effect.default.cfg) Spoiler Code: "Effects"{ //If I want to edit the Community Sparkle Effect I do it in here. "0" //This is the effect number I want to edit { "name" "Community Sparkle" //Custom NAme of the Effect "particle" "community_sparkle" //Particle System NAme of the Effect. "donator" "1" //Do you want this effect to be donator? 1 = true. 0 = false. } //Editing the Holy Glow Effect "1" { "name" "Holy Glow" "particle" "halopoint" "donator" "1" } //If I want to add new effects start with an effect id after the default effects "57" { "name" "<Name goes here>" //Name of your new effect "particle" "<Particle System Name>" //Name of the tf2 particle system. "donator" "0/1" //Donator effect? } "58" //Another One { "name" "<Name goes here>" //Name of your new effect "particle" "<Particle System Name>" //Name of the tf2 particle system. "donator" "0/1" //Donator effect? } } Changelog: Code: V1.1.0 (5/12/16) Added full SQL support into plugin. You will need to add database info into your databases.cfg Changed command /ua_effects into /uae for easier access to the effects menu Updated Syntax of the plugin. Removed Holy Glow effect from the plugin. Added PER PROJECTILE customization. You can now have a different effect on every one of your projectiles. Chosen effects are saved into the database. Added ability for a user to disable their Projectile effects. Added "No Effect" as an option. V1.0.1 (5/10/16) - Added support for all projectiles. Added ua_disabledproj, which allows you to disable chosen projectiles. V1.0.0 (5/10/16) - This is the first version. >.> Attached Files unusual arrows V1.1.0.zip (40.2 KB) Get Plugin or Get Source (unusual_arrows.sp - 38.2 KB) Wyświetl pełny artykuł Odnośnik do odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi