Jump to content

V2 template location

Pending 1.1.14

Rusty Hook
Rusty Hook

Posted

Hey so I'm having issues trying to customize this back to the way I had it before an update undid all of my work customizing it the first time and I'm not able to change the UI at all anymore it seems? It states at the top it's using "Template: V2" and I've tried to find this template in the data files, the config, and so far nothing has worked. Am I missing something?

  • Curator
Mevent

Posted

Gotcha! Heres the deal. open oxide/config/DailyRewards.json (or carbon/configs/DailyRewards.json if youre on Carbon). Scroll down to the UI and Menu UI sections, thats where all the background colors, sizes, and layout settings live. 

Rusty Hook

Posted

I've been trying to change those, and nothing is happening upon reloading the plugin.

Rusty Hook

Posted

I'm using it in a custom server panel skin. I dunno if that has something to do with it, but before the update, it worked perfectly fine, so I don't see why it all of a sudden wouldn't.

  • Curator
Mevent

Posted

23 minutes ago, Rusty Hook said:

I've been trying to change those, and nothing is happening upon reloading the plugin.

 

There are two sections: UI and Menu UI. Maybe you're editing the wrong one? are two sections there - UI and Menu UI, maybe you're editing the wrong section.

Rusty Hook

Posted

That seems to have been the issue, thank you.

Rusty Hook

Posted

One other thing that has been bugging me in regards to this since the day I purchased this mod though is I have found nowhere to reposition and color control these. Any help on that would be greatly appreciated.image.png.4ea60668a16d4e2e259925fccd630e9b.png

  • Curator
Mevent

Posted

13 hours ago, Rusty Hook said:

One other thing that has been bugging me in regards to this since the day I purchased this mod though is I have found nowhere to reposition and color control these. Any help on that would be greatly appreciated.image.png.4ea60668a16d4e2e259925fccd630e9b.png

Those left and right arrows and the 1/1 counter are the page navigation elements on the inventory screen. Open your DailyRewards.json and go to the 'Menu UI settings' section. The arrows are controlled by these four fields: 'Back page button (active)', 'Back page button (inactive)', 'Next page button (active)', 'Next page button (inactive)'. Each has AnchorMin, AnchorMax, OffsetMin, OffsetMax to reposition them, and 'Button Color' to change the color. The active variant shows when you can navigate that direction, the inactive one shows when you can't.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
154.5k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.