koepke 0 Posted February 14, 2003 irScanGround = false; // NO IR on ground targets but unfortunaly it don´t work anyone know why or got a solution for me 'what i want is that speziall units can´t see ground targets on radar' this all becouse im playing in a realwar system and im working on a mod unfortunaly we are no goverment and we cant get vbs:) so we need to make ofp more realistik Share this post Link to post Share on other sites
koepke 0 Posted February 14, 2003 the thing that their is a simulation ligue no CTF no TDM just war like it is makes it needs to be more real so if i can find a solution for the radar thing so i can simulate the 2 recon systems -termal : just simulate with the simpel trick to make the irScanRange smaller -radar  : just simulate with the simpel trick to make the irScanRange higher but raders dont see  ground targets the way we see em in ofp so i need irScanGround = false to work Share this post Link to post Share on other sites
PicVert 0 Posted February 15, 2003 Try irScanground=0 ? maybe that should work not tested... Share this post Link to post Share on other sites
koepke 0 Posted February 15, 2003 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (PicVert @ Feb. 15 2003,08:16)</td></tr><tr><td id="QUOTE">Try irScanground=0 ? maybe that should work not tested...<span id='postcolor'> no it dont work Share this post Link to post Share on other sites
PicVert 0 Posted February 16, 2003 I found some define in cpp 1.90 try to play with that : </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> irTarget=1; irScanRangeMin=0; irScanRangeMax=0; irScanToEyeFactor=1; irScanGround=1; laserTarget=0; laserScanner=0; commanderCanSee=31; gunnerCanSee="4+8+16"; driverCanSee="2+8+16"; <span id='postcolor'> That the only way ... or by scripplet but with that could'nt help sorry. Share this post Link to post Share on other sites
mooncaine 0 Posted February 18, 2003 Why don't you just hide the radar from the occupants in the config file? First of all, for your future scripting convenience, try defining easy-to-remember terms at the beginning of the unit's config: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define CanSeeRadar 1 #define CanSeeEye 2 #define CanSeeOptics 4 #define CanSeeEar 8 #define CanSeeCompass 16 #define CanSeeRadarC CanSeeRadar+CanSeeCompass #define CanSeeAll 31 <span id='postcolor'> ... and then give the vehicle occupants something like "CanSeeEye+CanSeeEar+CanSeeOptics+CanSeeCompass". That should work. It looks to me like, if you're using the numbers only, that any odd number [i.e., not divisible by 2] implies the ability to see radar, and that any even number implies that radar is hidden. Share this post Link to post Share on other sites
Guest BratZ Posted February 21, 2003 So apparantly I can't go the other way? I'd like to make the radar show ground targets only... is irScanair=0 (or something?) a command too? Share this post Link to post Share on other sites