Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GearCity 1.18 Progress
#5
So between last night and this morning I have switched cartypes from the two variable system to all variables. What do I mean by that?

GC 1.17 and older uses what I call the "Two Variable" system. Every car type has two primary variables, such as Performance and Driveability. The consumers would look at these two variables as the most important factor when buying a vehicle. Say 10 points for Primary and 5 points for secondary. And then other values were hardcoded so if primary was Performance than Fuel would be worth 0.25 points where as Power would be 1.5 points.

The AI also had two variables, using those two variables they would select which vehicle to design.

In 1.18 this has changed.
I've taken all the primary values of vehicles, such as performance and fuel etc and applied values between 0-1 for each car type. This allows for more flexable cartypes, it allows for regional differences using the same car types. It also allows for dynamic changes in car types based on yours and the AI's actions. It improves moddablity of the game, makes the turn times faster, and most importantly it makes the consumers much more picky, realistic, fluid.

In theory of course. I still have to do testing and tweaking. Smile


I've also converted the Top 10 AI file to handle this data. Each AI company now list the primary vehicle values in their behavior code. Each variable has a range between 0-1 that is the percentage of what values it's looking for. So for example if Lumbergini is a super car company. Then they will have high values for Performance and Driveability, but low values for Fuel Economy, Safety, Cargo, and Dependability. When Lumbergini goes to parse the car type list it should be much easier for it pick out vehicle types that meet it's behavior. I've also added a "GenericDeveloper" flag for companies such as Generic Motors, to give it a more broad focus than it's behavior when developing new vehicles. This should force niche makers such as Lumbergini into very few car types with high performance/driveability, and allow Generic Companies like Forward and Toyoda to produce a broad range. The new code should be faster (again not tested yet.) which is one of my primary goals over the next few builds so that I can get us up to 600AI.

The new behavior values could also make its way into the AI's car design sliders. Not sure if I'll do that. But if so, that would make for example any SUV's designed by Catalac have higher luxury ratings, even if SUV don't need much luxury.

Anyhoo, currently working on the AI's selection of Car Types code. Should be able to get it working by tonight, I'll then run a few hundred test and tweaks to the new code using the Top 10 companies. Then I'll move on to adding these values to the top-25 AI and then the full AI xml file.
"great writers are indecent people, they live unfairly, saving the best part for paper.
good human beings save the world, so that bastards like me can keep creating art, become immortal.
if you read this after I am dead it means I made it." ― Charles Bukowski
Reply


Messages In This Thread
GearCity 1.18 Progress - by Eric.B - 01-03-2015, 11:37 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-03-2015, 11:40 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-03-2015, 11:52 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-04-2015, 12:20 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-06-2015, 12:44 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-09-2015, 12:42 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-10-2015, 03:25 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-13-2015, 01:37 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-14-2015, 12:23 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-14-2015, 06:00 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-15-2015, 10:58 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-16-2015, 12:49 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-16-2015, 04:54 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-17-2015, 09:15 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-18-2015, 01:17 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-20-2015, 01:38 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-20-2015, 03:43 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-21-2015, 10:41 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-22-2015, 01:32 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-23-2015, 12:51 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-26-2015, 12:41 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-27-2015, 12:40 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 01-27-2015, 05:31 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-27-2015, 10:02 AM
RE: GearCity 1.18 Progress - by Tridon - 01-28-2015, 06:02 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-29-2015, 12:49 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 01-29-2015, 02:12 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-29-2015, 09:47 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 01-29-2015, 03:24 PM
RE: GearCity 1.18 Progress - by Eric.B - 01-30-2015, 01:11 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 01-30-2015, 01:55 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-30-2015, 01:18 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 01-30-2015, 06:51 AM
RE: GearCity 1.18 Progress - by Eric.B - 01-30-2015, 09:49 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-01-2015, 01:47 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-01-2015, 02:08 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-03-2015, 04:24 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-05-2015, 04:17 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-07-2015, 01:32 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-09-2015, 01:01 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-09-2015, 05:10 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-11-2015, 02:53 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-12-2015, 09:53 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-13-2015, 12:22 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-13-2015, 03:47 AM
RE: GearCity 1.18 Progress - by foreverska - 02-13-2015, 05:04 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-13-2015, 05:52 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-13-2015, 09:27 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-13-2015, 06:25 PM
RE: GearCity 1.18 Progress - by foreverska - 02-13-2015, 07:53 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-13-2015, 07:37 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-13-2015, 08:26 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-13-2015, 08:30 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-13-2015, 09:13 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-13-2015, 09:33 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-13-2015, 09:58 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-13-2015, 10:52 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-13-2015, 11:55 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-14-2015, 12:55 AM
RE: GearCity 1.18 Progress - by foreverska - 02-14-2015, 01:41 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-14-2015, 01:50 AM
RE: GearCity 1.18 Progress - by foreverska - 02-14-2015, 02:11 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-14-2015, 01:07 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-14-2015, 06:16 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-14-2015, 06:28 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-15-2015, 01:08 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-15-2015, 06:13 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-15-2015, 08:12 AM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-15-2015, 04:35 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-15-2015, 05:12 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-15-2015, 08:13 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-16-2015, 11:07 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-18-2015, 04:16 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-20-2015, 12:20 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 02-20-2015, 01:22 PM
RE: GearCity 1.18 Progress - by Tridon - 02-23-2015, 04:15 AM
RE: GearCity 1.18 Progress - by Eric.B - 02-23-2015, 12:55 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-25-2015, 03:39 PM
RE: GearCity 1.18 Progress - by Eric.B - 02-26-2015, 12:56 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-03-2015, 03:43 AM
RE: GearCity 1.18 Progress - by Eric.B - 03-05-2015, 05:06 PM
RE: GearCity 1.18 Progress - by SecretlyaFish - 03-06-2015, 06:09 AM
RE: GearCity 1.18 Progress - by Eric.B - 03-06-2015, 09:27 AM
RE: GearCity 1.18 Progress - by halem111 - 03-06-2015, 01:06 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-06-2015, 04:49 PM
RE: GearCity 1.18 Progress - by sketch - 03-07-2015, 08:57 AM
RE: GearCity 1.18 Progress - by Eric.B - 03-07-2015, 01:21 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-07-2015, 01:24 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-11-2015, 02:40 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 03-11-2015, 06:54 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-11-2015, 08:08 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 03-11-2015, 09:12 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-11-2015, 09:56 PM
RE: GearCity 1.18 Progress - by cobrryse - 03-13-2015, 05:07 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-13-2015, 07:29 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-14-2015, 12:22 AM
RE: GearCity 1.18 Progress - by cobrryse - 03-15-2015, 11:27 AM
RE: GearCity 1.18 Progress - by Eric.B - 03-17-2015, 02:52 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-22-2015, 12:27 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-22-2015, 07:15 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 03-22-2015, 09:08 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-22-2015, 09:16 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-25-2015, 02:38 PM
RE: GearCity 1.18 Progress - by Viktor - 03-26-2015, 05:03 AM
RE: GearCity 1.18 Progress - by Eric.B - 03-26-2015, 09:01 AM
RE: GearCity 1.18 Progress - by Eric.B - 03-28-2015, 10:08 AM
RE: GearCity 1.18 Progress - by Eric.B - 03-29-2015, 12:06 AM
RE: GearCity 1.18 Progress - by Eric.B - 03-31-2015, 12:13 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 03-31-2015, 02:48 PM
RE: GearCity 1.18 Progress - by Eric.B - 03-31-2015, 03:10 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 03-31-2015, 08:04 PM
RE: GearCity 1.18 Progress - by Frankschtaldt - 04-01-2015, 02:00 PM
RE: GearCity 1.18 Progress - by shadow - 04-01-2015, 02:58 PM
RE: GearCity 1.18 Progress - by Eric.B - 04-01-2015, 04:35 PM
RE: GearCity 1.18 Progress - by Eric.B - 04-01-2015, 04:35 PM
RE: GearCity 1.18 Progress - by shadow - 04-01-2015, 04:56 PM
RE: GearCity 1.18 Progress - by Eric.B - 04-02-2015, 12:26 AM
RE: GearCity 1.18 Progress - by shadow - 04-03-2015, 09:39 AM
RE: GearCity 1.18 Progress - by Eric.B - 04-03-2015, 10:59 AM
RE: GearCity 1.18 Progress - by shadow - 04-03-2015, 11:08 AM
RE: GearCity 1.18 Progress - by shadow - 04-04-2015, 09:35 AM
RE: GearCity 1.18 Progress - by Eric.B - 04-05-2015, 04:19 PM
RE: GearCity 1.18 Progress - by Eric.B - 04-10-2015, 11:29 AM
RE: GearCity 1.18 Progress - by Eric.B - 04-14-2015, 02:44 PM
RE: GearCity 1.18 Progress - by Eric.B - 04-16-2015, 02:16 PM
RE: GearCity 1.18 Progress - by Eric.B - 04-17-2015, 02:24 PM
RE: GearCity 1.18 Progress - by Eric.B - 04-21-2015, 05:38 PM
RE: GearCity 1.18 Progress - by Tridon - 04-22-2015, 06:45 AM
RE: GearCity 1.18 Progress - by Sagal - 04-22-2015, 02:30 PM
RE: GearCity 1.18 Progress - by Eric.B - 04-30-2015, 08:05 AM
RE: GearCity 1.18 Progress - by cobrryse - 05-02-2015, 09:29 AM
RE: GearCity 1.18 Progress - by Eric.B - 05-02-2015, 03:28 PM
RE: GearCity 1.18 Progress - by cobrryse - 05-03-2015, 08:37 AM
RE: GearCity 1.18 Progress - by Eric.B - 05-05-2015, 08:17 PM
RE: GearCity 1.18 Progress - by Tridon - 05-06-2015, 04:29 AM
RE: GearCity 1.18 Progress - by Eric.B - 05-06-2015, 08:17 AM
RE: GearCity 1.18 Progress - by Eric.B - 05-06-2015, 11:06 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)