Quick Debug Question

The place to discuss all things Lugaru.
eastshore4
Posts: 16
Joined: Tue Aug 29, 2006 8:54 pm

Quick Debug Question

Post by eastshore4 » Thu Apr 19, 2007 3:02 pm

So I've been looking through some of the threads here where people get creative with the debug mode. I've used the debug mode before, but I've never been able to get some of the results others are. For example, when you rabbit kick these guys, how are you getting them to fly straight in the air? Also, how are you getting it so the enemies have super strength?

The last issue I have is with setting the debug mode itself. I got a updated computer, and the standard text editing program will not let me save as a .txt format. What do you guys use for those of you with current Macs?

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Thu Apr 19, 2007 3:06 pm

Open with TextEdit press shift-command-t (or go format>make plain text).
Replace the old file

I don't know what you mean with them going straight in the air when you
"rabbit kick" (LEG CANNON!) them.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Thu Apr 19, 2007 3:11 pm

Use vi on a console. For instructions, rtfm. ;)

FAQ - Contains info for Mac users.
Console Guide - contains info on debug commands.

eastshore4
Posts: 16
Joined: Tue Aug 29, 2006 8:54 pm

Post by eastshore4 » Thu Apr 19, 2007 3:11 pm

http://wolfire.com/forum/viewtopic.php?p=29646#29646
Something like this. Notice how the rabbits in the front of the line are blown upwards? I can never get that sort of effect, my enemies always fly straight ahead. I also saw in that same thread (at the bottom of the thread) where someone got hit by an enemy and it rocketed them up into the sky.

Yeah, I more or less knew about the instructions in the guide... the armornear command though, does that work with other things? IE: if I were to type in speednear, could I change the closest enemie's speed?

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Thu Apr 19, 2007 3:15 pm

These are rare freaky effects, uncontrollable. At least from my experience.

User avatar
Usagi
Screenshot Superhero
Posts: 1161
Joined: Fri Apr 08, 2005 11:13 am

Post by Usagi » Thu Apr 19, 2007 4:41 pm

eastshore4 wrote: I also saw in that same thread (at the bottom of the thread) where someone got hit by an enemy and it rocketed them up into the sky.
rudel_ic wrote:These are rare freaky effects, uncontrollable. At least from my experience.
That was me getting rocketed into the sky. If you read the post, it mentions this as a common side effect of SSM (super-slo-mo).

I've got GIFs of Turner flying straight up in the air and disappearing into the distance as a result of nothing more than hitting the "ragdoll" key.

It's pretty common for T and his enemies to fly around like this in SSM. You can control T, but only a little. Once he flies up, you can control his direction and so on (I've used it to jump to the top of the walls in the raider base) but that's about it.

Ultimatum479
Meh. Inadequate.
Posts: 857
Joined: Sun Oct 02, 2005 11:05 pm
Contact:

Post by Ultimatum479 » Thu Apr 19, 2007 6:02 pm

eastshore4 wrote:http://wolfire.com/forum/viewtopic.php?p=29646#29646
Something like this. Notice how the rabbits in the front of the line are blown upwards?
That's because of the first enemy hitting the second enemy hitting the third enemy hitting the fourth in such a way that the first two, being knocked at a very slightly upward angle as the leg cannon tends to do, knocked the latter two upward at a greater angle. A leg cannon usually won't send a single opponent upward like that, only a domino line as in the gif there.

So you like sending people flying into the air? Okay.

User avatar
BunnyWithStick
Gramps, Jr.
Posts: 4297
Joined: Mon Dec 05, 2005 12:14 am
Location: New Zealand

Post by BunnyWithStick » Thu Apr 19, 2007 7:25 pm

The ragdoll physics in Lugaru are slightly hyped up and tweaked in such a way that a ragdoll enemy hitting another will just stop, fall to the ground, and the other enemy does the same. A similar effect causes the bowling apocalypse effect.

User avatar
Usagi
Screenshot Superhero
Posts: 1161
Joined: Fri Apr 08, 2005 11:13 am

Post by Usagi » Fri Apr 20, 2007 6:34 am

Ultimatum479 wrote:
eastshore4 wrote:http://wolfire.com/forum/viewtopic.php?p=29646#29646
Something like this. Notice how the rabbits in the front of the line are blown upwards?
That's because of the first enemy hitting the second enemy hitting the third enemy hitting the fourth in such a way that the first two, being knocked at a very slightly upward angle as the leg cannon tends to do, knocked the latter two upward at a greater angle. A leg cannon usually won't send a single opponent upward like that, only a domino line as in the gif there.
No, it's as I explained: SSM. In super-slo-mo any strike will send an enemy (or T) flying.

The cannon doesn't necessarily send bodies upward; it depends on the relative position. I always cannon Jet in Jack's Camp just as he tops the hill: he sails into the sky and lands on the far side of the blocks below. (In SSM he disappears into the distance; I've found him at the base of the invisible perimeter wall.)

In the scene with the erstwhile king after the three wolves, I like to cannon running downhill. The bodies tend to either squirt off at weird angles or slide like high-speed hockey pucks until they slam into a block.

I've sent bodies into orbit in normal speed as you've described, but a domino set-up merely leaves a pile of twitching corpses.

If you want sky-high action, use SSM.

PS: They do too twitch!

Ultimatum479
Meh. Inadequate.
Posts: 857
Joined: Sun Oct 02, 2005 11:05 pm
Contact:

Post by Ultimatum479 » Fri Apr 20, 2007 3:54 pm

Huh. Guess I should play around with super-slow-mo, then. I haven't used it much at all. I have more than enough fun just creating simple maps where I spawn dozens and dozens of wolves and see how long I can survive without doing any flips. :P

pyros soul
Posts: 402
Joined: Thu Dec 01, 2005 7:59 pm
Location: Randomness Forum
Contact:

Post by pyros soul » Sat Apr 21, 2007 10:11 am

What be this "Super slow motion" that one speaks of?

Ultimatum479
Meh. Inadequate.
Posts: 857
Joined: Sun Oct 02, 2005 11:05 pm
Contact:

Post by Ultimatum479 » Sat Apr 21, 2007 10:23 am

Debug mode. Edit the config.txt file so Debug is on (1 instead of 0) and press B during play.

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Sat Apr 21, 2007 11:08 am

No, that's just slowmo.
I thought Usagi meant a.... actually I don't know what you mean by
Super-Slow-Motion.

User avatar
invertin
Sticky
Posts: 3828
Joined: Mon Oct 23, 2006 4:05 am
Location: IN A CAN OF AWESOME!

Post by invertin » Sat Apr 21, 2007 11:58 am

He set the gamespeed to 0.1 so slow mo is really slow. Apparently his messes up the physics engine while in slo mo.

User avatar
Usagi
Screenshot Superhero
Posts: 1161
Joined: Fri Apr 08, 2005 11:13 am

Post by Usagi » Sat Apr 21, 2007 12:13 pm

That's it. And when you press "B" you hardly move at all, but when you connect with a strike the foe goes flying!

Knife throws are also fun: you can watch the knife fly and then when it hits they fly up into the air like a balloon with a hole in it.

Post Reply