Scroll on the game lobby screen of Local Game

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Glxblt76
Posts: 21
Joined: April 28th, 2012, 5:57 pm

Scroll on the game lobby screen of Local Game

Post by Glxblt76 » July 17th, 2012, 7:16 pm

Hello,

I built a scenario where every player earns a different amount of money per turn. For example, one camp earns 30 more money than the game base income, one another 100. Those parameters are entered in the scenario parameters I saved and this sheet seems to work normally. The issue I'm encounting is that the scroll in the game lobby screen of Local Game is limited at +18 than game base income.

My question is : how to modify the maximum of this scroll ?
I looked everywhere in the Battle For Wesnoth files but didn't found it.

Thanks in advance,
Glx

Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Scroll on the game lobby screen of Local Game

Post by Max » July 17th, 2012, 8:39 pm

looks like it's hardcoded, see
http://devdocs.wesnoth.org/multiplayer_ ... ource.html (line 146).

Glxblt76
Posts: 21
Joined: April 28th, 2012, 5:57 pm

Re: Scroll on the game lobby screen of Local Game

Post by Glxblt76 » July 18th, 2012, 4:01 pm

Thanks. I saw the line I want to modify in this file, but I don't find this file inside the Wesnoth folder.

Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Scroll on the game lobby screen of Local Game

Post by Max » July 18th, 2012, 4:27 pm

that's part of the source code, you'd have to compile a version of wesnoth yourself.

your best chance is to create a feature request to make this value customizable:
http://gna.org/bugs/?func=additem&group=wesnoth

Post Reply