Urby Posted April 13, 2015 Share Posted April 13, 2015 Along the lines of adding new guns and attachments. I'm wondering how one might go about, for example, attaching a suppressor to a gun and with that attachment, modify the guns "SwingSound" and "SoundRadius" Only while the specific mod is attached. Link to comment Share on other sites More sharing options...
Zheo Posted April 13, 2015 Share Posted April 13, 2015 There are some mods for this already exists.For example here: http://theindiestone.com/forums/index.php/topic/11164-announcing-real-guns-mod/?hl=weapon%20mod Link to comment Share on other sites More sharing options...
Urby Posted April 13, 2015 Author Share Posted April 13, 2015 There are some mods for this already exists.For example here: http://theindiestone.com/forums/index.php/topic/11164-announcing-real-guns-mod/?hl=weapon%20mod Umm, I feel that there may have been a misunderstanding. I don't mean adding new guns an attachments. But for example... Where a X2 Scope modifies Min and Max range item x2Scope { Type = WeaponPart, DisplayName = x2 Scope, Icon = Scope2x, Weight = 0.3, WeightModifier = 0.3, MaxRangeModifier = 7, MinRangeModifier = 6, MountOn = HuntingRifle; VarmintRifle, PartType = Scope, Tooltip = Tooltip_Scope, } I was thinking of making a supresson item that could do something like SwingSoundModifier = "SupressorNoiseFile"SoundRadiusModifier = -30 I guess what I mean is. Is this possible through an easy method, otherwise how would I go about coding it in Lua. The reason I'd rather link an attachment is that it can be reusable for other objects. Link to comment Share on other sites More sharing options...
Zheo Posted April 13, 2015 Share Posted April 13, 2015 Mmmmh.. you mean something like a "silencer"?Im not sure, but i think the mod i mentioned before contains silencers for pistols or rifles.. I would like to search inside of its code but im at work and unable to do something for fun at the moment Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now