Jump to content
Sign in to follow this  
Indy

Night vison binocular

Recommended Posts

Hi, is there someone what know where are definited parameters of the Night vision scope?

Share this post


Link to post
Share on other sites

In config.cpp calss name is " class NVGoggles"

and model of optics is "optika_night.p3d"

Share this post


Link to post
Share on other sites

Yes but i can't find where all proprietis of the NV goggles are definited

Share this post


Link to post
Share on other sites

I found this string:

/*

class NVGoggles : Default

{

scopeWeapon = private;

scopeMagazine = public;

magazineType = WeaponSlotItem;

ammo=;

displayName="NV Goggles";

displayNameMagazine="NV Goggles";

shortNameMagazine="NV";

enableAttack = false;

count=1;

initSpeed=0;

maxLeadSpeed=0;

useAction = true;

useActionTitle = "Use %s";

sound[]={People\gravel_L,db-70,1};

}

*/

But if i want to change the color of the NV goggle what i must do? There arn't defined any proprietis of it here

Share this post


Link to post
Share on other sites

I think the binocular and the nvgoggles are "static" special objects in the engine and there is no way to make new ones like them, or edit their parameters...

Share this post


Link to post
Share on other sites

I think we can change it,but we must do it in resource.bin .

but I really don't know..

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (zwadar @ Sep. 05 2002,22:28)</td></tr><tr><td id="QUOTE">In config.cpp calss name is " class NVGoggles"

and model of optics is "optika_night.p3d"<span id='postcolor'>

This is the right class. You can change optics here and how the weapon looks like when it is dropped, but not the model seen on the soldiers - this is determined by the model used in soldier's proxy, which must always be "nvg_proxy" for NVG.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×