XCess 0 Posted May 7, 2006 Is there a way to get the standard BIS grenade model on the grounds without it exploding? Do I need an addon? Is there on in the editor upgrade? Share this post Link to post Share on other sites
5133p39 16 Posted May 7, 2006 you can try searching for the "Drop" command, but you will probably need to make an addon, because there isn't much you can do with the "drop"ped model. If you want player to be able to pickup the grenade, and you want it to look like a grenade when lying on ground, then you have to make an addon of a thing object with a useraction, and script it a little, OR you will have to make a "WeaponHolder" class, set it's default model to the grenade.p3d (or whatever it is), and then put the weapon holder on ground with the help of camCreate command, and put the grenade into it as a ammo cargo. (search the forums for "weaponholder", both the "scripting" and the "addons/discussion" sections) Share this post Link to post Share on other sites
Abs_01 0 Posted May 7, 2006 I'm no scripting guru, but I thought drop had to do with particles. Anyway, this has been done by ECP, etc...I think that there may have already been a few grenade packs that did this as well. A search on ofp.info may show you what you need. Abs Share this post Link to post Share on other sites
XCess 0 Posted May 7, 2006 Thanks for the tip, 5133p39, I believe this is what I'm looking for: weapon = "WeaponHolder" createVehicle [x,y,z] weapon addweaponCargo [_weapon,1] weapon addMagazineCargo [_ammo,1] Share this post Link to post Share on other sites
Itseme 0 Posted May 8, 2006 As i remember KyleSarnik made some Grenades, who can roll over the ground and have own models. Share this post Link to post Share on other sites
XCess 0 Posted May 8, 2006 Yep, but I just want the standard BIS model THere is no weaponHolder for a nomral handGrenade, just the ammou pouch thing. Share this post Link to post Share on other sites
5133p39 16 Posted May 9, 2006 Yep, but I just want the standard BIS model THere is no weaponHolder for a nomral handGrenade, just the ammou pouch thing. yes, but you can create addon with a new 'weaponHolder' class, with the default model set to the grenade model (instead of the BIS default ammo pouch thing), and spawn this new weaponholder and it will look like a grenade. But if you try to put it down (after you take it), OFP will put it into the BIS default ammo pouch thingy again (no known workaround for this). Share this post Link to post Share on other sites
5133p39 16 Posted May 9, 2006 I'm no scripting guru, but I thought drop had to do with particles. yes, and the particle model can be "almost" anything. Share this post Link to post Share on other sites