Log in

I forgot my password

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

None

[ View the whole list ]


Most users ever online was 46 on Sun Jun 03, 2018 5:35 pm
Latest topics
» AWBW Game Page Patch Notes
Tue Jul 10, 2018 1:14 pm by ichbinsehselber

» Create Game Link to Redirect
Thu Jun 28, 2018 3:58 am by WalkerBoh

» Tearing at AW1's The Final Battle
Fri Jun 08, 2018 3:59 pm by Master Knight DH

» FTA Guide I: Introduction to FTA
Mon Apr 16, 2018 4:49 pm by Xmo5

» Luck Tier CO's rebalance suggestion
Wed Feb 14, 2018 12:54 pm by junkyver

» AWBW+ Balanced
Wed Feb 14, 2018 12:49 pm by junkyver

» FoW Reef Glitch
Sun Feb 04, 2018 3:30 pm by smyrin

» The Shakoda Incident
Mon Jan 29, 2018 8:16 am by Flawedlogic

» Converting COs from Days of Ruin
Fri Jan 19, 2018 4:04 am by Visage

Top posting users this month


I am curious to know how to set the city income

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

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 : 423
Reputation Reputation : 105
Join date : 2014-01-16
Age : 28
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

Back to top

- Similar topics

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