Page 3 of 6

Re: Isla Muerta - Site C

Posted: Mon Jun 26, 2017 7:42 pm
by Draconisaurus
Soooo question. Who knows the speed at which Anne runs and at which she walks? Wanting to figure out road distances for a certain scripted system...

Re: Isla Muerta - Site C

Posted: Mon Jun 26, 2017 8:30 pm
by machf
Hmmm... it may be somewhere in the code, I guess.

Re: Isla Muerta - Site C

Posted: Mon Jun 26, 2017 8:39 pm
by TheIdiot
Draconisaurus wrote:Soooo question. Who knows the speed at which Anne runs and at which she walks? Wanting to figure out road distances for a certain scripted system...
I think I have an idea of what you're up to there. :wink: I think the best solution is to plot out 100 meters (or feet, for you Americans :P ) and just time her walking. Also, remember that if you increase the size of her foot $ model to something like 0.32 or 0.37 (can't remember, check TC~Isle), you can make her go a bit faster.

Re: Isla Muerta - Site C

Posted: Tue Jun 27, 2017 1:36 am
by machf
machf wrote:Hmmm... it may be somewhere in the code, I guess.
OK, here it is:

Walk: 0.5 m/s
Run: 1.0 m/s
Back: 0.4 m/s
Strafe: 0.6 m/s

And remember: in-game, 1 unit=1 m.

Re: Isla Muerta - Site C

Posted: Tue Jun 27, 2017 5:10 am
by Draconisaurus
Aha, thank you machf. I am going to be putting km-markers in but I won't yet spoil what all they do.

Re: Isla Muerta - Site C

Posted: Tue Jun 27, 2017 6:05 am
by machf
If you think about it, those values are pretty low... Anne walking at 0.5 m/s and running at 1.0 m/s means 1.8 km/h (~1.12 mph) and 3.6 km/h (~2.24 mph), respectively... realistically, it should be about 5.0 km/h (~3.11 mph) and maybe 10.0 km/h (~6.22 mph), or 1.39 m/s and 2.78 m/s, almost 3 times faster. I guess Anne is really badly injured...

Re: Isla Muerta - Site C

Posted: Tue Jun 27, 2017 9:26 pm
by Slugger
How are Anne's speeds implemented in the source, machf? I don't have the source in front of me, but I'm just wondering what effect modifying the size of her foot-box would have on her speed?

Re: Isla Muerta - Site C

Posted: Wed Jun 28, 2017 6:46 am
by machf
Well, it seems that changing the size of the "foot" only has a placebo effect.

Code: Select all

	// no matter which of the input systems we used we still need to process
	// the bit keys. 

	// The priority of the move keys is run then walk then backup
	if (tin_Input.u4ButtonState & uBITKEY_RUN)
	{
		tin_Input.v2Move.tY = 1.0f;
	}
	else if (tin_Input.u4ButtonState & uBITKEY_WALK)
	{
		tin_Input.v2Move.tY = 0.5f;
	}
	else if (tin_Input.u4ButtonState & uBITKEY_BACKUP)
	{
		tin_Input.v2Move.tY = -.4f;//-0.3f;
	}
	else
	{
		tin_Input.v2Move.tY = 0.0f;
	}

	// Handle strafing simultaneously, but only if only one is pressed.
	// Strafe speed is walk speed.
	tin_Input.v2Move.tX = 0.0f;
	if (tin_Input.u4ButtonState & uBITKEY_LEFT)
	{
		if (!(tin_Input.u4ButtonState & uBITKEY_RIGHT))
			tin_Input.v2Move.tX = -0.6f;
	}
	else if (tin_Input.u4ButtonState & uBITKEY_RIGHT)
	{
		tin_Input.v2Move.tX = 0.6f;
	}


Re: Isla Muerta - Site C

Posted: Wed Jun 28, 2017 9:32 am
by Draconisaurus
I wouldn't be 100% sure about that... The force applied may link somehow with the intended/default size of the foot cube. For example, if the cube is made larger, it might take less force to push the cube the normal speed, and thus the normal force might cause it to go faster. Might also be to do with the cube's mass/density. I could be wrong.

PS: Has anyone tried fiddling with the mass/density of the foot cube?..

Re: Isla Muerta - Site C

Posted: Sat Jul 01, 2017 2:25 am
by Draconisaurus
Small eye-candy update... Always fun when raptors get inside that you weren't expecting to. Current version of the indoor fog displayed.
Click on Image
(Click on thumbnail for full size)
Image

Re: Isla Muerta - Site C

Posted: Sat Jul 01, 2017 5:48 am
by TheIdiot
I see you made use of the dark indoor idea we discussed. :wink: Looks really great so far! A suggestion: maybe bring the fog's end distance closer to the camera so you can't see all the way to the end of the hallway, or at least increase the density of the nearby fog. That would add a claustrophobic feeling to the indoor areas. There's also an odd blue tint to it, which looks unrealistic, but I rather like it. :)

You could also experiment with using the AlphaChannel function, or unlit objects with a very faint transparency, to create light entering from the outside or coming from old dimming lights:
Click on Image
(Click on thumbnail for full size)
Image
Click on Image
(Click on thumbnail for full size)
Image

Re: Isla Muerta - Site C

Posted: Sat Jul 01, 2017 7:20 am
by Draconisaurus
TheIdiot wrote:I see you made use of the dark indoor idea we discussed. :wink: Looks really great so far! A suggestion: maybe bring the fog's end distance closer to the camera so you can't see all the way to the end of the hallway, or at least increase the density of the nearby fog. That would add a claustrophobic feeling to the indoor areas.
Thanks I was wondering how much I should increase it if at all..
There's also an odd blue tint to it, which looks unrealistic, but I rather like it. :)
Any visible blue is from textures and not the 0/0/0 fog.
You could also experiment with using the AlphaChannel function, or unlit objects with a very faint transparency, to create light entering from the outside or coming from old dimming lights:
Click on Image
(Click on thumbnail for full size)
Image
Click on Image
(Click on thumbnail for full size)
Image
Durrrr this sounds like an excellent idea, thanks....

Re: Isla Muerta - Site C

Posted: Sat Jul 01, 2017 7:32 pm
by TheIdiot
Thanks I was wondering how much I should increase it if at all..
Very slightly. Not significantly enough to make areas 100% black with fog, but enough to create a vague hazy feeling. You can see somewhat in the dark but not very far, so you should try and reflect this notion. Amnesia: The Dark Descent did this well - when you stand in the dark, your eyes take a second to adjust, so you can see about 4 feet in all directions very faintly, and another 10 or so feet in the dark.
Durrrr this sounds like an excellent idea, thanks....
:D You're welcome! What I did in that RTJP screenshot I posted was give them a transparent texture with little dust particles present to make it look more realistic. They are animated on the X and Y axis to drift slowly downward as you can see real dust doing when caught in light.

Re: Isla Muerta - Site C

Posted: Mon Jul 03, 2017 2:42 am
by machf
TheIdiot wrote:
Thanks I was wondering how much I should increase it if at all..
Very slightly. Not significantly enough to make areas 100% black with fog, but enough to create a vague hazy feeling. You can see somewhat in the dark but not very far, so you should try and reflect this notion. Amnesia: The Dark Descent did this well - when you stand in the dark, your eyes take a second to adjust, so you can see about 4 feet in all directions very faintly, and another 10 or so feet in the dark.
Durrrr this sounds like an excellent idea, thanks....
:D You're welcome! What I did in that RTJP screenshot I posted was give them a transparent texture with little dust particles present to make it look more realistic. They are animated on the X and Y axis to drift slowly downward as you can see real dust doing when caught in light.
TheIdiot wrote:
Thanks I was wondering how much I should increase it if at all..
Very slightly. Not significantly enough to make areas 100% black with fog, but enough to create a vague hazy feeling. You can see somewhat in the dark but not very far, so you should try and reflect this notion. Amnesia: The Dark Descent did this well - when you stand in the dark, your eyes take a second to adjust, so you can see about 4 feet in all directions very faintly, and another 10 or so feet in the dark.
Durrrr this sounds like an excellent idea, thanks....
:D You're welcome! What I did in that RTJP screenshot I posted was give them a transparent texture with little dust particles present to make it look more realistic. They are animated on the X and Y axis to drift slowly downward as you can see real dust doing when caught in light.
TheIdiot wrote:
Thanks I was wondering how much I should increase it if at all..
Very slightly. Not significantly enough to make areas 100% black with fog, but enough to create a vague hazy feeling. You can see somewhat in the dark but not very far, so you should try and reflect this notion. Amnesia: The Dark Descent did this well - when you stand in the dark, your eyes take a second to adjust, so you can see about 4 feet in all directions very faintly, and another 10 or so feet in the dark.
Durrrr this sounds like an excellent idea, thanks....
:D You're welcome! What I did in that RTJP screenshot I posted was give them a transparent texture with little dust particles present to make it look more realistic. They are animated on the X and Y axis to drift slowly downward as you can see real dust doing when caught in light.
Consider yourself banned for triple-posting... :P

Re: Isla Muerta - Site C

Posted: Tue Jul 04, 2017 11:26 am
by TheIdiot
Consider yourself banned for triple-posting... :P
:sick: Gah, sometimes my browser messes up and does that! My internet connection tends to get unstable, and when it does, weird stuff like that happens. Over on Moddb, they almost DID ban me for a similar triple-post error and I had to send a message indicating a bug to them in order to get a re-appeal. Thanks for the mercy, machf. :)

By the way, Draco, I'm curious - are you using a film-accurate map of Isla Muerta for this mod? Being a film-canon Nazi (at least for the first 3 movies), I'd be interested to see how that geography could be used to create some cool area designs. Of course, what you did with JPDS was more than good enough to ignore the uncertain geography. Although I do admit my first time playing that I thought the entire island was navigable and accurate to the movie. :P