NinjaKid 0 Posted October 29, 2002 I've read loads of posts about using cam create to create heat shells and mavericks inside vehicles to make them blow up. But none of these posts explain exactly how to do it and when i tried using it it just comes up with something like "Unknown Object" or "String" or something. How does it work? And if i want to create something in the air how do i do that? (I'm a Newbie, please be gentle! Share this post Link to post Share on other sites
Chronicles 0 Posted October 29, 2002 This it what i do for to camcreate things In this example, i will create a Heat shell (the name of this shell is Heat105 ) , i will name this cam-creation BOB , and i want this shell to appear directly on a civilian that i will name POORGUY 0- I create myself as a west or est unit 1-first i create a civilian unit not near of my soldier , but in visual range , i name the civilian POORGUY 2-I create a trigger , the Activation line : what i need (for this example, i will put the civilian in the array the trigger and select Civil at the line Activation) Then at the line On Activation, i type that (or you can copy/paste with CTRL+C then CTRL+V ) </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">BOB= "Heat105" CamCreate  [(getpos POORGUY select 0), (getpos POORGUY select 1), (getpos POORGUY select 2)]<span id='postcolor'> 3- Then preview this , you will notice the poor civilian exploding Now you can use variation for the explosion By example, i want the Heat Shell to be created at an altitude of 50 meters up the POORGUY civil , so instead of the code up there, this time it will be (you will be able to see and hear the shell fallnig from the sky if you are near enough) </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">BOB= "Heat105" CamCreate  [(getpos POORGUY select 0), (getpos POORGUY select 1), (getpos POORGUY select 2)+50]<span id='postcolor'> You can want the shell to be created 30 meters TO THE RIGHT of the civilan, in this case </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">BOB= "Heat105" CamCreate  [(getpos POORGUY select 0)+30, (getpos POORGUY select 1), (getpos POORGUY select 2)]<span id='postcolor'> If you want the shell 30 meters TOTHE LEFT of the civilian </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">BOB= "Heat105" CamCreate  [(getpos POORGUY select 0)-30, (getpos POORGUY select 1), (getpos POORGUY select 2)]<span id='postcolor'> If you want the shell 30 meters IN FRONT OF the civilian </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">BOB= "Heat105" CamCreate  [(getpos POORGUY select 0), (getpos POORGUY select 1)+30, (getpos POORGUY select 2)]<span id='postcolor'> If you want the shell 30 meters BACK OF the civilian </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">BOB= "Heat105" CamCreate  [(getpos POORGUY select 0), (getpos POORGUY select 1)-30, (getpos POORGUY select 2)]<span id='postcolor'> Now, i think you understood how it works You can have combinaison too, if you want the shell to be created 40 meters up the civilian, 70 meters on his right but 40 meters back of him : </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">BOB= "Heat105" CamCreate  [(getpos POORGUY select 0)+70, (getpos POORGUY select 1)-40, (getpos POORGUY select 2)+40]<span id='postcolor'> As you see here i camcreate a Heat shell , but you can camcreate a lot of thing instead LaserGuidedBomb Shell120 SmokeShell Grenade etc just look for the exact name of other ammo in some editing references Share this post Link to post Share on other sites
NinjaKid 0 Posted October 31, 2002 Chronicles thank you, you are by far the single most helpful guy in this forum. Share this post Link to post Share on other sites
Prospero 1 Posted October 31, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Chronicles @ Oct. 29 2002,17:54)</td></tr><tr><td id="QUOTE">As you see here i camcreate a Heat shell , but you can camcreate a lot of thing instead LaserGuidedBomb Shell120 SmokeShell HandGrenade<span id='postcolor'> Not handgrenades. At least, doesn't work for me. Or is it just my copy of OFP? Prospero Share this post Link to post Share on other sites
Prospero 1 Posted October 31, 2002 Ahhhhhhhhhhhhhhhhh........... Works now.... I was trying to camcreate "handgrenade" rather than "grenade". Camcreating "grenade" works;) Oh the joy;) And oh how embarrassingly simple. Prospero Share this post Link to post Share on other sites
Chronicles 0 Posted October 31, 2002 Why have i typed handgrenade , of course it is grenade lol Sorry for the typo and thanks for the correction Prospero -fixed And thanks for the kind words NinjaKid , but you will find a lot of helpfull people here , that is why i like this community Share this post Link to post Share on other sites