Bay 12 Games Forum

Please login or register.

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

Author Topic: LCS 4.04 Download (April 2011 Graduation Gift)  (Read 90522 times)

Elodie Hiras

  • Bay Watcher
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #285 on: October 27, 2011, 03:01:36 pm »

Ok, so then, what is the right directory to put sitemaps.txt please? Thank you!
Logged

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #286 on: October 27, 2011, 09:53:52 pm »

Ok, so then, what is the right directory to put sitemaps.txt please? Thank you!

I don't know. That's why I said I couldn't help beyond the advice that it's probably in the wrong directory. Perhaps someone else can help though.
Logged

Carlos Gustavos

  • Bay Watcher
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #287 on: October 28, 2011, 08:41:49 am »

Elodie, was your procedure for getting, compiling and running the game any different from mine?:

# Checkout from svn.
svn co https://lcsgame.svn.sourceforge.net/svnroot/lcsgame/trunk lcsgame
# Enter directory.
cd lcsgame
# Some configuration.
./bootstrap
# More configuration. Install whatever it says you're missing.
./configure
# Compile.
make
# Run game. The binary is in the src directory.
src/crimequad

It must be run from either src or its parent directory (as above), unless you install the game (sudo make install). dos2unix is not necessary anymore but it shouldn't break anything either.
Logged

Elodie Hiras

  • Bay Watcher
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #288 on: October 28, 2011, 11:40:25 am »

Well, I got it from sourceforge.

Thanks for the help, it works now!
Logged

CaptainFatty

  • Bay Watcher
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #289 on: October 30, 2011, 08:03:36 pm »

Just a problem I'm having, I can't leave the 'What is your name to the people' screen. I tried pressing enter with and without a name and nothing happens. I tried downloading several times and ran it from several locations, but still got nothing.

Any way to get around this?
Logged

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #290 on: October 31, 2011, 12:10:43 am »

Just a problem I'm having, I can't leave the 'What is your name to the people' screen. I tried pressing enter with and without a name and nothing happens. I tried downloading several times and ran it from several locations, but still got nothing.

Any way to get around this?

Bizarre. I've never heard of this. I'd like to help but I have no idea why it would break there or how to deal with it.
Logged

Elodie Hiras

  • Bay Watcher
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #291 on: October 31, 2011, 05:06:16 am »

Got that problem while running it with Wine cause my cursor was out of the window. Try pressing enter with your mouse cursor unside the LCS window.

Let me know if it helps!
Logged

Yoink

  • Bay Watcher
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #292 on: October 31, 2011, 05:28:42 am »

Ah, I've been getting back into LCS lately... For ages I was getting kinda bored of the game, since I had a whole band of nigh-indestructible badasses who could just chew through squads of soldiers like hot knives through butter, and I was just sitting there, slaughtering anyone who attacked my safehouses, selling their weapons and ammo and generally making tonnes of money for the Liberal cause, but with nothing much happening.

Just recently I've started playing again, and after my founder died from a bug with escaping sieges I've been taking a lot more chances and really trying to 'win' at last... Before I'd been kindof waiting for my squad to get wiped out so I could start a new game and play it differently, but now I'm doing plenty of experimenting in my current game. :)
Oh, and I have a martial artist in my squad with a cap of 19 for just about every main skill. :o
Logged
Booze is Life for Yoink

To deprive him of Drink is to steal divinity from God.
you need to reconsider your life
If there's any cause worth dying for, it's memes.

CaptainFatty

  • Bay Watcher
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #293 on: October 31, 2011, 06:57:07 am »

Cursor location isn't the problem. I'm not too fussed though because it works perfectly on my pc, just my laptop that has this fault. It's a damn fun and addicting game though.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #294 on: November 02, 2011, 07:06:41 pm »

Trying to compile it, I get a noob error: it cannot include <externs.h> although the file is RIGHT THERE. I am using codeblocks. What could cause it? :)
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

MetalSlimeHunt

  • Bay Watcher
  • Gerrymander Commander
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #295 on: November 02, 2011, 07:37:42 pm »

The mighty Deon, brought low by trying to compile LCS? It cannot be! (Translation: If you are modding LCS right now, I am very, very eager to see what you came up with.")
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.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #296 on: November 02, 2011, 07:51:54 pm »

Right now I just check general code and see what can I do. Also I plan to make it a bit more futuristic and change dogs to K-9 (intelligent dog-like cyborgs like in Starship Troopers), it would make sense then that they are able to do most things humans may do with L+ animal rights.

And I've figured out how to compile it.


Here's the question:
Code: [Select]
      case CREATURE_SECURITYGUARD:
         GIVE_GENDER_MALE;
         if(law[LAW_GUNCONTROL]==-2)
         {
            Weapon w=Weapon(*weapontype[getweapontype("WEAPON_SMG_MP5")]);
            cr.give_weapon(w,NULL);
            Clip c=Clip(*cliptype[getcliptype("CLIP_SMG")],4);
            cr.take_clips(c,4);
            cr.reload(false);
         }
         else if(law[LAW_GUNCONTROL]!=2)
         {
            Weapon w=Weapon(*weapontype[getweapontype("WEAPON_REVOLVER_38")]);
            cr.give_weapon(w,NULL);
            Clip c=Clip(*cliptype[getcliptype("CLIP_38")],4);
            cr.take_clips(c,4);
            cr.reload(false);
         }
         else
         {
            Weapon w=Weapon(*weapontype[getweapontype("WEAPON_NIGHTSTICK")]);
            cr.give_weapon(w,NULL);
         }
         armor=new Armor(*armortype[getarmortype("ARMOR_SECURITYUNIFORM")]);
         cr.give_armor(*armor,NULL);
         cr.set_skill(SKILL_PISTOL,LCSrandom(3)+1);
         cr.align=-1;
         cr.infiltration=0.1f*LCSrandom(3);
         cr.age=AGE_MATURE;
         cr.set_attribute(ATTRIBUTE_HEALTH,3);
         cr.set_attribute(ATTRIBUTE_AGILITY,3);
         cr.set_attribute(ATTRIBUTE_STRENGTH,2);
         break;
Doesn't it mean that guards get MP5 if gun laws are archconservative OR they get .38 revolver if they are NOT archconservative? And the nighstick check is entirely skipped?

I plan to change small things like that, MetalSlimeHunt, with some learning.

Changing it to "else if(law[LAW_GUNCONTROL]<2)" should make them to have nightsticks if it's L+ gun situation, right?

P.S. I also plan to expand stuff like news and information you recieve from newspaper. I feel like it really adds to the atmosphere :).
« Last Edit: November 02, 2011, 07:59:34 pm by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #297 on: November 02, 2011, 09:35:25 pm »

The code "else if(law[LAW_GUNCONTROL]!=2)" will trigger if the law is anything but Elite Liberal (internally represented as positive 2). So nightsticks are triggered when the law is L+, and SMGs are triggered when the law is C+.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #298 on: November 03, 2011, 03:07:23 am »

Oops, I misread that as !=-2, that's what you get at 5 AM :). Thanks.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: LCS 4.04 Download (April 2011 Graduation Gift)
« Reply #299 on: November 03, 2011, 01:31:56 pm »

I have a question to ask, Jonathan!

Right now the car chase shooting only affects leg wounds.

Code: [Select]
      if(mode==GAMEMODE_CHASECAR && (w == BODYPART_LEG_LEFT || w == BODYPART_LEG_RIGHT))
      {
         damamount=0; // no damage to shots to the car body
      }   

If I get it right, I should read it like "in case it's a game mode "car chase" then leg wounds do not count".

What I want to do is to add a new integer parameter to cars called "protection" and roll a skill check for the shooter to hit a person inside a car (I want to add various armored vehicle types). The problem is, I don't know how to get from "w" (which is a victim here) the "vehicle" value... How should I check the vehicle type and if it's possible the vehicle's variable called "protection"?

To clarify it, I want to see w->vehicle->protection integer value.

P.S. Also it looks like the "if it's a car chase" is all over the fight.cpp, so I will have to change a lot of things for that to work... For example, I see at least two places where it checks if it hits a car of a person: in one place, it reduces damage to 0 if it hits the legs in a car chase mode... In another place it renames the attack to "hits the car" when it hits legs, so these are two separate actions (the attack description and the damage reduction) which is a bit weird and I can't wrap my head around it how to translate it in a better "car protection" mechanic.
« Last Edit: November 03, 2011, 01:46:46 pm by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository
Pages: 1 ... 18 19 [20] 21 22 ... 27