• Welcome to SC4 Devotion Forum Archives.

SC4Config - first release candidate finished

Started by GoaSkin, November 09, 2007, 02:29:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GoaSkin

The functionality of SC4Config is complete. Now, there are only a few cosmetic things to be done but the program is fully usable. I tried to lay out the widgets a bit like the game dialogs.



The RC1 version will be linked into this thread next week.

summery of version 1.0 functions


  • transit speeds and capacities
  • pathfinding
  • train layout
  • weather tuning
  • neighbor deal tuning
  • game clock speed customization
  • rail/road construction behavior
  • custom tunnel entrances (models by various modellers are included)
  • customization of construction costs
  • airport/seaport demand cap relief customization
  • many more


things that become obsolete and have to be removed


  • tunnel and slope mod
  • speedpitch MOD
  • NAM automata and pathfinding plugins
  • the trafficop program and it's outputs
  • other MODs that influence things like described above
download SC4Config public BETA (RC1)

jeronij

Excellent news  :thumbsup: ¡¡¡ 

I hope/guess it is CAMpatible ....  ::) .... I cant associate any of the described functions with the CAM, but who  knows...  ;) ?¿?

I find these options really really useful. Perhaps you will include a custom terrain textures generator in the next version...  ;D  :D  :D

Thanks for this great tool, which still can't be downloaded .....  %confuso ...  ::)  $%Grinno$%  :D :D
I am currently not active - Please, contact Tarkus for any site related matter. Thanks for enjoying SC4D :D


Autism Awareness;  A Father Shares
Mallorca My Mayor Diary


Filasimo

so thats what you have been up to the past month or so you lil devil  :) this will be useful for everyone once it comes out great job!  :thumbsup:
Plaza Mall Project
http://sc4devotion.com/forums/index.php?topic=2171.0
Coming Soon to the LEX!

NAM Team
What can NAM do for you?
//

jplumbley

This looks like a very interesting program that is for sure.  Great work and keep it up!

I only have one issue with this program.  Mott has made some fairly interesting and important finds about the Traffic Simulators.  As it turns out the NAM Traffic Simulators which were meant to help make the game determine proper pathfinding and better options for capacities, actually turned out to not fix the problem.  Mott and I have colaborated and have finally come up with some balanced ALPHA Traffic Simulators, that will make the old NAM Traffic Simulators and Traffic Cop obsolete and will make the transit portion of this tool potentially harmful to the game if people do not tune their Traffic Simulator properly.

Here is a link to the thread:

Commute Engine Tweaking

Please Goaskin, take into account what has been said in this thread and maybe there is a way to implement this into your Tool without unbalancing everything in the game.  The issues of the Traffic Simulator spread to other things aswell such as mass abandoment or dilapidation.  It really should not be touched unless it is from an expert modder who knows what they are modifying.  One thing that should not be changed ever, is the speed of the network, unless you know what you are doing.
"You learn something new everyday."

http://img517.imageshack.us/img517/169/nhpjplumbleykv3.gif
Bringing the new horizons closer to reality.

Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio jplumbley ♦ moganite ♦ M4346 ♦ Dedgren ♦ Ennedi Shadow Assassin ♦  Tarkus ♦ wouanagaine
Street Addon Mod - SAM

vester

Looks like a very helpful tool.
What do you mean with train layout ?

RippleJet

Great work, GoaSkin! &apls

I've looked at your screenshot with CAM in mind, and modfying the Demand Simulator will make it inCAMpatible with CAM version 1.1.
The property Demand: Neutral Tax Rate vs. Population has been changed in the CAM beta 1.0.1 currently being tested.

In order to be able to use it with the future CAM releases, there would have to be a button called "Standard CAM Values" as well, in addition to the "Standard Maxis Values".




The Main Simulator tweaking is good, all needed properties can be tweaked.

The Utilities Simulator tweaking should contain a lot more properties, than the maximum water/power funding.
Actually, looking at the number of propeties included, the tweaking of the Utilities Simulator could be a program of its own...

I haven't myself tweaked the weather tuning parameters, so I can't tell if you would need to be able to tweak those properties not included, e.g ambient temperatur and ambient moisture settings.

For the neighbour deal tuning I would want to be able to tweak all available properties.


GoaSkin

neutral tax vs. population can be set manually with the program I think. If not, I may add it including a button for default CAM value. All the NAM plugins are replaced by presets. You can select better/perfect/normal pathfinding in the program. I added some settings of the demand simulator and may enhance them. (demand cap relief: air/seaports, high tax vs. population). I did not remember a such a setting for normal tax.

With train layout I mean the minimum and maximum of cars a train can have and the values that influence the train lengths when a new train is spawned.

download SC4Config public BETA (RC1)

GoaSkin

Can somebody please modify this instruction with the right values to be CAMpatible?


//Neutral Tax Rate vs. Population
Exemplar.CreateProperty(0x4A1F38B5)->SetValueType(TExemplarProperty::evtFloat32)->SetRepetitions(82)
->SetFloat32(0)->SetFloat32(9)->SetFloat32(150000)->SetFloat32(8.9)->SetFloat32(300000)->SetFloat32(8.9)
->SetFloat32(450000)->SetFloat32(8.8)->SetFloat32(600000)->SetFloat32(8.7)->SetFloat32(750000)->SetFloat32(8.7)
->SetFloat32(900000)->SetFloat32(8.6)->SetFloat32(1050000)->SetFloat32(8.5)->SetFloat32(1200000)->SetFloat32(8.5)
->SetFloat32(1350000)->SetFloat32(8.4)->SetFloat32(1500000)->SetFloat32(8.3)->SetFloat32(1650000)->SetFloat32(8.3)
->SetFloat32(1800000)->SetFloat32(8.2)->SetFloat32(1950000)->SetFloat32(8.1)->SetFloat32(2100000)->SetFloat32(8)
->SetFloat32(2250000)->SetFloat32(8)->SetFloat32(2400000)->SetFloat32(7.9)->SetFloat32(2550000)->SetFloat32(7.8)
->SetFloat32(2700000)->SetFloat32(7.7)->SetFloat32(2850000)->SetFloat32(7.6)->SetFloat32(3000000)->SetFloat32(7.5)
->SetFloat32(3150000)->SetFloat32(7.4)->SetFloat32(3300000)->SetFloat32(7.4)->SetFloat32(3450000)->SetFloat32(7.3)
->SetFloat32(3600000)->SetFloat32(7.2)->SetFloat32(3750000)->SetFloat32(7.1)->SetFloat32(3900000)->SetFloat32(7)
->SetFloat32(4050000)->SetFloat32(6.9)->SetFloat32(4200000)->SetFloat32(6.7)->SetFloat32(4350000)->SetFloat32(6.6)
->SetFloat32(4500000)->SetFloat32(6.5)->SetFloat32(4650000)->SetFloat32(6.4)->SetFloat32(4800000)->SetFloat32(6.2)
->SetFloat32(4950000)->SetFloat32(6.1)->SetFloat32(5100000)->SetFloat32(5.9)->SetFloat32(5250000)->SetFloat32(5.8)
->SetFloat32(5400000)->SetFloat32(5.6)->SetFloat32(5550000)->SetFloat32(5.4)->SetFloat32(5700000)->SetFloat32(5.1)
->SetFloat32(5850000)->SetFloat32(4.8)->SetFloat32(6000000)->SetFloat32(4);
download SC4Config public BETA (RC1)

RippleJet

Quote from: GoaSkin on November 10, 2007, 07:08:00 PM
Can somebody please modify this instruction with the right values to be CAMpatible?

We are still beta testing the next version of CAM, so nothing is carved in stone yet.
The settings below are those we are testing at the moment, reduced quite a lot compared to Rush Hour:


          //Neutral Tax Rate vs. Population
Exemplar.CreateProperty(0x4A1F38B5)->SetValueType(TExemplarProperty::evtFloat32)->SetRepetitions(82)
->SetFloat32(0)->SetFloat32(9)->SetFloat32(150000)->SetFloat32(8.8)->SetFloat32(300000)->SetFloat32(8.6)
->SetFloat32(450000)->SetFloat32(8.4)->SetFloat32(600000)->SetFloat32(8.2)->SetFloat32(750000)->SetFloat32(8.0)
->SetFloat32(900000)->SetFloat32(7.8)->SetFloat32(1050000)->SetFloat32(7.6)->SetFloat32(1200000)->SetFloat32(7.4)
->SetFloat32(1350000)->SetFloat32(7.2)->SetFloat32(1500000)->SetFloat32(7.0)->SetFloat32(1650000)->SetFloat32(6.8)
->SetFloat32(1800000)->SetFloat32(6.6)->SetFloat32(1950000)->SetFloat32(6.4)->SetFloat32(2100000)->SetFloat32(6.2)
->SetFloat32(2250000)->SetFloat32(6.0)->SetFloat32(2400000)->SetFloat32(5.8)->SetFloat32(2550000)->SetFloat32(5.6)
->SetFloat32(2700000)->SetFloat32(5.4)->SetFloat32(2850000)->SetFloat32(5.2)->SetFloat32(3000000)->SetFloat32(5.0)
->SetFloat32(3150000)->SetFloat32(4.8)->SetFloat32(3300000)->SetFloat32(4.6)->SetFloat32(3450000)->SetFloat32(4.4)
->SetFloat32(3600000)->SetFloat32(4.2)->SetFloat32(3750000)->SetFloat32(4.0)->SetFloat32(3900000)->SetFloat32(3.8)
->SetFloat32(4050000)->SetFloat32(3.6)->SetFloat32(4200000)->SetFloat32(3.4)->SetFloat32(4350000)->SetFloat32(3.2)
->SetFloat32(4500000)->SetFloat32(3.0)->SetFloat32(4650000)->SetFloat32(2.8)->SetFloat32(4800000)->SetFloat32(2.6)
->SetFloat32(4950000)->SetFloat32(2.4)->SetFloat32(5100000)->SetFloat32(2.2)->SetFloat32(5250000)->SetFloat32(2.0)
->SetFloat32(5400000)->SetFloat32(1.8)->SetFloat32(5550000)->SetFloat32(1.6)->SetFloat32(5700000)->SetFloat32(1.4)
->SetFloat32(5850000)->SetFloat32(1.2)->SetFloat32(6000000)->SetFloat32(1.0);


When changing the Demand: Neutral Tax Rate vs. Population you also need to change the Demand: Tax Modifier vs. Rate Variance.
The default setting for that is 0.2, 0.3, 1.0, 0.0, 5.0, -3.5
In CAM testing it is set at 0.2, 0.3, 1.0, 0.0, 5.0, -5.0, 20.0, -5.0

The maximum threshold depends on the smallest neutral tax rate setting, which has been reduced from 4.0 to 1.0.
The maximum tax rate allowed in the game is 20.0.
The relation between these needs to be 20/4 = 5 in Rush Hour, 20/1 = 20 in CAM.

Note that all these tax settings might be changed for the CAM following the beta testing.
And CAM 1.0 does not change the Demand: Neutral Tax Rate vs. Population at all (it is too easy to make money in CAM 1.0).

GoaSkin

well... I added a checkBox for CAM settings... the code now looks like this:


//Neutral Tax Rate vs. Population (different settings for CAM needed)
if(checkBoxCAM->isChecked())
Exemplar.CreateProperty(0x4A1F38B5)->SetValueType(TExemplarProperty::evtFloat32)->SetRepetitions(82)
->SetFloat32(0)->SetFloat32(9)->SetFloat32(150000)->SetFloat32(8.8)->SetFloat32(300000)->SetFloat32(8.6)
->SetFloat32(450000)->SetFloat32(8.4)->SetFloat32(600000)->SetFloat32(8.2)->SetFloat32(750000)->SetFloat32(8.0)
->SetFloat32(900000)->SetFloat32(7.8)->SetFloat32(1050000)->SetFloat32(7.6)->SetFloat32(1200000)->SetFloat32(7.4)
->SetFloat32(1350000)->SetFloat32(7.2)->SetFloat32(1500000)->SetFloat32(7.0)->SetFloat32(1650000)->SetFloat32(6.8)
->SetFloat32(1800000)->SetFloat32(6.6)->SetFloat32(1950000)->SetFloat32(6.4)->SetFloat32(2100000)->SetFloat32(6.2)
->SetFloat32(2250000)->SetFloat32(6.0)->SetFloat32(2400000)->SetFloat32(5.8)->SetFloat32(2550000)->SetFloat32(5.6)
->SetFloat32(2700000)->SetFloat32(5.4)->SetFloat32(2850000)->SetFloat32(5.2)->SetFloat32(3000000)->SetFloat32(5.0)
->SetFloat32(3150000)->SetFloat32(4.8)->SetFloat32(3300000)->SetFloat32(4.6)->SetFloat32(3450000)->SetFloat32(4.4)
->SetFloat32(3600000)->SetFloat32(4.2)->SetFloat32(3750000)->SetFloat32(4.0)->SetFloat32(3900000)->SetFloat32(3.8)
->SetFloat32(4050000)->SetFloat32(3.6)->SetFloat32(4200000)->SetFloat32(3.4)->SetFloat32(4350000)->SetFloat32(3.2)
->SetFloat32(4500000)->SetFloat32(3.0)->SetFloat32(4650000)->SetFloat32(2.8)->SetFloat32(4800000)->SetFloat32(2.6)
->SetFloat32(4950000)->SetFloat32(2.4)->SetFloat32(5100000)->SetFloat32(2.2)->SetFloat32(5250000)->SetFloat32(2.0)
->SetFloat32(5400000)->SetFloat32(1.8)->SetFloat32(5550000)->SetFloat32(1.6)->SetFloat32(5700000)->SetFloat32(1.4)
->SetFloat32(5850000)->SetFloat32(1.2)->SetFloat32(6000000)->SetFloat32(1.0);
else
Exemplar.CreateProperty(0x4A1F38B5)->SetValueType(TExemplarProperty::evtFloat32)->SetRepetitions(82)
->SetFloat32(0)->SetFloat32(9)->SetFloat32(150000)->SetFloat32(8.9)->SetFloat32(300000)->SetFloat32(8.9)
->SetFloat32(450000)->SetFloat32(8.8)->SetFloat32(600000)->SetFloat32(8.7)->SetFloat32(750000)->SetFloat32(8.7)
->SetFloat32(900000)->SetFloat32(8.6)->SetFloat32(1050000)->SetFloat32(8.5)->SetFloat32(1200000)->SetFloat32(8.5)
->SetFloat32(1350000)->SetFloat32(8.4)->SetFloat32(1500000)->SetFloat32(8.3)->SetFloat32(1650000)->SetFloat32(8.3)
->SetFloat32(1800000)->SetFloat32(8.2)->SetFloat32(1950000)->SetFloat32(8.1)->SetFloat32(2100000)->SetFloat32(8)
->SetFloat32(2250000)->SetFloat32(8)->SetFloat32(2400000)->SetFloat32(7.9)->SetFloat32(2550000)->SetFloat32(7.8)
->SetFloat32(2700000)->SetFloat32(7.7)->SetFloat32(2850000)->SetFloat32(7.6)->SetFloat32(3000000)->SetFloat32(7.5)
->SetFloat32(3150000)->SetFloat32(7.4)->SetFloat32(3300000)->SetFloat32(7.4)->SetFloat32(3450000)->SetFloat32(7.3)
->SetFloat32(3600000)->SetFloat32(7.2)->SetFloat32(3750000)->SetFloat32(7.1)->SetFloat32(3900000)->SetFloat32(7)
->SetFloat32(4050000)->SetFloat32(6.9)->SetFloat32(4200000)->SetFloat32(6.7)->SetFloat32(4350000)->SetFloat32(6.6)
->SetFloat32(4500000)->SetFloat32(6.5)->SetFloat32(4650000)->SetFloat32(6.4)->SetFloat32(4800000)->SetFloat32(6.2)
->SetFloat32(4950000)->SetFloat32(6.1)->SetFloat32(5100000)->SetFloat32(5.9)->SetFloat32(5250000)->SetFloat32(5.8)
->SetFloat32(5400000)->SetFloat32(5.6)->SetFloat32(5550000)->SetFloat32(5.4)->SetFloat32(5700000)->SetFloat32(5.1)
->SetFloat32(5850000)->SetFloat32(4.8)->SetFloat32(6000000)->SetFloat32(4);
//Tax Modifier vs. Tax Variance (different settings for CAM needed)
if(checkBoxCAM->isChecked())
Exemplar.CreateProperty(0x4A1F38B6)->SetValueType(TExemplarProperty::evtFloat32)->SetRepetitions(6)
->SetFloat32(0.2)->SetFloat32(0.3)->SetFloat32(1)->SetFloat32(0)->SetFloat32(5)->SetFloat32(-3.5);
else
Exemplar.CreateProperty(0x4A1F38B6)->SetValueType(TExemplarProperty::evtFloat32)->SetRepetitions(8)
->SetFloat32(0.2)->SetFloat32(0.3)->SetFloat32(1)->SetFloat32(0)->SetFloat32(5)->SetFloat32(-5)->SetFloat32(20)->SetFloat32(-5);


I never tested the CAM but it would be helpful if the modified exemplar comes in a seperate DAT file to be replaced (or deleted) when needed. But normally, the CAM should be loaded before SC4Config and so the exemplar settings are overrided by the program.
download SC4Config public BETA (RC1)

GoaSkin

The first RELEASE candidate is out. Please download here:

Link

Go to browse all file in the download tag on this page! Somehow, the files listed under windows are empty. A Mac version and the source distribution follows.
The program itself compiles under Linux too but requires a KDE 4 preview.
download SC4Config public BETA (RC1)

jplumbley

After a quick look at this tool Goaskin..  I worry about the damage some users could do to their simulators by using improper values.  Especially with the Transit Networks.  After all the investigations that Mott has done into the Traffic Simulator it seems like the Transit portion of the tool is too dangerous for someone not knowing what they are doing to randomly change the values.

We have found that the Speed values cannot be changed without changing other variables accordingly and calculated properly to be with in a certain range.  The original NAM Pathfinding Simulators failed with this and some of them actually made issues wors, when they were meant to help the situation.  Mott has done amazing work and if you take a read through the link I posted earlier in this thread you will understand what I am talking about.  The 3 biggest variables (properties) that I dont think should be in this tool are Commute Time, Network Speed and Capacity.  Through research Mott and I have discovered that these three properties are so closely linked (like they should be) and they should not be touched individually unless you calculate all 3 together.  I would highley recommend either removing these features or at very least make it so you can choose from a standard set of values for these sets, based on the work Mott and I put together.

Please I ask you to take this into consideration because it can really, really cause issues with the overall simulation of the game.
"You learn something new everyday."

http://img517.imageshack.us/img517/169/nhpjplumbleykv3.gif
Bringing the new horizons closer to reality.

Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio jplumbley ♦ moganite ♦ M4346 ♦ Dedgren ♦ Ennedi Shadow Assassin ♦  Tarkus ♦ wouanagaine
Street Addon Mod - SAM

GoaSkin

I don't understand exactly what you mean. I thought the default values of any NAM plugin can be selected - the pathfinding presets (standard, perfect, better) and the capacity/commute settings (1x,2x,5x,10x). I did not recognize any changes in the NAM exemplars except one single value. Is there anything I haven't seen?
download SC4Config public BETA (RC1)

jeronij

I hae downloaded and briefly tested the tool and I have to say I am in love with it  :thumbsup:  &apls  &apls  . It is really powerful and I can start cleaning my mods folders  ::)

What JPlumbey is referring to  is a recent thread where mott re-writed some conceptions about transit/traffic. I dont have a link at hand, but you can check for mott's latest posts and check them. Really interesting material. 

I am currently not active - Please, contact Tarkus for any site related matter. Thanks for enjoying SC4D :D


Autism Awareness;  A Father Shares
Mallorca My Mayor Diary


GoaSkin

If he explains it, I can add new presets in the future and/or implement variables to handle the dependencies bethween the values.

Version 1.1 will beside include an illustration page configure colors of anything (night brightness, zone colors, sun color etc.).

But before the final release of 1.0 will be out, two more release candidates follow.
download SC4Config public BETA (RC1)

figui

this seems to be very useful :thumbsup:
i hope you're planning to add an english version  ::) :P

mauricio.
first forums inhabitant from Uruguay..   first forums citizen from Uruguay..  first forums councilman from Uruguay..   first forums mayor from Uruguay..  first forums governor from Uruguay..
...i'm still the only one from Uruguay!

________

GoaSkin

The version is multi-lingual. The displayed language depends on the operating system language. The spanish version is incomplete at the moment because Jeronij translated the program earlier when things were missing.
download SC4Config public BETA (RC1)

figui

luckily because my german is non-existent $%Grinno$%

mauricio.
first forums inhabitant from Uruguay..   first forums citizen from Uruguay..  first forums councilman from Uruguay..   first forums mayor from Uruguay..  first forums governor from Uruguay..
...i'm still the only one from Uruguay!

________

jplumbley

#18
Quote from: jplumbley on November 10, 2007, 07:11:13 AM
This looks like a very interesting program that is for sure.  Great work and keep it up!

I only have one issue with this program.  Mott has made some fairly interesting and important finds about the Traffic Simulators.  As it turns out the NAM Traffic Simulators which were meant to help make the game determine proper pathfinding and better options for capacities, actually turned out to not fix the problem.  Mott and I have colaborated and have finally come up with some balanced ALPHA Traffic Simulators, that will make the old NAM Traffic Simulators and Traffic Cop obsolete and will make the transit portion of this tool potentially harmful to the game if people do not tune their Traffic Simulator properly.

Here is a link to the thread:

Commute Engine Tweaking

Please Goaskin, take into account what has been said in this thread and maybe there is a way to implement this into your Tool without unbalancing everything in the game.  The issues of the Traffic Simulator spread to other things aswell such as mass abandoment or dilapidation.  It really should not be touched unless it is from an expert modder who knows what they are modifying.  One thing that should not be changed ever, is the speed of the network, unless you know what you are doing.

Please follow the link I posted in this quote from earlier in this thread.  The thread at the other side of the link you must read through the whole thing.  There should be constants for each of the three major components of the Traffic Simulator:

Speed  (should be very similar to the vanilla stats, if not the same)
Commute Time (calculated by mott)
Pathfinding Heuristic (calculated by mott)

Capacities should also be set to a fairly static set of values... Although these can be manipulated slightly.
"You learn something new everyday."

http://img517.imageshack.us/img517/169/nhpjplumbleykv3.gif
Bringing the new horizons closer to reality.

Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio jplumbley ♦ moganite ♦ M4346 ♦ Dedgren ♦ Ennedi Shadow Assassin ♦  Tarkus ♦ wouanagaine
Street Addon Mod - SAM

GoaSkin

download SC4Config public BETA (RC1)