SRTT Scripting languages?

I so far have tried to figure out what kind of language the missions use and it seems to be lua, but that doesn't seem to be sufficient for everything (in my opinion). Do you guys use C++ or similar to make more extensive scripts?
 
I so far have tried to figure out what kind of language the missions use and it seems to be lua, but that doesn't seem to be sufficient for everything (in my opinion). Do you guys use C++ or similar to make more extensive scripts?
Yes. The engine is based around C++ and lua does more surface-level stuff like missions. Every now and then C++ has to be used for lower level stuff, such as activities and certain mission parts.

EDIT: The engine might actually be in pure C, I don't remember off the top of my head.
 
Thank you very much, this has been the most definite thing for this question so far. I am glad you responded (and strange that your mod, revamped physics is the only one I've kept in my game after all different ones I tried, kudos on your mods).
 
I think it is fair to call the game engine C. We use some C++ here and there, but it is mostly just C. All the lua functions for the game call into a C function, so we mostly figure out what we want to do for a mission and from there find out what existing functions we need to expose to lua and/or write specific functions that we then expose to lua.
 
Speaking as a (programming) language nerd, our game engine is built on C++. It's true that if you looked at some of our code it would definitely look very C like in quite a few places but at the end of the day we are using a C++ compiler and most of our code won't compile with a straight up C compiler. Also as the platform compilers have gotten better at the C++ language features we have started to use leverage them more appropriately.

As an example, for a while it could be a really bad idea to even try to use templates on the consoles, but we've been able to leverage them more and more since I started working at Volition. Some of that had to do with programmers being familiar enough with the features to be able to use them effectively, which we've made improvements in as well.

Edit: Basically you can assume that everything in the game is running in C++. The flow/processing of missions is farmed out to scripts running in Lua (by a C++ based control system) and (since SR2 I think) a lot of our UI is also run out of Lua.
 
help saints row the 3rd crashes right after the first loading screen the engine revs and the program stops working i have a geforce gtx 760 graphics card intel core i5-3350p cpu @ 3.10ghz it recomends directx 10 or 11 i use that nope it crashes i use direct x 9 nope crashes please help
 
Back
Top