I was wondering. Are there any real downsides to having a ton of scripts installed? What about a possible slowdown of the game?
I have a game that is in very early stages of development and I already have 9 scripts installed.
Slowdown maybe if there are lots of things happening... Or the script draws lots of texts and images which is a huge resource hogger in RM.
Another thing to look upon is possible incompatibilities between scripts modifying the same things
There is no general answer, it depends on the scripts you're using.
The more scripts you add, the higher is the risc of incompatibilities between them - but good scripters write their scripts in a way to reduce compatibility issues. So it depends on whose scripts you add.
Also, some scripts require a lot of processing power and may slow down the game, but others have no need for this. Generally you can say that scripts for a lot of advanced graphic effects may cause slowdown while scripts for game mechanics usually have less need. For example Khas' Light script adds the possibility for some of the best-looking lighting effects, but that script alone can slow down your game a lot even if no other script is added.
It's hard to avoid that one though - the more scripts you have, the more likelihood that some of them will conflict. Just look through the forums (Script Support) for people who are having trouble with two scripts causing problems.
Best thing is ... only add the scripts that you NEED. And don't add it if you only need a tiny bit of its functionality - look for something more streamlined, or get someone to write it for you (or learn to do it yourself). If it doesn't add to your game in a way that matters, don't use it.
It depends on what scripts are you using.
You may murder your FPS with 1 script alone (mostly with visual scripts, like mentioned above), but you may not experience any slowdowns even with 200+ scripts.
(The following list is based on my testings alone!)
Scripts that WILL affect performance a lot:
- Lighting scripts
- In-game time+date scripts
Scripts affecting performance a little:
- On map HUD scripts
- Any script updating something in real time
Scripts with little to no impact on anything:
- New scenes (as long as they don't update a lot of stuffs for the new scene itself)
Not scripts, but will affect performance by A LOT:
- Huge map sizes (will kill your FPS for sure)
- Bad eventing, especially bad parallel process eventing
On a final note, if you want to effectively test your game's potential performance issues, you should test it on an old PC with low specs, not on a PC stolen from NASA.
I have 30+ scripts right now.
No incompabilities or FPS slowdown at all (at least I didn't notice), but I do have to admit that there are many that I don't really need. I'll probably delete some of them.
The fact you have to troubleshoot them when something goes wrong.
Over all,once you have more then 10 scripts,it gets confusing,but,even at 5 scripts installed it gets confusing
It depends on what you know about scripting and which scripts you add - there are people who have no problems and no confusion with fifty scripts installed. But scripts require you to know what you're doing, adding scripts at random can get confusing fast.
The downsides depend on what script you're using, as people have said above, and in general, it is compatibility.
But really, people, if you sort and give name to the scripts, there shouldn't be any problems with confusion or complexity at all (unless you're talking of debugging & testing, which I didn't meant this to that, which yes would make it complex but still not confusing), even with 50+ scripts, just takes a bit of time to find a script if there is a lot (and takes some time if there are more scripts), and depending on your sorting, it can be found faster or slower. I have lots of scripts yet I can see them without problems.