mcruppert 300 Posted April 13, 2010 (edited) Hi guys im working on a star wars mod and i want to add some muzzle flash to my blasters... i added the muzzle "model" to my blaster model and its called "zasleh" i also added this model.cfg: class CfgSkeletons { class Default; class Weapon: Default { skeletonInherit = "Default"; skeletonBones[]= { "magazine","", "ammo_belt","", "ammo_belt_bottom","" }; }; }; class CfgModels { class Default { sectionsInherit=""; sections[] = {}; skeletonName = ""; }; class Weapon: Default { sections[]= { "zasleh" }; skeletonName="Weapon"; }; class Ru_Blaster: Weapon {}; }; but it does not work, you always see the muzzle flash ingame, like this: so pls help me thx Edited April 13, 2010 by McRuppert Share this post Link to post Share on other sites
da12thMonkey 1943 Posted April 13, 2010 Hi guysi added the muzzle "model" to my blaster model and its called "zalesh" i also added this model.cfg: ... class Weapon: Default { sections[]= { "zasleh" }; skeletonName="Weapon"; }; ... Check your spelling of 'zasleh' in the model's selections. Share this post Link to post Share on other sites
mcruppert 300 Posted April 13, 2010 Check your spelling of 'zasleh' in the model's selections. oh yeah sry but this was just tipping mistake sry, in o2 its called zasleh too Share this post Link to post Share on other sites
da12thMonkey 1943 Posted April 13, 2010 Hah, thought that might be a bit obvious. class CfgSkeletons{ class Default; class Weapon: Default { skeletonInherit = "Default"; skeletonBones[]= { "magazine","", "ammo_belt","", "ammo_belt_bottom","" }; }; }; class CfgModels { class Default { sectionsInherit=""; sections[] = {}; skeletonName = ""; }; class Weapon: Default { sections[]= { "zasleh" }; skeletonName="Weapon"; }; class Ru_Blaster: Weapon {}; }; Is 'Ru_Blaster' the name of you weapon model; i.e Ru_Blaster.p3d, or just the weapon's config classname? It's meant to be the name of the .p3d so that the model.cfg gets binarized into the corresponding .p3d. Share this post Link to post Share on other sites
mcruppert 300 Posted April 14, 2010 Hell yeah! thanks now it works :D yeah the mistake was that it was not the name of the o2 model... thaaaaaanks! Share this post Link to post Share on other sites
mcruppert 300 Posted April 16, 2010 hey its me again :D i have another problem with the muzzle flash... i get a strange "bug" when i use a texture with an alpha canal on my muzzleflash texture... ingame everything works fine with the muzzle but the weapon is not in the right position in my hands... i tried to give the muzzle an normal texture (no transparent parts) then everything is fine. the problem is only in the first pirson view.. here a pic Share this post Link to post Share on other sites
DaSquade 0 Posted April 17, 2010 Please use the wonderfull feature on the forum called search But i know, often it is hard to find stuff that is relevant. Anyway, the topic should give you enough tips. Share this post Link to post Share on other sites
mcruppert 300 Posted April 19, 2010 hm im sry cant find anything with the same problem:confused: Share this post Link to post Share on other sites
Jackal326 1181 Posted April 19, 2010 THE LINK Dasquade gave you, directs you to someone with the exact same problem, and how they fixed it. Just turn the muzzle-flash into a proxy. Share this post Link to post Share on other sites
Takko 10 Posted April 19, 2010 That http://forums.bistudio.com/showthread.php?t=94642 Share this post Link to post Share on other sites