[Suggestion] Walk Button

User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

[Suggestion] Walk Button

Post by Constance » Sun Oct 07, 2012 7:45 pm

How about a new button, that when you hold it down, you would walk slowly as if you were an enemy patrolling? I suggest we shall use the left ALT key for walking, or maybe, if you can, make a control configuration that's easy to access.

User avatar
akazi
Posts: 1935
Joined: Fri Dec 30, 2011 3:14 pm
Location: Montgomery, Alabama

Re: [Suggestion] Walk Button

Post by akazi » Sun Oct 07, 2012 9:11 pm

Ya I was thinking of this as well, it would be cool to have and I always wanted it for some reason.

User avatar
Anton
pretty cool guy
Posts: 3328
Joined: Fri Oct 17, 2008 10:16 pm
Location: Los Angeles
Contact:

Re: [Suggestion] Walk Button

Post by Anton » Mon Oct 08, 2012 2:20 am

Silverfish wrote a mod for this back in the day. He used "f" to alternate between walking and running. I think it's in the Project Showoff thread, and he included the code to make it work. You could probably re-introduce that again, although "f" now has a different use.

User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

Re: [Suggestion] Walk Button

Post by Constance » Mon Oct 08, 2012 5:55 pm

I never saw that in the thread.

User avatar
Anton
pretty cool guy
Posts: 3328
Joined: Fri Oct 17, 2008 10:16 pm
Location: Los Angeles
Contact:

Re: [Suggestion] Walk Button

Post by Anton » Mon Oct 08, 2012 6:03 pm

Timbles wrote:I never saw that in the thread.
Here's where that happened: viewtopic.php?f=16&t=7006&p=124372&hilit=walk#p124372

User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

Re: [Suggestion] Walk Button

Post by Constance » Mon Oct 08, 2012 6:08 pm

Thanks, but where's the code that makes the rabbit walk?

User avatar
Anton
pretty cool guy
Posts: 3328
Joined: Fri Oct 17, 2008 10:16 pm
Location: Los Angeles
Contact:

Re: [Suggestion] Walk Button

Post by Anton » Mon Oct 08, 2012 6:14 pm

Timbles wrote:Thanks, but where's the code that makes the rabbit walk?
If you download that mod you might need to just find it in the file. I don't know for sure where to find it.

User avatar
Black_Stormy
Posts: 161
Joined: Sat Mar 12, 2011 2:42 am

Re: [Suggestion] Walk Button

Post by Black_Stormy » Mon Oct 08, 2012 8:46 pm

Notepad++ with compare plugin should find it for you.

User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

Re: [Suggestion] Walk Button

Post by Constance » Fri Oct 12, 2012 3:39 pm

So I can't really figure out what I could do to implement this mod.

User avatar
shadowb297
Posts: 94
Joined: Wed Apr 04, 2012 8:00 pm
Location: Minnesota

Re: [Suggestion] Walk Button

Post by shadowb297 » Fri Oct 12, 2012 5:27 pm

Black_Stormy wrote:Notepad++ with compare plugin should find it for you.
Oh god. . . notepad++, that is WAY to complicated for me :shock:

User avatar
zzwerty
Posts: 479
Joined: Sun Nov 14, 2010 1:01 am

Re: [Suggestion] Walk Button

Post by zzwerty » Fri Oct 12, 2012 10:56 pm

What if sprinting was added? I think this would be a useful alternative to the animal run, which I'm pretty sure is not going to ever be included in the game.

User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

Re: [Suggestion] Walk Button

Post by Constance » Fri Oct 12, 2012 11:01 pm

oh yeah, sprinting. you could also easily script that. In fact, you just have to tweak the walk button script to make you run faster. it just wouldn't have any fancy animation or anything.

User avatar
Black_Stormy
Posts: 161
Joined: Sat Mar 12, 2011 2:42 am

Re: [Suggestion] Walk Button

Post by Black_Stormy » Sat Oct 13, 2012 2:34 am

zzwerty wrote:What if sprinting was added? I think this would be a useful alternative to the animal run, which I'm pretty sure is not going to ever be included in the game.
I beg to differ. Taken from aschar.as:

Code: Select all

/////////////////////////////////////////////////////////////////
//level.QueryIntFunction("int isAnimalRunning()") == 1){
	if(isAnimalRunning == true){
		this_mo.SetAnimation("animalrun");
	}
	if(isAnimalRunning == false){
	//if (level.QueryIntFunction("int isAnimalRunning()") == 0){ 
		this_mo.SetCharAnimation("movement", 5.0f, flags);
	}


/////////////////////////////////////////////////////////////////
it's commented out... for now...

User avatar
Anton
pretty cool guy
Posts: 3328
Joined: Fri Oct 17, 2008 10:16 pm
Location: Los Angeles
Contact:

Re: [Suggestion] Walk Button

Post by Anton » Sat Oct 13, 2012 2:52 am

Black_Stormy wrote:
zzwerty wrote:What if sprinting was added? I think this would be a useful alternative to the animal run, which I'm pretty sure is not going to ever be included in the game.
I beg to differ. Taken from aschar.as:

Code: Select all

/////////////////////////////////////////////////////////////////
//level.QueryIntFunction("int isAnimalRunning()") == 1){
	if(isAnimalRunning == true){
		this_mo.SetAnimation("animalrun");
	}
	if(isAnimalRunning == false){
	//if (level.QueryIntFunction("int isAnimalRunning()") == 0){ 
		this_mo.SetCharAnimation("movement", 5.0f, flags);
	}


/////////////////////////////////////////////////////////////////
it's commented out... for now...
Do you happen to have Last's blood mod installed? I don't know if that's from him or not, but I know his mod adds in the animal run as an option.

User avatar
Black_Stormy
Posts: 161
Joined: Sat Mar 12, 2011 2:42 am

Re: [Suggestion] Walk Button

Post by Black_Stormy » Sat Oct 13, 2012 4:05 am

No I've never used it. Although that script is from the most recent script dump I downloaded from the forums so it could be...

EDIT: just checked my scripts (which are vanilla) and that's not in there. My bad...

Post Reply