ironmanexe Posted June 19, 2007 Share Posted June 19, 2007 (edited) I was kind of wondering what the pros/cons of using autoit as an embeded language might be, It would be used to control ingame events/triggers and possibly over ride default ai behaviour of npc's (Non player charecters) and the like. I was considering writing something to compile the scripts into some type of binary file, like a bytecode mabey and just have the server application read that into memory on start and parse it from there, for speed. I want you to debunk my idea, I don't want to go to the trouble and find a major flaw in the idea... If you can, suggest other scripting languages, Preferably open source.. Edited June 19, 2007 by ironmanexe Time + Effort = Constant Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 19, 2007 Share Posted June 19, 2007 AutoIt is, has been, and probably will be for some time, interpreted. It won't get much faster until the developers find a way to actually work a compiler in. I don't know that AutoIt is meant for games, but many users seem to make them. I don't know that it would be best to have interpreted NPC control because more tech savvy users could modify it. And we know what NPCs are. Link to comment Share on other sites More sharing options...
SteveBabineau Posted June 25, 2007 Share Posted June 25, 2007 I think Lua is a popular language to embed: http://www.lua.org/ Link to comment Share on other sites More sharing options...
ironmanexe Posted June 30, 2007 Author Share Posted June 30, 2007 (edited) Server side, end user cant touch the script Edited June 30, 2007 by ironmanexe Time + Effort = Constant Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 30, 2007 Share Posted June 30, 2007 Why can't you just compile it then? It would be much faster. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now