Tablesalt 12 Posted May 21, 2016 Hey all, I'm making a custom IR pointer and I was wondering what the mempoint needs to be name/if I need to even define one. Thanks Share this post Link to post Share on other sites
Jackal326 1158 Posted May 21, 2016 Here is the code from the config.cpp of a weapons pack I made: class SSQN_PEQ_R_RC: acc_pointer_IR { author = "S Squadron"; scope = 2; displayName = "LA-5B/PEQ (R) (RC)"; descriptionShort = "IR laser device"; DLC = "SSQN"; picture = "\SSQN_L119A1\inv\ssqn_acc_peq_rc_ca.paa"; model = "\SSQN_L119A1\attachments\PEQ_R_Railcovers.p3d"; class ItemInfo: InventoryFlashLightItem_Base_F { mass = 5; class Pointer { irLaserPos = "laser pos"; irLaserEnd = "laser dir"; irDistance = 20; // was 5, but changing it seems to do fuck-all }; class FlashLight{}; }; }; The TWO points you'll need in your model are 'laser pos' and 'laser dir'. For whatever reason these are backwards to how you would expect them to be be. The 'laser dir' memory point is the SOURCE of of the laser, and 'laser pos' is the direction in which it points. Share this post Link to post Share on other sites