Indy 0 Posted September 5, 2002 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
zwadar 0 Posted September 5, 2002 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
Indy 0 Posted September 6, 2002 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
Indy 0 Posted September 6, 2002 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
kegetys 2 Posted September 6, 2002 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
zwadar 0 Posted September 6, 2002 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
suma 8 Posted September 10, 2002 </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