<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.is there a full documentation? especially for mg and gae?
createUnit('library', 2, startLocation(1))the xml file to add this function to the editor will have to look like this:<?xml version="1.0" standalone="yes" ?>
<command>
<string>createUnit(%1, %2, %3)</string>
<1 value="unit_type"/>
<2 value="player"/>
<3 value="location"/>
</command>the possabilitys for the values will come from other xml files or from the game files. so i myself only have to code the functions for the values, but not the real lua stuff. if everything works like exspected, i have to do much less than expected in the first moment.qmake
makewill do it, as long as qt is installed.Might be interesting. I wouldn't need it, but you never know, might get some people who aren't any good at lua into making scenarios.Sure you could use it! Making scenarios would be much faster.
But if he knows already how to and can make more advanced ones, then it does not really have a use...just for people who don't know much about LUA and such...like me. :OMight be interesting. I wouldn't need it, but you never know, might get some people who aren't any good at lua into making scenarios.Sure you could use it! Making scenarios would be much faster.
Looks cool, Are you emulating windows on a mac? I see... :)
"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!
it´s kde on linux ;)Sorry, sometimes my mind is... :| blank?
Well, face it, editors are for the inexperienced at something. Once you get experienced enough, you can do it in just code. For example, a web design noob might use Microsoft Frontpage to make a website. But, frontpage is very limited, has horrid formatting, puts in a lot of junk that drastically increases filesize, and makes it based for IE. Once you are good at HTML, you'll make all your webpages from scratch in code, because it is better, allows you to do more, and overally increases performance (not to mention way more fun! :D).Yeah, basically... but uh, who knows? This scenario editor might even be good enough for the pros... there aren't that many great scenarios for glest yet, none that are popular...anyways. :|
...
SO Omega, will you use it? :P I certainly will!Hmm, I thought he was really good at LUA...still, I guess he could use it. Military has tons of scenarios already though... :-/
SO Omega, will you use it? :P I certainly will!Hell, no. It just looks nice and will hopefully get more people into making scenarios.
Hmm, I thought he was really good at LUA...I am. ;)
"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!
http://www.mediafire.com/?6havwpcysihihel
One thing I notice is you can only make scenarios with the megapack, I hope this will change soon'ish? right? ::)What do you mean? That's not true...
[url=http://www.gamefront.com/files/20114560/Glest+Scenario+Editor+Rev+20+by+Treba.7z[/url]I've compiled revision 20 for windows people.[/url]compatability profiles for vanilla, gae and mg - should be easyWell, in some months or so (hopefully) MG and GAE will be merged...but I guess you could still do that.
I was bored so I made a sh-script which create a simple scenario , because i don't understand how to use this scenario_editor ( or can't you use it right now ) :DExcept that's pretty much inferior to the Glest Guide's Scenario Creator (http://glestguide.co.cc/scenario_creator/) that I made long ago. It does all the same things, but works on literally every operating system, has a GUI, and can also allow you to give custom resources.
It is an sh-script SO IT ONLY WORKS ON LINUX!
DOWNLOAD (http://www.titusgames.de/scenarios/scenario_maker_beta.7z)
Meh, we could say that the online Scenario Creator is inferior to his script. I mean, offline use FTW.Linux only though... If I made a windows only script, people would complain :P.
I was bored so I made a sh-script which create a simple scenario , because i don't understand how to use this scenario_editor ( or can't you use it right now ) :DExcept that's pretty much inferior to the Glest Guide's Scenario Creator (http://glestguide.co.cc/scenario_creator/) that I made long ago. It does all the same things, but works on literally every operating system, has a GUI, and can also allow you to give custom resources.
It is an sh-script SO IT ONLY WORKS ON LINUX!
DOWNLOAD (http://www.titusgames.de/scenarios/scenario_maker_beta.7z)
i know :P i made it like this but at your glest guide a firefox update thing is allways above the buttonsHeh, yeah, I updated that one page to remove the disfunct firefox ad and fix the broken stylesheet link.
Wow, nice to see this project still kicking man!
:thumbup: a bo$$To be honest, I don't really see such a program making a campaign more or less viable. The Lua syntax for scenarios is as simple as a scripting language can be (I'm STILL annoyed though, that nobody is willing to implement a way to display output without going through a language file; a scenario I made that used a timer required over 600 lines (http://pastebin.com/ECSG7LZ6) in the language file just to be able to display a timer without question marks). At any rate, the main things stopping a campaign are that (1) it's difficult to smoothly move from scenario to scenario in a lengthy campaign. (2) MegaGlest has literally no backstory. With all due respect, the MegaPack is just a bunch of totally different factions that people really liked, so decided to bundle together. They weren't made with a story in mind, and it'd be pretty hard to adapt a story involving indians, vikings, ancient egyptians, a bunch of death worshiping wizards, persians with flying carpets, and a steampunk medieval faction. (3) There's little ability for scenarios to particularly focus on specific units ("heros"). There's no way to reassign different models, stats, or names to a unit; there's no way to add new units into a techtree solely for a scenario; maps are limited to ten different objects, so no scaling a grand castle to kill an evil baron, etc etc. And (4) making a scenario takes a fair deal of effort and few people actually want to do it. In fact, recently, the entire modding community has been very slow. I don't think we've seen any new mods for a long time, just updates to a few, like Annex.
It'll be cool to see once it's finished. And if this can expedite scenario editing then maybe we can make a campaign
<unitDied>
if lastDeadUnitCauseOfDeath() == 1 then
for i=1, 8 do
player = player1
player_ally = player2
hero_player = hero_1
if unitFaction(lastDeadUnitKiller()) == player and unitFaction(lastDeadUnit()) ~= player and unitFaction(lastDeadUnit()) ~= player_ally then
if lastDeadUnitName() == 'swordsman' then
end
end
end
end
</unitDied>
Though I have to admit, I've never liked how Lua uses "~=" for inequality and the use of then/do and end in place of braces.Then maybe we can make a campaign