Sourceforge page |
Githey everybody,
i just thought about making a little campaign, but when i started to work on a scenario, i found it really anoying how complex this task actually is.
in the past i used to build maps for starcraft and warcraft 3, which have really powerfull map-editors with inbuild trigger-editors. everybody could easily build their own campaigns without knowledge about scripting languages.
i know that mg and gae have great support for own scripts in lua, but it is very tricky at the moment to use is right. as far as i know do only a very few scenarios out there make use of the possabilities given, maybe because it´s so hard to use them.
to come to the point: i miss a easy to use trigger-editor for scenarios. just like the ones in sc and wc3.
to give you an idea how it looked in sc:
so what im thinking about is a simple gui that puts together the lua scripts.
here an example:
<scripts>
<startup>
...
giveResource('gold', 1, 1000)
...
</startup>
...
</scripts>
these lines are an excerpt from the storming scenario. in the editor i am thinking about, you would select something like 'new trigger' and two boxes would appear, one for conditions and on for actions.
in this example, you would select something like "new condition". there, a drop down menu for conditions would appear. in this case you would pick "startup" or "initialisation".
then, you go to the "actions" box, select "add action", scroll down in the drop down menu for "add resource". more drop down menus or other input fields for the needed arguments would appear (resouce type, player, amount).
i hope you got the trick.
i know this is a lot work to be done, but works very simple. besides, the possible lua scripts could be build in step to step.
so it could start with giveResource and createUnit and would gain more and more possabilitys over time.
i don´t have much time atm, but i will try to write the basics needed for it.
so, do you also think this is usefull and possible? and does someone want to work on it?
greetz