I have been learning how to make weapons for a long time, but now I am understanding how those people manage all weapons through a script and many dictionaries, instead I planned to do it with several scripts, without a dictionary and several inputs of supported events for conditionals that prevented its execution if the weapon was not equipped, thank god I have only made and perfected a weapon, but clearly I already know how to make the system, my question is, do I start again to make that system from scratch, with a single script, with several dictionaries in module scripts, or I continue the same as I go
If you are willing to redo the system it will save you a ton of optimization in the future, but it is really just down to what you want personally. Make what you think is the best choice for you and your game.
Personally I would split the code into many different scripts and make it as modular as possible this helped me to easily tweak new weapons with their special needs without needing to modify the whole core of it
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.