Bullz_eye_on_my_back 0 Posted February 4, 2003 For the cypher project that I'm working on, I thought I could posibly make not a "binocular", but a new addon that the player will be able to pick up and will be in their weapons slots (well where the binocular slot is) By using the new "binocular" they will appear as lifting it up and looking at it... which will trigger my scripts for viewing the cypher camera ... then possibly set up a new animation of them looking down at it instead.... I was going to do this, for if it is going to be used in multiplayer... that if someone got killed or wanted to switch control all they have to do is trade the equipment over. Or so that it could be placed in an ammo crate .... I was wondering if anyone knew how the binoculars are configured? or I guess the night vision goggles would work too? Share this post Link to post Share on other sites
Bullz_eye_on_my_back 0 Posted February 9, 2003 Hmmm... I've asked other people but seems no one knows.... maybe BIS could enlighten us on how to config a binocular ? ::crossing fingers:: Please Share this post Link to post Share on other sites
edc 0 Posted February 9, 2003 I've heard that a lot of the binocular stuff is hard-coded into the game. Share this post Link to post Share on other sites
Bullz_eye_on_my_back 0 Posted February 9, 2003 shucks..... all i really want is how to configure an item so that it will show up in the binocular/night vision slots in the breifing and can be animated to show the soldier looking at it Share this post Link to post Share on other sites
UnYx 0 Posted February 11, 2003 extract from cfgWeapons.hpp from BIS commented config isn't it what you're looking for ? </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class Binocular : Default { //-- scopeWeapon = public; scopeMagazine = protected; model="dalekohled_proxy"; modelOptics="optika_dalekohled"; weaponType = WeaponSlotBinocular; magazineType = WeaponNoSlot; ammo=; // no ammo displayName = $STR_DN_BINOCULAR; reloadTime=0.0; sound[]={,0,1}; canLock=LockNo; optics = true; forceOptics = true; primary = false; opticsZoomMin=0.085; opticsZoomMax=0.085; magazines[] = {}; }; <span id='postcolor'> Share this post Link to post Share on other sites
Bullz_eye_on_my_back 0 Posted February 11, 2003 very cool... i will have to see if i can get it to work! Thanks Unyx Share this post Link to post Share on other sites