Hey guys,
I'm working on my first professional project via contract at the
moment. (Yay me!) Anyway, I'm trying to decide on the best way to
implement scripted sequences. Without giving away any details on
what type of game were working on (NDA and all) let me just say that
I need something able to take care of the classic "move and act"
functions like you would usually see in the scripted sequences of a
RPG.
I was wondering if anybody has any reccomendations on how would be
best to implement this. I've all but eliminated the possiblity of
writing an actual "scripting language" as I don't see this being run-
time or dev-time effecient. Right now I'm basically considering
creating a C++ macro language and exporting a .h file with the map
which is then compiled into the program. Then I would create a
massive, hand-written switch/case-statement to get to the correct
script (each map will have a unique ID#, and each script within each
map will also). Unfortunantly, this seems like the devil's own
scripting system, and it's hardly going to be an effecient mechanic
for content creation.
Any ideas on how to improve this would be greatly appreciated.
Thanks
staringmonkey