Thanks for the replies

So depending on the engine's capabilities, the developer has to either bring in 3rd party libraries into the game or modify the engine to build these capabilities into the engine using c++ or some lower level language?

And also, what is scripting in a game commonly used for?