It is currently April 25th, 2024, 6:30 am

Complete newbie trying to customise a skin with custom buttons

Get help with creating, editing & fixing problems with skins
User avatar
SilverDarkBlade
Posts: 29
Joined: March 7th, 2017, 7:18 am

Complete newbie trying to customise a skin with custom buttons

Post by SilverDarkBlade »

Started screwing around with this yesterday and am having a good time, however what im looking for right now is a way to have a custom context menu check box added to a skin to disable a certain feature.

one way i found to disable this feature is by setting this
Sensitivity=#Sensitivity#
to this
Sensitivity=0
in one of the ini files.

if there was a way to add a button (always on screen) that when pressed the first time set it to "0" and refreshes the skin and when pressed again sets it back to "#Sensitivity#" and refreshes the skin that would be great. if not a way to accomplish something similar would be appreciated.

complete newbie as i said so this could be super simple or super complex. i have no clue.
Last edited by SilverDarkBlade on March 8th, 2017, 4:05 pm, edited 2 times in total.
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Complete newbie trying to customise a skin with context menus

Post by CyberTheWorm »

Are you wanting a button on the skin? or if you right mouse click on the skin you can change it?

You could create an image and then use

Code: Select all

LeftMouseUpAction=action you want in here
Or use

Code: Select all

ContextTitle=Action description
ContextAction=[!WriteKeyValue Variables #VariableName# #Value#][!Refresh]
ContextTitle2=Other Action description
ContextAction2=[!WriteKeyValue Variables #VariableName# #OtherValue#][!Refresh]
Better idea is try to write the skin an post what you have to ask for help.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
SilverDarkBlade
Posts: 29
Joined: March 7th, 2017, 7:18 am

Re: Complete newbie trying to customise a skin with context menus

Post by SilverDarkBlade »

CyberTheWorm wrote:Are you wanting a button on the skin? or if you right mouse click on the skin you can change it?

You could create an image and then use

Code: Select all

LeftMouseUpAction=action you want in here
Or use

Code: Select all

ContextTitle=Action description
ContextAction=[!WriteKeyValue Variables #VariableName# #Value#][!Refresh]
ContextTitle2=Other Action description
ContextAction2=[!WriteKeyValue Variables #VariableName# #OtherValue#][!Refresh]
Better idea is try to write the skin an post what you have to ask for help.
thanks for the help ^^ a button on the skin is what i wanted. I figured it might be against some sort of rule to post it since im editing a skin not making my own. or maybe im just an idiot.
User avatar
SilverDarkBlade
Posts: 29
Joined: March 7th, 2017, 7:18 am

Re: Complete newbie trying to customise a skin with custom buttons

Post by SilverDarkBlade »

after playing with it for a bit i have even more questions.

do the buttons have to be created in the same INI they effect? and buttons that toggle back and fourth between two things are possible yes?
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Complete newbie trying to customise a skin with context menus

Post by CyberTheWorm »

SilverDarkBlade wrote:thanks for the help ^^ a button on the skin is what i wanted. I figured it might be against some sort of rule to post it since im editing a skin not making my own. or maybe im just an idiot.
Most of us including me started by taking a skin and editing it to learn how they work.
Every skin I have started with or made myself is

Code: Select all

License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
All you need to do is give credit to the original author. as in base on a a skin by:---- or created with help from:--- Like this from a weather skin I did

Code: Select all

Information=Weather skin, icons from http://vclouds.deviantart.com/gallery/#/d2ynulp
The only source of knowledge is experience. Albert Einstein
Deviant Art Page