NightVision

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
XenoPHoXx_NL
Sergeant
Posts: 53
Joined: Thu Feb 16, 2006 11:26 pm
Contact:

NightVision

Post by XenoPHoXx_NL »

Hi guy's me again

my question is


Is there a way to make nightvision for mohaa?
any scripting or is it a mod that could be downloaded somewhere

i searched but no results
Can't Win The Game? Change The Rules!
Devil_Dog
Warrant Officer
Posts: 140
Joined: Fri Feb 17, 2006 2:59 pm

Post by Devil_Dog »

Below are the search results I got on FileFront.com. I can't recomend any as I haven't tried them. Hope it helps.

_______________________________________________________


http://medalofhonor.filefront.com/files ... /?keyword=
night+vision&game=22&search_category=all&fields_name=1&
fields_filename=1&fields_description=1&sort=name&order_in=asc
&limit=25&outdated_in=0&descriptions_in=0&summary_in=0
&show_screenshot_in=0#results



:twisted: Devil_Dog
User avatar
XenoPHoXx_NL
Sergeant
Posts: 53
Joined: Thu Feb 16, 2006 11:26 pm
Contact:

Post by XenoPHoXx_NL »

thx for the super fast reply

ill take alook at it thx devil
Can't Win The Game? Change The Rules!
Devil_Dog
Warrant Officer
Posts: 140
Joined: Fri Feb 17, 2006 2:59 pm

Post by Devil_Dog »

My pleasure...lol...first question I was able to answer here!

:twisted: Devil_Dog
TayloR
Private
Posts: 3
Joined: Sun May 07, 2006 8:11 pm

Post by TayloR »

This mod looks great in the screenshots but when i downloaded it and played with it a grey and white box comes up it happened with many others and i was wondering if anyone knows whats wrong? i have tryed removing all my other mods but the same thing happens! I would be thankful if anyone could help me.
He WhO DaReS WiNs
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm did you ask the author of the mod?
Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

By the way, you can't make true nightvision in MoH. Those mods are just imitations that actually make it rather harder to see than help at all.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Try the Remington in Modern Warfare :P it has a working nightvision.

This is the shader

Code: Select all

textures/hud/kartop
{	
	surfaceparm nolightmap
	nomipmaps
	nopicmip
	{
		// lighter
		map $whiteimage
		rgbGen const 0.1 0.1 0.1
		blendfunc add
	}
	{
		// more contrast
		map $whiteimage
		rgbGen identity
		blendfunc GL_DST_COLOR GL_ONE
	}
	{
		// green filter
		animmap 15.0 textures/mw_sfx/noise3.tga textures/mw_sfx/noise4.tga textures/mw_sfx/noise5.tga textures/mw_sfx/noise6.tga textures/mw_sfx/noise7.tga
		//map $whiteimage
		//tcMod scale 32.0 32.0
		rgbGen const 0.0 1.0 0.0
		blendfunc filter
	}
	{
		// crosshair
		clampmap textures/hud/308scopetop.tga
		blendFunc blend
		rgbGen const 0.5 0.0 0.0
	}
}

textures/hud/karbottom
{
	surfaceparm nolightmap
	nomipmaps
	nopicmip
	{
		map $whiteimage
		rgbGen const 0.1 0.1 0.1
		blendfunc add
	}
	{
		map $whiteimage
		rgbGen const 1.0 1.0 1.0
		blendfunc GL_DST_COLOR GL_ONE
	}
	{
		animmap 15.0 textures/mw_sfx/noise3.tga textures/mw_sfx/noise4.tga textures/mw_sfx/noise5.tga textures/mw_sfx/noise6.tga textures/mw_sfx/noise7.tga
		rgbGen const 0.0 1.0 0.0
		blendfunc filter
	}
	{
		clampmap textures/hud/308scopebottom.tga
		blendFunc blend
		rgbGen const 0.5 0.0 0.0
	}
}
Image
TayloR
Private
Posts: 3
Joined: Sun May 07, 2006 8:11 pm

Post by TayloR »

Nice 1 thanks jv :D
He WhO DaReS WiNs
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

i *really* want that... do i need to d/l MW to use the textures for that or can i just copy/paste into the existing snipers and rearrange the texture path details?
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

You could copy the shader and get rid of the last two stages, the noise filter and actual crosshair.. or you could use the stock crosshair. Either way the game automatically uses the textures called textures/hud/kartop and textures/hud/karbottom for the axis sniper scope.
Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Hmm... It's just brightening and increasing contrast?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Well considering how night vision works, Thats probally the closest your gonna get.

Good job on that script 8-)
Night vision devices gather existing ambient light (starlight, moonlight or infra-red light) through the front lens. This light, which is made up of photons goes into a photocathode tube that changes the photons to electrons. The electrons are then amplified to a much greater number through an electrical and chemical process. The electrons are then hurled against a phosphorus screen that changes the amplified electrons back into visible light that you see through the eyepiece. The image will now be a clear green-hued amplified re-creation of the scene you were observing.
Unless you can convert that into a script :P
Image
Post Reply