Log in

I forgot my password

Who is online?
In total there are 7 users online :: 0 Registered, 0 Hidden and 7 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 41 on Fri Jan 10, 2014 8:18 pm
Latest topics
» Why no AET/boot of 1?
Yesterday at 11:35 pm by Plops

» Map Editor Missing Tiles
Fri Oct 20, 2017 2:00 am by WalkerBoh

» No forgiveness lol
Thu Oct 12, 2017 9:15 am by Xmo5

» Automated Z-Games
Thu Oct 12, 2017 2:48 am by WalkerBoh

» Sami: the Art of Stealth
Mon Oct 09, 2017 4:16 pm by Everdan

» GL Game Report: Everdan vs mxdcyw2000
Sun Oct 08, 2017 10:50 pm by sulla

» anyone still about
Sun Oct 08, 2017 10:06 pm by WalkerBoh

» Bug and Glitch List
Sat Oct 07, 2017 1:38 am by WalkerBoh

» Tank on a mountain
Sat Sep 30, 2017 10:55 pm by WalkerBoh

Top posting users this month
Plops
 
WalkerBoh
 


I am curious to know how to set the city income

View previous topic View next topic Go down

I am curious to know how to set the city income

Post  a9977321 on Mon May 23, 2016 10:22 am

Sometimes the income can be set down to 1...... But I don't know how to do so.

a9977321
Mech
Mech

Posts Posts : 36
Reputation Reputation : 5
Join date : 2015-12-07
Age : 21

Back to top Go down

Re: I am curious to know how to set the city income

Post  Xmo5 on Mon May 23, 2016 6:17 pm

I believe it involves some php sorcery, but I could be wrong. Not something most people can do, but I know there are some who know the secret. It's sort of like rating maps with a 0 or a 0.5, etc.

_________________
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
avatar
Xmo5
AWBW Map Committee
AWBW Map Committee

Posts Posts : 415
Reputation Reputation : 105
Join date : 2014-01-16
Age : 27
Location : Wherever I happen to be

Back to top Go down

Re: I am curious to know how to set the city income

Post  theether on Tue May 24, 2016 4:57 am

It's not too hard, actually.
All you have to do is mess with the HTML a bit.

Right click on the income field when creating a game and choose "Inspect element" (or something like it). This opens the development console in your browser.

Alternatively Firefox for example opens the console with Ctrl + Shift + K, but then you'd have to search for the correct element first.

In the HTML overview you will see something like the following:
Code:
<select name="funds">
<option value="0" selected="">0
</option><option value="500">500
</option><option value="1000" selected="">1000
</option><option value="1500">1500
</option><option value="2000">2000
</option>
...
</select>
If you only see the select element but no content, you'll have to click the small triangle on the left.

The selected="" at 1000 means that this is the currently selected option. In the developer console you should be able to edit the value field (value="1000") by double clicking it. Set it to anything you want and you will have a game with that amount of income per property.
You will only see this option in the dropdown if you also change the other "1000" in the HTML, but for game creation only the value="?" will be used.

I assume that this same trick can be used for rating maps as well, but I haven't tried it.
avatar
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

Re: I am curious to know how to set the city income

Post  Jackie Milton on Tue May 24, 2016 9:16 am

*gasp* the secret is out!

Yeah, I use that all the time, it helps with negative funding.

Doing such on map ratings requires a different level of sorcery....
avatar
Jackie Milton
Mech
Mech

Posts Posts : 25
Reputation Reputation : 6
Join date : 2015-06-18
Location : American Midwest, and no, I do NOT call it "cornhole", it's "BEANBAG TOSS". Jeesh

Back to top Go down

Re: I am curious to know how to set the city income

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum