-
Savvy ? 🐒
Default theme customization 101
I don't want to touch any code :
If I find a .cs file in TurboHUD Approved Plugins, can I just copy and paste it in some folder to make it load/work?
Each plugin thread as a path like this /plugins/{author}/{plugin}.cs
Where {author} is the name of the plugin author and {plugin} the plugin name.
This give you where to paste the content of the plugin.
e.g. for
[v7.2] [ENGLISH] [BM] HealthBarOnElitePlugin you paste the content of -->
this pastebin <-- into {your hud installation folder}\plugins\BM\HealthBarOnElitePlugin.cs
How can i use a useful snippet found in the forum ?
Inside the body of Customize() method of \plugins\User\PluginEnablerOrDisablerPlugin.cs file.
(if you have not configured any plugins yet, the file is a .txt, rename the extension to .cs if needed.)
Example in a default PluginEnablerOrDisablerPlugin file :
I want to disable ThisAwesomePlugin :
Hud.TogglePlugin<
ThisAwesomePlugin>(false);
I want to customize ThisAwesomePlugin :
Hud.RunOnPlugin<
ThisAwesomePlugin>(plugin => {
// your customization code goes here
});
More concrete example :
I'd like to resize the radius of the elite/minion marker on the minimap to 4. Its in the
StandardMonsterPlugin:
PHP Code:
Hud.RunOnPlugin<StandardMonsterPlugin>(plugin => {
plugin.EliteMinionDecorator = new WorldDecoratorCollection(
new MapShapeDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(180, 192, 92, 20, 0),
ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
Radius = 4,
ShapePainter = new CircleShapePainter(Hud),
});
});
I want to customize a brush inside this ThisAwesomePlugin :
- a => alpha (0..255) (transparent to opaque)
- r => red (0..255)
- g => green (0..255)
- b => blue (0..255)
- strokeWidth => 0 mean filled, other values mean the 'border' thickness
PHP Code:
Hud.RunOnPlugin<ThisAwesomePlugin>(plugin => {
plugin.brushYouWantToReplace = Hud.Render.CreateBrush(a, r, g, b, strokeWidth);
});
I search ThisAwesomePlugin to customize it :
Name |
\default\ |
file |
Bounty table |
\ |
BountyTablePlugin.cs |
Damage bonus |
\ |
DamageBonusPlugin.cs |
Debug |
\ |
DebugPlugin.cs |
Experience over bar |
\ |
ExperienceOverBarPlugin.cs |
Game info |
\ |
GameInfoPlugin.cs |
Network latency |
\ |
NetworkLatencyPlugin.cs |
Notify at rift percentage |
\ |
NotifyAtRiftPercentagePlugin.cs |
Portrait bottom stats |
\ |
PortraitBottomStatsPlugin.cs |
Resource over globe |
\ |
ResourceOverGlobePlugin.cs |
Rift |
\ |
RiftPlugin.cs |
Chest |
\Actors\ |
ChestPlugin.cs |
Clickable chest gizmo |
\Actors\ |
ClickableChestGizmoPlugin.cs |
Cursed event |
\Actors\ |
CursedEventPlugin.cs |
Dead body |
\Actors\ |
DeadBodyPlugin.cs |
Globe |
\Actors\ |
GlobePlugin.cs |
Portal |
\Actors\ |
PortalPlugin.cs |
Rack |
\Actors\ |
RackPlugin.cs |
Shrine |
\Actors\ |
ShrinePlugin.cs |
Base |
\BasePlugin\ |
BasePlugin.cs |
Cheat death buff feeder |
\BuffLists\ |
CheatDeathBuffFeederPlugin.cs |
Convention of elements buff list |
\BuffLists\ |
ConventionOfElementsBuffListPlugin.cs |
Mini map left buff list |
\BuffLists\ |
MiniMapLeftBuffListPlugin.cs |
Mini map right buff list |
\BuffLists\ |
MiniMapRightBuffListPlugin.cs |
Player bottom buff list |
\BuffLists\ |
PlayerBottomBuffListPlugin.cs |
Player left buff list |
\BuffLists\ |
PlayerLeftBuffListPlugin.cs |
Player right buff list |
\BuffLists\ |
PlayerRightBuffListPlugin.cs |
Player top buff list |
\BuffLists\ |
PlayerTopBuffListPlugin.cs |
Top left buff list |
\BuffLists\ |
TopLeftBuffListPlugin.cs |
Top right buff list |
\BuffLists\ |
TopRightBuffListPlugin.cs |
Ground label decorator painter |
\Decorators\ |
GroundLabelDecoratorPainterPlugin.cs |
Blood shard |
\Inventory\ |
BloodShardPlugin.cs |
Inventory and stash |
\Inventory\ |
InventoryAndStashPlugin.cs |
Inventory free space |
\Inventory\ |
InventoryFreeSpacePlugin.cs |
Inventory kanai cubed items |
\Inventory\ |
InventoryKanaiCubedItemsPlugin.cs |
Inventory material count |
\Inventory\ |
InventoryMaterialCountPlugin.cs |
Stash preview |
\Inventory\ |
StashPreviewPlugin.cs |
Stash used space |
\Inventory\ |
StashUsedSpacePlugin.cs |
Cosmetic items |
\Items\ |
CosmeticItemsPlugin.cs |
Hovered item info |
\Items\ |
HoveredItemInfoPlugin.cs |
Items |
\Items\ |
ItemsPlugin.cs |
Pickup range |
\Items\ |
PickupRangePlugin.cs |
Attribute label list |
\LabelLists\ |
AttributeLabelListPlugin.cs |
Top experience statistics |
\LabelLists\ |
TopExperienceStatistics.cs |
Marker |
\Minimap\ |
MarkerPlugin.cs |
Scene hint |
\Minimap\ |
SceneHintPlugin.cs |
Dangerous monster |
\Monsters\ |
DangerousMonsterPlugin.cs |
Elite monster affix |
\Monsters\ |
EliteMonsterAffixPlugin.cs |
Elite monster skill |
\Monsters\ |
EliteMonsterSkillPlugin.cs |
Explosive monster |
\Monsters\ |
ExplosiveMonsterPlugin.cs |
Goblin |
\Monsters\ |
GoblinPlugin.cs |
Monster pack |
\Monsters\ |
MonsterPackPlugin.cs |
Monster rift progression coloring |
\Monsters\ |
MonsterRiftProgressionColoringPlugin.cs |
Standard monster |
\Monsters\ |
StandardMonsterPlugin.cs |
Top monster health bar |
\Monsters\ |
TopMonsterHealthBarPlugin.cs |
Banner |
\Players\ |
BannerPlugin.cs |
Head stone |
\Players\ |
HeadStonePlugin.cs |
Multiplayer experience range |
\Players\ |
MultiplayerExperienceRangePlugin.cs |
Other players |
\Players\ |
OtherPlayersPlugin.cs |
Player skill |
\Players\ |
PlayerSkillPlugin.cs |
Skill range helper |
\Players\ |
SkillRangeHelperPlugin.cs |
Original health potion skill |
\SkillBars\ |
OriginalHealthPotionSkillPlugin.cs |
Original skill bar |
\SkillBars\ |
OriginalSkillBarPlugin.cs |
Ui hidden portrait skill bar |
\SkillBars\ |
UiHiddenPortraitSkillBarPlugin.cs |
Last edited by JackCeparou; 05-31-2018 at 03:24 PM.
-
Post Thanks / Like - 20 Thanks
PsychoPyro202,
RealGsus,
itsmylife,
Sol Trias,
Vern1701,
everknown,
bobbydigital12,
migajo,
fodalweb,
denismax7,
johnbl,
greatscott,
Buzzy62,
Pari4h,
Skeeh,
Megalodon84,
mois,
hwelvaar,
hotdogwater14,
FoxPox (20 members gave Thanks to JackCeparou for this useful post)
-
Active Member
Good guide to have out here, Jack.
-
Member
Very helpful for noobs like me
-
Member
So good guide
Always thank you
Jack is kind
-
Member
hey whats the plugin for the paragon thingie? its on the top middle position ?
thank u
-
Savvy ? 🐒
Plugin list updated.
(added the missing TopExperienceStatistics)
-
Post Thanks / Like - 1 Thanks
freak000 (1 members gave Thanks to JackCeparou for this useful post)
-
Member
Originally Posted by
JackCeparou
How can i use a useful snippet found in the forum ?]
Jack, what program to use to get this view? (meh cannot quote the image you have in OP)
-
Active Member
Originally Posted by
cherouvim13
Jack, what program to use to get this view? (meh cannot quote the image you have in OP)
That is visual studio 2015 there is a free version called Visual Studio 2015 Community.
-
Member
-
Savvy ? 🐒
Well, i guess i need to rewrite my VS sln thread a third time xD
-
Member
Hi, I need some help regarding this customization option. I succesfully can toggle plugins, but I've failed to customize them. For example, I'd like to resize the elite/minion marker on the minimap.
Its in the StandardMonsterPlugin:
EliteMinionDecorator = new WorldDecoratorCollection(
new MapShapeDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(180, 192, 92, 20, 0),
ShadowBrush = shadowBrush,
Radius = 8,
ShapePainter = new CircleShapePainter(Hud),
}
);
I'd like to set radius to 4, for my liking. Ive pasted this code few different ways into Pluginenabler, all unsuccessful.
Im no programmer, and as to day, I couldnt wrap my head around this C.
Need some advice, best regards.
-
Savvy ? 🐒
Originally Posted by
R00kie
Need some advice, best regards.
I'll update OP.
Last edited by JackCeparou; 03-29-2017 at 06:58 AM.
-
Savvy ? 🐒
Originally Posted by
R00kie
Need some advice, best regards.
OP updated with your request as an example
Happy coding.
-
Post Thanks / Like - 1 Thanks
R00kie (1 members gave Thanks to JackCeparou for this useful post)
-
Contributor
this should be stickied btw
Wanna customize THUD the easy way? Check out
..:: TCT | TurboHUD Customization Tool ::..
in the TurboHUD Plugin Review Zone
-
Member
Can someone help me. I cant find the folder or data to change the "greyed" leg items in my inventory. I can open config folder and then there are some ui folder. How can i create this with txt. into xml.
Thanks