Sign in to follow this  
fletschge

Unity dynamic contents - scripting language?

Recommended Posts

fletschge    122
Hi you guys I wonder how to implement dynamic contents in cpp/OGL. I've been told to consider lua, but I have no idea where to begin at. the idea I'm looking for is to store camera movements, objects, basically procedures in scripting files. how does the community handle such problems? What about professional games? I hope you understand my question, otherwise ask me please. greetings

Share this post


Link to post
Share on other sites
ToohrVyk    1595
How dynamic are the contents? Must they be changed at runtime? In-between runs? Should they be edited with a text editor, or is a map editor better?

Depending on your answers, I would suggest a text-based description language (lua/python/XML), an external binary file, or hardcoding the values in the program.

Share this post


Link to post
Share on other sites
fletschge    122
I'd like to store actions/procedures like movements, waypoints or object locations in textfiles. The reason I want this is that I don't want to hardcode everything in my sourcefiles. For example: I got a lot of spheres in my OGL project, but they have to be dynamic -> location, size, whatever other attribute in files. In another script file, lets assume it contains camera routines, I want the camera to fly around an object. For that, I'd like to have THIS code in a script file.

I hope you're able to read my text, sorry for the bad english.


greetings

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this