Log in

I forgot my password

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

None

[ View the whole list ]


Most users ever online was 41 on Fri Jan 10, 2014 8:18 pm
Latest topics
» FoW Reef Glitch
Sun Jan 14, 2018 12:00 pm by Xmo5

» Echo Ridge map design
Fri Jan 12, 2018 1:01 am by wilkyb

» Capturing opponents' properties (in a specific situation)
Fri Jan 05, 2018 11:10 am by blipsANDchitz

» Looking for very active players
Wed Jan 03, 2018 12:38 am by Plops

» Design maps use different countries for teams
Tue Jan 02, 2018 3:19 am by WalkerBoh

» AWBW FAQ
Tue Jan 02, 2018 3:15 am by WalkerBoh

» An AWBW dark theme would be nice on the eyes
Sun Dec 31, 2017 10:45 am by Plops

» Luck Tier CO's rebalance suggestion
Fri Dec 22, 2017 1:26 am by ObeseRat

» Design Map Competition: 3 Player FFA
Tue Dec 19, 2017 10:01 pm by Xmo5

Top posting users this month
WalkerBoh
 
wilkyb
 
blipsANDchitz
 
Xmo5
 
smyrin
 
headphone
 
Plops
 


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 : 418
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