daverboon Posted January 14, 2010 Share Posted January 14, 2010 ok so i want to create a unique weapon, i plan to use all the regular models and things just modify some stats. I tried following the armour tutorial but i'm having trouble converting the info to weapons. the weapon is a grenade launcher, i figured i would use the shotgun model and change it's ammo to grenades. i tried adding the effect of giving the user a perception bonus but i couldn't get the effect to show up in the list in the gun options. can anyone explain how i can accomplish this? Link to comment Share on other sites More sharing options...
mechine Posted January 14, 2010 Share Posted January 14, 2010 The way I understand it you would have to write a script for it, which you know activates when the weapon equips, Which would be the easy way looking at the object effects then weapon settings, there isn't really a place to do that kind of thing. Armor though you can do stuff like this really really easy without the script. It would look something like this ScriptName BLAHBLAHBLAH Begin OnEquip (your weapon's ID)What you wanted to happenEnd Begin OnUnequip (your weapon's ID)Removing what you wanted to happenEnd See not so scary huh? I think I don't know for sure, didn't want to look into it too much before we found out what you wanted to do. Link to comment Share on other sites More sharing options...
daverboon Posted January 14, 2010 Author Share Posted January 14, 2010 The way I understand it you would have to write a script for it, which you know activates when the weapon equips, Which would be the easy way looking at the object effects then weapon settings, there isn't really a place to do that kind of thing. Armor though you can do stuff like this really really easy without the script. It would look something like this ScriptName BLAHBLAHBLAH Begin OnEquip (your weapon's ID)What you wanted to happenEnd Begin OnUnequip (your weapon's ID)Removing what you wanted to happenEnd See not so scary huh? I think I don't know for sure, didn't want to look into it too much before we found out what you wanted to do. i looked at some weapon scripts like for the rock it launcher and i couldn't find anything that described ammo type. tried changing the guns ammo to grenades and it fires them but no boom. on a side note, i'm also trying to find lockers and tables with inventory. i found a table but i can't get it to have an inventory. Link to comment Share on other sites More sharing options...
mechine Posted January 15, 2010 Share Posted January 15, 2010 lawls, in special effects you will find projectiles, which is what comes out of that big hole, doesn't take a lot of tech to do that. The script stuff is if you wanted to have the weapon give you a perception bonus point or two when it's equiped. There's a video tutorial on how to make a launcher like you are wanting. Then also the mod newweapons, an modern weapons has the type launcher which you see in the movies. If you were to ask the creator of newweapons if you could use the mesh, he would probably let you. Then all you need is the BOOF sound :D boof boof! Link to comment Share on other sites More sharing options...
Recommended Posts