Zorkaz Posted September 11, 2021 Share Posted September 11, 2021 How does the Syringer work? I can't find a script on the weapon or a quest supervising it? I'm talking about storing custom ammo Link to comment Share on other sites More sharing options...
YouDoNotKnowMyName Posted September 11, 2021 Share Posted September 11, 2021 Probably hardcoded, like every other interesting or cool thing. I tried to implement a "multiple ammo" system for a weapon, kind of like the syringer (you can "load" different types of syringes into it), but I also couldn't find anything. Link to comment Share on other sites More sharing options...
pra Posted September 13, 2021 Share Posted September 13, 2021 Might be tied to it's animation, somehow... Implementing a custom-ammo weapon might still be feasible. You would have to react to the "reload" event, open a container from a hidden cell, then listen to the inventory events from there. Then try to to dynamically change OMODs on the weapon and give the player a dummy placeholder ammo? Though IIRC dynamically changing OMODs is somewhat wonky. Maybe investigate how other mods with ammo change/firing mode change are doing it. Or maybe just make the weapon fire an invisible dummy, which then moves the first ref from the ammo chest to itself? There might be different ways how this could work, with various levels of hackiness. Link to comment Share on other sites More sharing options...
Zorkaz Posted September 13, 2021 Author Share Posted September 13, 2021 Ah there's a fire event. No need for OMODs as the Magic Effect Script could sometimes do the trick.From experience changing OMODs while the weapon is drawn will lead to the weapon being sheathed and unsheathed again Link to comment Share on other sites More sharing options...
pra Posted September 15, 2021 Share Posted September 15, 2021 From what I understood, you have to sheathe and draw the weapon for the OMOD change to take effect. But I think I heard somewhere of some trick which supposedly works without? If all you want is do something to the target, then a scripted magic effect might be enough. But I'm wondering how complicated it would be to actually visually change the projectile, or even a part of the weapon, depending on what you load into it. Not 100% sure about the "fire" event. I think here the trick was, you must listen to the OnAnimationEvent, then use one of these: https://www.creationkit.com/fallout4/index.php?title=Animation_Event_List Link to comment Share on other sites More sharing options...
Zorkaz Posted September 15, 2021 Author Share Posted September 15, 2021 Thx. The project is abandoned anyway but there's some new stuff for the future. Link to comment Share on other sites More sharing options...
Recommended Posts