Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 19 20 [21]

Author Topic: LCS 4.12.55  (Read 112226 times)

EuchreJack

  • Bay Watcher
    • View Profile
Re: LCS 4.12.55
« Reply #300 on: September 12, 2020, 09:18:02 am »

By generic cities, would that mean made-up cities like Washingtonville (it's only a village in real life), or real cities that are kinda generic due to their small size, like Peoria.

Peoria, if I recall, is often used a generic city in the Midwest.

...or maybe you mean Vancouver and Toronto, the Canadian cities that are often used in place of many major US cities in films and shows.  True stand ins for any average city in the United States.
Logged
I think the word you were looking for is "monster".

Azerty

  • Bay Watcher
    • View Profile
Re: LCS 4.12.55
« Reply #301 on: September 12, 2020, 02:07:42 pm »

We could have generic cities in the raw code, with specific additions, such as Washington DC having the White House or coastal cities having harbours.
Logged
"Just tell me about the bits with the forest-defending part, the sociopath part is pretty normal dwarf behavior."

Durian Hohlades

  • Bay Watcher
    • View Profile
Re: LCS 4.12.55
« Reply #302 on: September 12, 2020, 03:15:01 pm »

Generic cities Like average non Special Towns 😆
Logged

Azerty

  • Bay Watcher
    • View Profile
Re: LCS 4.12.55
« Reply #303 on: September 13, 2020, 04:39:57 pm »

Generic cities Like average non Special Towns 😆

Nah, I meant a basic city defined in the raws with alterations depending from the type (so that coastal cities get harbours) and specificities such as the White House or the Empire State Building.
Logged
"Just tell me about the bits with the forest-defending part, the sociopath part is pretty normal dwarf behavior."

Durian Hohlades

  • Bay Watcher
    • View Profile
Re: LCS 4.12.55
« Reply #304 on: September 13, 2020, 05:40:06 pm »

i tried adding the sitevectors and the city stuff to locations cpp but it did not work out, any idea what iam missing?

got visual studio runnin on my toughbook in the field and found some time to try
Logged

IsaacG

  • Bay Watcher
  • Mad Engineer
    • View Profile
    • JJoseph on Deviantart
Re: LCS 4.12.55
« Reply #305 on: September 15, 2020, 04:40:48 am »

i tried adding the sitevectors and the city stuff to locations cpp but it did not work out, any idea what iam missing?

got visual studio runnin on my toughbook in the field and found some time to try
Technically it's in locationsPool.cpp
Line 535 in 4.12.56
Code: [Select]
void make_world(const bool hasmaps)
{
if (!multipleCityMode)
{
make_classic_world(hasmaps);
return;
}
//MAKE LOCATIONS
Location* city = NULL;
Location* district = NULL;
//Location* site = NULL;
location.push_back(city = new Location(SITE_CITY_SEATTLE));
Logged
LCS 4.12.55 Custom NewGame, Edit Savefile!
Quote
Many people, meeting Aziraphale for the first time, formed three impressions: that he was English, that he was intelligent, and that he was gayer than a tree full of monkeys on nitrous oxide.
Constitution of the Confederate States
Article I Sec. 9 4
No bill of attainder, ex post facto law, or law denying or impairing the right of property in negro slaves shall be passed.

Durian Hohlades

  • Bay Watcher
    • View Profile
Re: LCS 4.12.55
« Reply #306 on: September 15, 2020, 12:44:25 pm »

i tried adding the sitevectors and the city stuff to locations cpp but it did not work out, any idea what iam missing?

got visual studio runnin on my toughbook in the field and found some time to try
Technically it's in locationsPool.cpp
Line 535 in 4.12.56
Code: [Select]
void make_world(const bool hasmaps)
{
if (!multipleCityMode)
{
make_classic_world(hasmaps);
return;
}
//MAKE LOCATIONS
Location* city = NULL;
Location* district = NULL;
//Location* site = NULL;
location.push_back(city = new Location(SITE_CITY_SEATTLE));

i added this there before my last post
i also defined the vectors chicagoDownton Uptown and out of town but had no succes after successfull compiling
just ended up with the same 4 citys and not chicago :"D

Code: [Select]
location.push_back(city = new Location(SITE_CITY_CHICAGO));
district = city->addchild(SITE_DOWNTOWN);
district->area = 0;
district->mapped = hasmaps; // for some reason this property isn't inherited by downtown locations so it's manually added for each one, need to debug why this happens
addChildren(district, chicagoDowntown, hasmaps);
{
Location* site = district->addchild(SITE_BUSINESS_BARANDGRILL);
site->renting = RENTING_CCS;
site->hidden = true;
site->mapped = false;
}
district = city->addchild(SITE_UDISTRICT);
district->area = 0;
addChildren(district, chicagoUptown);
district = city->addchild(SITE_INDUSTRIAL);
district->area = 0;
district->addchild(SITE_RESIDENTIAL_SHELTER)->renting = RENTING_PERMANENT;
{
Location* site = district->addchild(SITE_INDUSTRY_WAREHOUSE);
site->renting = RENTING_PERMANENT;
site->upgradable = true;
}
district->addchild(SITE_RESIDENTIAL_TENEMENT);
district->addchild(SITE_INDUSTRY_POLLUTER);
district->addchild(SITE_INDUSTRY_SWEATSHOP);
district->addchild(SITE_BUSINESS_CRACKHOUSE)->upgradable = true;
district->addchild(SITE_BUSINESS_PAWNSHOP);
district->addchild(SITE_BUSINESS_CARDEALERSHIP);
district = city->addchild(SITE_OUTOFTOWN);
district->area = 1;
addChildren(district, chicagoOutOfTown);


vectors in include24.h
Code: [Select]
vector<SiteTypes> chicagoDowntown = {

SITE_RESIDENTIAL_APARTMENT_UPSCALE,
SITE_GOVERNMENT_POLICESTATION,
SITE_GOVERNMENT_COURTHOUSE,
SITE_BUSINESS_BANK,
SITE_GOVERNMENT_FIRESTATION,
SITE_MEDIA_AMRADIO,
SITE_BUSINESS_CIGARBAR,
SITE_BUSINESS_LATTESTAND,
SITE_BUSINESS_DEPTSTORE,
};

vector<SiteTypes> chicagoUptown = {

SITE_RESIDENTIAL_APARTMENT,
SITE_HOSPITAL_UNIVERSITY,
SITE_HOSPITAL_CLINIC,
SITE_LABORATORY_GENETIC,
SITE_LABORATORY_COSMETICS,
SITE_BUSINESS_VEGANCOOP,
SITE_BUSINESS_JUICEBAR,
SITE_BUSINESS_INTERNETCAFE,
SITE_OUTDOOR_PUBLICPARK,
SITE_BUSINESS_HALLOWEEN,
};
vector<SiteTypes> chicagoOutOfTown = {

SITE_GOVERNMENT_PRISON,
SITE_GOVERNMENT_INTELLIGENCEHQ,
SITE_CORPORATE_HEADQUARTERS,
SITE_GOVERNMENT_ARMYBASE,
};

« Last Edit: September 15, 2020, 12:46:08 pm by Durian Hohlades »
Logged

Durian Hohlades

  • Bay Watcher
    • View Profile
Re: LCS 4.12.55
« Reply #307 on: September 15, 2020, 03:24:31 pm »

well i just played around on visual studio and started the game from the studio with ctrl f5

everything seems to work
iam just to stupid to compile correctly

can you tell me how to compile the game files properly?

thanks


just had to copy the crimesquad exe to the main folder from workspace
works ;) will test more
« Last Edit: September 15, 2020, 04:03:39 pm by Durian Hohlades »
Logged

IsaacG

  • Bay Watcher
  • Mad Engineer
    • View Profile
    • JJoseph on Deviantart
Re: LCS 4.12.55
« Reply #308 on: September 16, 2020, 05:05:33 pm »

can you tell me how to compile the game files properly?

just had to copy the crimesquad exe to the main folder from workspace
:thumbsup:
Logged
LCS 4.12.55 Custom NewGame, Edit Savefile!
Quote
Many people, meeting Aziraphale for the first time, formed three impressions: that he was English, that he was intelligent, and that he was gayer than a tree full of monkeys on nitrous oxide.
Constitution of the Confederate States
Article I Sec. 9 4
No bill of attainder, ex post facto law, or law denying or impairing the right of property in negro slaves shall be passed.

Durian Hohlades

  • Bay Watcher
    • View Profile
Re: LCS 4.12.55
« Reply #309 on: Today at 09:02:32 am »

i now implemented all the cities from the vanilla files to be shown ingame, basically they are all like seattle no special places just more immersion and more areas to travel and spread
i thought about balance, more places actually makes the game easier i belive bec you have more places to go with the same amounts of heat? any ideas how to compensate?
Logged
Pages: 1 ... 19 20 [21]