Diesel 1 Posted August 20, 2004 I use proxy for mk82 bomb, but in game i see BIS maverick (pic). My config: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class DSL_MK82: Default //500lb General Purpose Low-Drag { hit=1000; indirectHit=500; indirectHitRange=15; minRange=50; minRangeProbab=0.70; midRange=300; midRangeProbab=0.80; maxRange=1500; maxRangeProbab=0.60; model="\DSL_a10\MK82.p3d"; proxyShape="\DSL_a10\MK82.p3d"; soundHit[]={\LaserGuided\expl2,db40,1}; soundFly[]={"objects\noise",0.01,1}; cost=3000; irLock=0; laserLock=0; initTime=0.50; thrustTime=0; thrust=0; maxSpeed=200; maxControlRange=100000; maneuvrability=0.0; sideAirFriction=0.10; //0.15 simulation=shotMissile; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class DSL_MK82Launcher: HellfireLauncher { ammo=DSL_MK82; displayName="Mk-82 Low-Drag"; displayNameMagazine="Mk82"; shortNameMagazine="Mk82"; count=4; reloadTime=0.05; sound[]={"\SKC_F111\bombrelease.wav",12.0,1.0}; initSpeed=0; canLock=2; aiRateOfFire=6.0; aiRateOfFireDistance=2500; }; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgNonAiVehicles { class ProxyWeapon {}; class ProxyMK82: ProxyWeapon { model=\DSL_a10\MK82; simulation="maverickweapon"; }; }; What's wrong? Share this post Link to post Share on other sites
LizardX 0 Posted August 20, 2004 Yo mate, how do you define the proxies in O2? Isn't it "proxy:maverick.01"? Share this post Link to post Share on other sites
Diesel 1 Posted August 20, 2004 proxy:mk82.01, proxy:mk82.02, proxy:mk82.03, proxy:mk82.04 Share this post Link to post Share on other sites
Footmunch 0 Posted August 20, 2004 Define the proxies in O2 as: 'proxy:dsl_mk82.01' and change the proxy in the config.cpp to: 'class ProxyDSL_MK82: ProxyWeapon' This makes sure that the proxy is 'attached' to the new bomb you've defined. Share this post Link to post Share on other sites