Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
1 Active | 54 Guests
Online:

LATEST FORUM THREADS

»
is this place alive?
CoDBO3 Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: How do i modify nightvision in multiplayer?
=BoA=DonVito
General Member
Since: Aug 20, 2009
Posts: 21
Last: Oct 30, 2010
[view latest posts]
Level 1
Category: CoD4 Scripting
Posted: Tuesday, Jan. 12, 2010 07:42 pm
Is it even possible to modify the night vision in cod4? If so how?
Share |
_INSANE_
General Member
Since: Nov 6, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Wednesday, Jan. 13, 2010 02:02 am
Edit the default_night.vision file.
Share |
xfckup
General Member
Since: Mar 4, 2005
Posts: 80
Last: May 9, 2016
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Wednesday, Jan. 13, 2010 02:17 am
be aware that it only seems to be working when compiled into a mod and run from there...
Share |
=BoA=DonVito
General Member
Since: Aug 20, 2009
Posts: 21
Last: Oct 30, 2010
[view latest posts]
Level 1
Category: CoD4 Scripting
Posted: Wednesday, Jan. 13, 2010 07:12 pm
Yea im making a mod so i know what im doing. Where is the _night.vison file? I cant find it by searching.
Share |
_INSANE_
General Member
Since: Nov 6, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Thursday, Jan. 14, 2010 04:08 am
Somebody has some rips which include vision files... maybe someone can find you a link.
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Thursday, Jan. 14, 2010 05:13 am
_INSANE_ writes...
Quote:
Somebody has some rips which include vision files... maybe someone can find you a link.


I released the rip with the help of a few clever programmers [casanova]

More here (Admin/Mods can remove the link if they feel it shouldnt be here)
Share |
xfckup
General Member
Since: Mar 4, 2005
Posts: 80
Last: May 9, 2016
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Thursday, Jan. 14, 2010 06:20 am
zeroy writes...
Quote:
_INSANE_ writes...
Quote:
Somebody has some rips which include vision files... maybe someone can find you a link.


I released the rip with the help of a few clever programmers [casanova]

More here (Admin/Mods can remove the link if they feel it shouldnt be here)


i think he just wanted the nightvision for cod4 ;)
Share |
OLD_MAN_WITH_GUN
General Member
Since: May 13, 2006
Posts: 754
Last: Jan 22, 2010
[view latest posts]
Level 7
Category: CoD4 Scripting
Posted: Monday, Jan. 18, 2010 04:46 am
That's the content of the default nightvision file
Code:
r_glow				"1"
r_glowBloomCutoff		"0.681817"
r_glowBloomDesaturation		"0.0"
r_glowBloomIntensity0		"15.6842"
r_glowRadius0			"25.2319"
r_filmEnable			"1"
r_filmBrightness		"0.337663"
r_filmContrast			"1.58527"
r_filmDarkTint			"0 1.54321 0.000226783"
r_filmInvert			"0"
r_filmLightTint			"1.5797 1.9992 2.0000"
r_filmDesaturation		"1"

Create a new textfile, put the content of the codebox in and save it into the folder raw/vision with the name default_night.vision.

It's also possible to change the look of the nightvision per map.
Open the default_night.vision file with a texteditor, change the values to your likes and save it with a different name (e.g. my_night.vision).
Then, open your mp_mapname.gsc, and add the following line at the bottom of the main function.
VisionSetNight( "my_night", 1 );
Also add the following line to your map zonefile.
rawfile,vision/my_night.vision

So you have your unique nightvision in your map, different from other maps.
Share |
=BoA=DonVito
General Member
Since: Aug 20, 2009
Posts: 21
Last: Oct 30, 2010
[view latest posts]
Level 1
Category: CoD4 Scripting
Posted: Monday, Jan. 18, 2010 01:06 pm
Thanks a lot guys, your very helpful!
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»