jedi-knight 0 Posted November 24, 2004 Hi! I was created a new binoculars zoom sight (with angular markers). How can I change the original sight? Do I must create a new "weapon" with this sight? Share this post Link to post Share on other sites
raedor 8 Posted November 24, 2004 make a new addon.<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">... class Binocular : Default { //-- scopeWeapon = public; scopeMagazine = protected; model="dalekohled_proxy"; modelOptics="INSERT_THE_PATH_TO_YOUR_p3d_OF_THE_OPTICS_HERE"; valueWeapon = 5; 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[] = {}; };and insert your path. that's it afaik. Share this post Link to post Share on other sites
jedi-knight 0 Posted November 25, 2004 Thanks, raedor! You saved my day! Â Â Share this post Link to post Share on other sites
Major Fubar 0 Posted November 25, 2004 Sorry if this is a silly question, but is it possible to make binocs "zoomable" like the M21 sight? I'm guessing not, or someone already would have...or maybe they already have and I didn't hear about it... Share this post Link to post Share on other sites
feersum.endjinn 6 Posted November 25, 2004 Sorry if this is a silly question, but is it possible to make binocs "zoomable" like the M21 sight?I'm guessing not, or someone already would have...or maybe they already have and I didn't hear about it... Well, I haven't tried it but I don't see any reason why not, just make opticsZoomMin and opticsZoomMax have different values... edit: I just tried it, works like a charm Share this post Link to post Share on other sites
bedlam 0 Posted November 25, 2004 they are zoomable in wgl. so it should work. Share this post Link to post Share on other sites
raedor 8 Posted November 25, 2004 as feer said, they are zoomable. just change these two lines (or one of them)<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> opticsZoomMin=0.085; opticsZoomMax=0.085; Share this post Link to post Share on other sites
Major Fubar 0 Posted November 25, 2004 Thanks, I'll check out WGL, too. Share this post Link to post Share on other sites
jedi-knight 0 Posted November 27, 2004 Raedor: Sorry, but i'm novice in editting. I followed this steps: 1. Saved my new scope image as "binoc.paa" file; 2. After changed the path of my .paa file in your code lines, I was saved them as "binoc.cpp"; 3. With a PBO tool, I was packed the two files as "binoc.pbo" 4. After this, I was grabbed the PBO file int the AddOns game folder. Wath is wrong? Share this post Link to post Share on other sites
dm 9 Posted November 27, 2004 Wath is wrong? You have to replace the main config.bin with your edited version, as you can not ADD new binocular/nvg type "weapons" Share this post Link to post Share on other sites
raedor 8 Posted November 27, 2004 also you have to make a model out of it. just 4 points = 1 face, your texture on them and save it. check the BIS binocular model (optika_dalekohled.p3d in data3d.pbo). open it with odol explorer 2.44 or p3dedit. Share this post Link to post Share on other sites
jedi-knight 0 Posted December 15, 2004 I can't find the p3dedit program, and my ODOL is the 2.00 version. I was attempted to open the file with a tool called XPAC, but it doesn't work fine (it extracts a .p3d_ file???). Is there another program to edit this file? Share this post Link to post Share on other sites
BraTTy 0 Posted December 15, 2004 I swear when I first got OFP years ago that the binocs zoomed.Not sure why or if they took it out And just rambling some more that I can guarantee that we also could "move in driver" to a camcreated soldier (remember that camcreated soldiers were stupid,that it didn't have any AI) I used to "move in driver" on a camcreated soldier,your prolly think what good is that.It was a good way to change your clothes,appearance etc...as you were just using the new soldier as a new vehicle.I tried this about a year ago and appears that you no longer can do this either. Share this post Link to post Share on other sites