fodev.net
15.08.2009 - 23.06.2013
"Wasteland is harsh"
Home Forum Help Login Register
  • March 28, 2024, 05:40:03 pm
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Play WikiBoy BugTracker Developer's blog
Pages: [1] 2

Author Topic: Interface modders: changes in .ini options  (Read 20235 times)

Atom

  • Rotator
  • Offline
Interface modders: changes in .ini options
« on: May 15, 2010, 11:25:08 pm »

Until a proper changelog shows up, let it be written here that the following changes were done to .ini option names:

Code: [Select]
IntBObj* renamed to IntBItem*
SplitWObj renamed to SplitWItem
TimerWObj renamed to TimerWItem

Most of the interface mods would require an update to meet the new specifications.
Logged

Graf

  • Moderator
  • "Next Day" developer
  • Offline
Re: Interface modders: changes in .ini options
« Reply #1 on: May 16, 2010, 10:02:40 am »

Just a little addition. You probably forgot to mention about one more change in .ini
IntBObjPicDown renamed to IntBItemPicDown
Logged

Berko

  • Tim Tom Ted
    • http://kabefis.deviantart.com/
  • Offline
Re: Interface modders: changes in .ini options
« Reply #2 on: May 16, 2010, 02:36:59 pm »

I think it's why he wrote IntBObj* (asterisk can be replace by everything) :)
Logged
~~~ Ashes of Phoenix project --> http://fonline-aop.net/ ~~~
Re: Interface modders: changes in .ini options
« Reply #3 on: May 17, 2010, 07:41:22 pm »

Where can I read more about interface modding? I want to create my own interface. I figured out the meaning of some commands in the ini file, but I need to know more...
Logged
Re: Interface modders: changes in .ini options
« Reply #4 on: May 17, 2010, 10:31:45 pm »

Do like me. Download 2-3 interfaces and see what is doing what :) I made my own interface like this.
Logged

Atom

  • Rotator
  • Offline
Re: Interface modders: changes in .ini options
« Reply #5 on: May 29, 2010, 11:20:47 am »

Following ini keys were added
Code: [Select]
;===============2238-specific
BarterFilter0=47 326 71 350
BarterFilter1=75 326 99 350
BarterFilter2=103 326 127 350
BarterFilter3=131 326 155 350
BarterFilter4=159 326 183 350
BarterFilter5=454 326 478 350
BarterFilter6=482 326 506 350
BarterFilter7=510 326 534 350
BarterFilter8=538 326 562 350
BarterFilter9=566 326 590 350

They are inside faction*.ini files, they mean x, y position of the respective barter filter button, relative to the position of the main barter screen. Consult this with the contents of faction008.dat too.
Logged

Fauqs

  • Hopes 3D models have gasmasks
  • Offline
Re: Interface modders: changes in .ini options
« Reply #6 on: June 02, 2010, 10:07:28 am »

With the code Atom posted, I was able to easily alter the custom interface of the transparent interface mod. I just took a screenshot of the barter menu without any mods active, put the filter bar underneath the old barter-medium.png image, saved the new image with the old name, and added the code into the interface ini file.

Since it's basically the same interface, just made transparent, it shouldn't take too long for the creators of it to add these changes as well. (Or you could change it if you're impatient like me)

If there's a mod that changes the barter menu image, you'll need to play around with the numbers in order to get the new buttons functioning correctly.
Logged

Haraldx

  • This forum... The memories... The history...
  • Offline
Re: Interface modders: changes in .ini options
« Reply #7 on: June 02, 2010, 08:35:08 pm »

Heh, finaly got my 1024x(something) interface work properly, thanks guys.
Logged
I still can be reached over e-mail if you somehow need anything from me. Don't see a reason why you would, but if you do, e-mail remains the safest bet, as I do not visit this forum reliably anymore.

kraskish

  • Chars: Perforator & Penetrator =D
  • Offline
Re: Interface modders: changes in .ini options
« Reply #8 on: June 08, 2010, 05:53:21 pm »

Cant get it to work, is it possible? I lack faction.ini that someone mentioned and I also added this barter filters but to default.ini but didnt work. I dont have buttons and I dont see weapon and cant change the attack
Logged
Chars: Perforator, Penetrator Leaderator

kraskish

  • Chars: Perforator & Penetrator =D
  • Offline
Re: Interface modders: changes in .ini options
« Reply #9 on: June 29, 2010, 10:25:20 am »

Following ini keys were added
Code: [Select]
;===============2238-specific
BarterFilter0=47 326 71 350
BarterFilter1=75 326 99 350
BarterFilter2=103 326 127 350
BarterFilter3=131 326 155 350
BarterFilter4=159 326 183 350
BarterFilter5=454 326 478 350
BarterFilter6=482 326 506 350
BarterFilter7=510 326 534 350
BarterFilter8=538 326 562 350
BarterFilter9=566 326 590 350

They are inside faction*.ini files, they mean x, y position of the respective barter filter button, relative to the position of the main barter screen. Consult this with the contents of faction008.dat too.

I pasted it to default.ini and previously changed the other IntBob and Split functions and I still dont have barter filters...
Logged
Chars: Perforator, Penetrator Leaderator

Resp

  • I'll shoot second =]
    • spnet
  • Offline
Re: Interface modders: changes in .ini options
« Reply #10 on: June 29, 2010, 10:04:26 pm »

try dont  use transparent skin
or try  that http://www.megaupload.com/?d=ALTJF0Y8
Logged
I'm sorry for my poor English. Please correct me, I will learn
"Hell," said Tanner. "That's my name...." (с)
http://wasteland.spb.su/fo/?s=2&t=4

kraskish

  • Chars: Perforator & Penetrator =D
  • Offline
Re: Interface modders: changes in .ini options
« Reply #11 on: June 30, 2010, 06:33:34 pm »

try dont  use transparent skin
or try  that http://www.megaupload.com/?d=ALTJF0Y8

Wow yeah, that works, swwwweeeeeeeet. :* Thanks very much. One question what is "Aiming" transparency responsible for?
Logged
Chars: Perforator, Penetrator Leaderator

yoz

  • yoz ace / yoz kage
  • Offline
Re: Interface modders: changes in .ini options
« Reply #12 on: September 02, 2010, 08:18:02 pm »

I tried to fix the post-futuristic interlace with the changes posted here, but it didn't work.
Logged
Kill the men, rape the women, eat the children.

Atom

  • Rotator
  • Offline
Re: Interface modders: changes in .ini options
« Reply #13 on: September 03, 2010, 02:00:19 am »

The latest changes in the ini specification, on the example of default.ini: http://pastebin.com/diff.php?i=sc2m4Te9

The diff printout should be easy to understand. Red lines (with -) are deleted ones, blue ones (with +) are ones added. They are grouped in a way so that's it's easily seen which key name was replaced, and by what. A careful search&replace should be enough to fix all of the custom interfaces.

2238-specific keys are not listed, as they remained unchanged.
Logged

yoz

  • yoz ace / yoz kage
  • Offline
Re: Interface modders: changes in .ini options
« Reply #14 on: September 03, 2010, 04:15:21 am »

Nicely organized example ^^^

I fixed my interface with it.
Logged
Kill the men, rape the women, eat the children.
Pages: [1] 2
 

Page created in 0.093 seconds with 19 queries.