Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 6 7 [8]

Author Topic: LCS 4.12.20 Now With A Save Editor  (Read 14348 times)

IsaacG

  • Bay Watcher
  • Mad Engineer
    • View Profile
    • JJoseph on Deviantart
Re: LCS 4.12.20 Now With A Save Editor
« Reply #105 on: May 15, 2018, 08:57:23 am »

Just updated github for 4.12.20
For those curious, I'm currently attempting to remove these 104 lines of code.

basemode\activate.cpp(175):extern vector<AugmentType *> augmenttype;
basemode\activate.cpp(177):extern vector<ArmorType *> armortype;
daily\activities.cpp(251):extern vector<VehicleType *> vehicletype;
daily\activities.cpp(282):extern vector<Creature *> pool;
daily\activities.cpp(294):extern vector<squadst *> squad;
daily\activities.cpp(296):extern vector<ArmorType *> armortype;
daily\activities.cpp(303):extern vector<newsstoryst *> newsstory;
daily\activities.cpp(308):extern vector<WeaponType *> weapontype;
daily\activities.cpp(310):extern vector<Vehicle *> vehicle;
items\armor.cpp(24):extern vector<ArmorType *> armortype;
basemode\baseactions.cpp(79): extern vector<Vehicle *> vehicle;
basemode\basemode.cpp(157):extern vector<Creature *> pool;
basemode\basemode.cpp(179): extern vector<squadst *> squad;
basemode\basemode.cpp(182):extern vector<Vehicle *> vehicle;
combat\chase.cpp(118):extern vector<VehicleType *> vehicletype;
combat\chase.cpp(161):extern vector<Vehicle *> vehicle;
combat\chase.cpp(167):extern vector<squadst *> squad;
items\clip.cpp(16):extern vector<ClipType *> cliptype;
common\commonactions.cpp(66):extern vector<Creature *> pool;
common\commonactions.cpp(79):extern vector<squadst *> squad;
common\commonactions.cpp(80):extern vector<Vehicle *> vehicle;
common\commonactions.cpp(84):extern vector<datest *> date;
common\commonactions.cpp(85):extern vector<recruitst *> recruit;
common\commondisplay.cpp(268):extern vector<Vehicle *> vehicle;
creature\creature.cpp(228):extern vector<ArmorType *> armortype;
creature\creature.cpp(229):extern vector<WeaponType *> weapontype;
common\creaturePool.cpp(1174):extern vector<squadst *> squad;
common\creaturePool.cpp(1303):extern vector<ArmorType *> armortype;
creature\creaturetype.cpp(96):extern vector<WeaponType *> weapontype;
creature\creaturetype.cpp(97):extern vector<ArmorType *> armortype;
creature\creaturetype.cpp(98):extern vector<ClipType *> cliptype;
creature\creaturetypes.cpp(70):extern vector<ClipType *> cliptype;
creature\creaturetypes.cpp(71):extern vector<WeaponType *> weapontype;
creature\creaturetypes.cpp(72)://extern vector<ArmorType *> armortype;
creature\creaturetypes.cpp(77):extern vector<ArmorType *> armortype;
daily\daily.cpp(94):extern vector<Creature *> pool;
daily\daily.cpp(102):extern vector<squadst *> squad;
daily\daily.cpp(103):extern vector<Vehicle *> vehicle;
daily\daily.cpp(105):extern vector<newsstoryst *> newsstory;
daily\daily.cpp(107):extern vector<recruitst *> recruit;
daily\daily.cpp(108):extern vector<datest *> date;
daily\date.cpp(151):extern vector<Creature *> pool;
daily\date.cpp(170): extern vector<ArmorType *> armortype;
combat\fight.cpp(271):extern vector<Creature *> pool;
combat\fight.cpp(345): extern vector<ArmorType *> armortype;
game.cpp(493):   extern vector<pointerAndString> debug_defines;
game.cpp(530):   extern vector<string> default_slogans;
globals.cpp(248):extern vector<LootType *> loottype;
monthly\justice.cpp(219):extern vector<Creature *> pool;
monthly\justice.cpp(258):extern vector<ArmorType *> armortype;
monthly\lcsmonthly.cpp(179):extern vector<squadst *> squad;
locations\locationsPool.cpp(180):   extern vector<ClipType *> cliptype;
locations\locationsPool.cpp(181):   extern vector<WeaponType *> weapontype;
locations\locationsPool.cpp(182):   extern vector<squadst *> squad;
locations\locationsPool.cpp(184):   extern vector<ArmorType *> armortype;
locations\locationsPool.cpp(460):extern vector<WeaponType *> weapontype;
locations\locationsPool.cpp(464):extern vector<ArmorType *> armortype;
locations\locationsPool.cpp(541):extern vector<squadst *> squad;
locations\locationsPool.cpp(1055):extern vector<ArmorType *> armortype;
locations\locationsPool.cpp(2438):extern vector<Vehicle *> vehicle;
sitemode\mapspecials.cpp(227):extern vector<WeaponType *> weapontype;
sitemode\mapspecials.cpp(228):extern vector<ClipType *> cliptype;
sitemode\mapspecials.cpp(230):extern vector<ArmorType *> armortype;
title\newgame.cpp(224):extern vector<ArmorType *> armortype;
title\newgame.cpp(230):extern vector<ClipType *> cliptype;
title\newgame.cpp(231):extern vector<WeaponType *> weapontype;
news\news.cpp(1011):extern vector<newsstoryst *> newsstory;
basemode\reviewmode.cpp(188):extern vector<Creature *> pool;
basemode\reviewmode.cpp(200):extern vector<squadst *> squad;
title\saveload.cpp(129):extern vector<Creature *> pool;
title\saveload.cpp(132):extern vector<Location *> location;
title\saveload.cpp(150):extern vector<Vehicle *> vehicle;
title\saveload.cpp(190):extern vector<squadst *> squad;
title\saveload.cpp(191):extern vector<datest *> date;
title\saveload.cpp(192):extern vector<recruitst *> recruit;
title\saveload.cpp(193):extern vector<newsstoryst *> newsstory;
sitemode\shop.cpp(128): extern vector<ArmorType *> armortype;
sitemode\shop.cpp(129): extern vector<ClipType *> cliptype;
sitemode\shop.cpp(130): extern vector<WeaponType *> weapontype;
sitemode\shop.cpp(756):extern vector<Location *> location;
daily\shopsnstuff.cpp(41):extern vector<VehicleType *> vehicletype;
daily\shopsnstuff.cpp(68):extern vector<Vehicle *> vehicle;
daily\siege.cpp(343):extern vector<Creature *> pool;
daily\siege.cpp(387):extern vector<Vehicle *> vehicle;
daily\siege.cpp(394):extern vector<squadst *> squad;
daily\siege.cpp(396):extern vector<newsstoryst *> newsstory;
sitemode\sitemode.cpp(330):extern vector<Vehicle *> vehicle;
sitemode\sitemode.cpp(333):extern vector<newsstoryst *> newsstory;
sitemode\sitemode.cpp(343):extern vector<ClipType *> cliptype;
sitemode\sitemode.cpp(344):extern vector<WeaponType *> weapontype;
sitemode\sitemode.cpp(345):extern vector<ArmorType *> armortype;
sitemode\sitemode.cpp(1449):      extern vector<Item *> groundloot;
sitemode\talk.cpp(176): extern vector<datest *> date;
sitemode\talk.cpp(177): extern vector<recruitst *> recruit;
common\translateid.cpp(43):extern vector<VehicleType *> vehicletype;
common\translateid.cpp(48):extern vector<squadst *> squad;
common\translateid.cpp(49):extern vector<Creature *> pool;
common\translateid.cpp(50):extern vector<Vehicle *> vehicle;
common\translateid.cpp(51):extern vector<ClipType *> cliptype;
common\translateid.cpp(52):extern vector<WeaponType *> weapontype;
common\translateid.cpp(53):extern vector<ArmorType *> armortype;
common\translateid.cpp(54):extern vector<CreatureType *> creaturetype;
vehicle\vehicle.h(5):extern vector<VehicleType *> vehicletype;
items\weapon.cpp(21):extern vector<WeaponType *> weapontype;

Heh.  Heheheh.

Heheheheheheheh
Logged
LCS 4.12.20 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.

Taberone

  • Bay Watcher
    • View Profile
Re: LCS 4.12.19 Now With A Save Editor
« Reply #106 on: May 15, 2018, 09:47:24 am »

Latest date: Revamp of the inventory system.  Currently, unequipped weapons cannot be detected by metal detectors, because metal detectors only look through the inventory of individual squad members, rather than the squad itself.  I'm not sure how it should be done, just that it should be different.

Hopefully disguises would still work even if the metal detector starts beeping? Also, good luck removing those 104 lines of code.
Logged

IsaacG

  • Bay Watcher
  • Mad Engineer
    • View Profile
    • JJoseph on Deviantart
Re: LCS 4.12.20 Now With A Save Editor
« Reply #107 on: May 15, 2018, 03:22:45 pm »

Latest date: Revamp of the inventory system.  Currently, unequipped weapons cannot be detected by metal detectors, because metal detectors only look through the inventory of individual squad members, rather than the squad itself.  I'm not sure how it should be done, just that it should be different.

Hopefully disguises would still work even if the metal detector starts beeping? Also, good luck removing those 104 lines of code.
I like to envision that scene from The Matrix, where they open their trenchcoats and are so heavily armed the security just stares at them, stunned.
The beauty of programming is that it can work in any design.

I'm open to suggestions of how the disguise system should work in tandem with metal detectors.  There's no shortage of pop culture where people out-smart the metal detectors.  And then there are plastic guns, which are so illegal Ronald Reagan signed the law outlawing them.  Though the NRA is working to prevent it from applying to 3-D printed guns.  And the Undetectable Firearms Act has been renewed three times in thirty years because the legislatures have been unable to make it permanent, or to change the wording so that it applies to 3-D printed guns.

A few months ago someone asked me why flamethrowers were so hard to obtain in LCS, when they are legal to purchase.

Why is it every time I do research for this game, it leaves me terrified?

Whatever, no one knows where I live.
Logged
LCS 4.12.20 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.

MetalSlimeHunt

  • Bay Watcher
  • Gerrymander Commander
    • View Profile
Re: LCS 4.12.20 Now With A Save Editor
« Reply #108 on: May 15, 2018, 04:13:56 pm »

It should be noted there are substantial differences between legal "flamethrowers" and military flamethrowers. The former are so widely legal because they're of critical necessity in pest control and deicing operations. While you could hurt someone with one pretty badly, they still aren't the kind of twenty foot jet of fire you get from actual weapon flame or napalm throwers.
Logged

Quote from: Thomas Paine
To argue with a man who has renounced the use and authority of reason, and whose philosophy consists in holding humanity in contempt, is like administering medicine to the dead, or endeavoring to convert an atheist by scripture.
Quote
No Gods, No Masters.

IsaacG

  • Bay Watcher
  • Mad Engineer
    • View Profile
    • JJoseph on Deviantart
Re: LCS 4.12.20 Now With A Save Editor
« Reply #109 on: May 16, 2018, 08:52:23 am »

It should be noted there are substantial differences between legal "flamethrowers" and military flamethrowers. The former are so widely legal because they're of critical necessity in pest control and deicing operations. While you could hurt someone with one pretty badly, they still aren't the kind of twenty foot jet of fire you get from actual weapon flame or napalm throwers.
True.  Military flamethrowers are typically liquid-based, whereas commercial are gas-based.  Safer to use, less effective as a weapon, and other differences I can't remember.  Flamethrowers are like chainsaws.  Popular weapon in fiction, but in reality, they're just too heavy to use as a weapon, to say nothing of the fact they're not even that effective as weapons.  Flamethrowers don't 'burn', they 'ignite'.  A flamethrower user can only carry a few seconds worth of fuel.  Napalm's chief asset is that it's sticky.  Anything it touches isn't getting rid of it until it burns itself out.

Sorry for the tangent, my knowledge of weaponry is largely made up of people complaining about 'inaccuracies'.  I know more about the misconceptions than the reality.
Logged
LCS 4.12.20 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.
Pages: 1 ... 6 7 [8]