Search found 52 matches

by mihoshi
March 15th, 2008, 10:09 pm
Forum: Faction & Era Development
Topic: Extended Era revived - version 36
Replies: 912
Views: 170947

Re: Re:

1) IE has at least one damage type, energy, that no other era has. This means that non-IE units would be virtually immune to some of the attacks of some IE units. An ordinary human should not be immune to lightning strikes! Actually, energy should be same type as fire. Deflador's lighning bolt have...
by mihoshi
March 15th, 2008, 7:24 pm
Forum: Strategies & Tips
Topic: Help on "Linaera the Quick" on An Orcish Incursion campaign
Replies: 2
Views: 1248

Re: Help on "Linaera the Quick" on An Orcish Incursion campaign

Hire some 1-level units and use them as meat shields on a good defence terrain.
by mihoshi
March 15th, 2008, 8:18 am
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re: Why not LUA?

Not an exhaustive list, but here's the first things that came to mind: 1) When reading the file later, you have to scan upwards to figure out which '}' matches the other (Keep in mind that some of our WML authors use Notepad or Wordpad, with no syntax highlighting). Once you unbalance the thing it ...
by mihoshi
March 15th, 2008, 5:29 am
Forum: Scenario & Campaign Development
Topic: Campaign idea - Li'sar's truth.
Replies: 3
Views: 1238

Re: Campaign idea - Li'sar's truth.

So, the good image of Deflador will be replaced with the insidious one. That's good, but there's must be any changes in WesnothHistory if the campaign is set to mainline. Well, not necessarily. This version of 501 YW events can be shown as just a version, told by Ashievere, for example. Point is no...
by mihoshi
March 14th, 2008, 10:26 pm
Forum: Scenario & Campaign Development
Topic: Campaign idea - Li'sar's truth.
Replies: 3
Views: 1238

Campaign idea - Li'sar's truth.

So, it's following - campaign about HttT event, but from Ashiever/Li'sar view. You know, HttT is nice, but story is a little too bland and straightforward. Good guy kills one evil chick. But if you start see closer and ask questions, it seems that it's not that simple. And there is too many stranged...
by mihoshi
March 14th, 2008, 1:39 pm
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re: Why not LUA?

The thing to understand is that to a coder, Lua or Python or similar would be much easier than WML, but to a non-coder, WML is much much easier. I see. Well, if it is a case, what do you think about using Lua as auxilary to WML? Using WML generally, but allowing Lua fragments here and there, where ...
by mihoshi
March 13th, 2008, 3:42 pm
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re: Why not LUA?

turin wrote:Let's put it like this - I would almost certainly never have attempted to make my own campaign if campaigns had been scripted in Lua (or Python) when I joined...
Woah, I underestimated dread factor of "real programming language" :p
by mihoshi
March 13th, 2008, 8:26 am
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re: Why not LUA?

Well then, I'll return to this question when I'll be able to back my arguments better. Just one question now - what is a "non-coder"? Someone who can't/won't undestand concept of variables and conditionals? Can you point any great Wesnoth campaign that is done by non-coder? I would say most of them...
by mihoshi
March 13th, 2008, 7:11 am
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re: Why not LUA?

mihoshi -- after reviewing all your arguments, I am still not convinced that LUA (a generic scripting language) would be better for coding Wesnoth scenarios than WML (a language designed specifically for coding Wesnoth scenarios). It really boils down to reduced verbosity for complex new tasks (wit...
by mihoshi
March 12th, 2008, 9:37 pm
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re: Re:

A few things: - sure one can write Lua like this, but how is it written back out programatically? Is there a standard for writing and storing Lua? Well, that's just a constructor of a Lua data object. Except for "return" word in the beginning of file. Data can be serialized from Lua in a similar fa...
by mihoshi
March 12th, 2008, 8:21 pm
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re: Why not LUA?

#! A new type of variable [set_function_variable] name=myVar #! Here is where the scripting happens. value="var('x')*12;" [/set_function_variable] #! Now, anywhere where variables are , you can use "$myVar" instead. Each time $myVar is referenced, it would be re-calculated. #! A new type of conditi...
by mihoshi
March 12th, 2008, 6:56 am
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re: Re:

Will you really get rid of WML entirely by implementing Lua? Syntax-wise - yep. I think nearly everything in "serialization" folder will be not needed anymore. And config.cpp will likely be a front to a Lua data structure. B) "WML is much harder to learn than Lua." I disagree. If you already know a...
by mihoshi
March 11th, 2008, 8:29 pm
Forum: Users’ Forum
Topic: 90 Q. Wesnoth unit quiz (couldn't resist)
Replies: 116
Views: 17487

Re: 90 Q. Wesnoth unit quiz (couldn't resist)

Dark Adept
100%
Horseman
75%
Orcish Grunt
75%
Saurian Skirmisher
75%
by mihoshi
March 11th, 2008, 3:54 pm
Forum: Developers’ Discussions
Topic: Why not LUA?
Replies: 86
Views: 46041

Re:

Could someone please explain all the merits of Lua over WML? I'd like to see a line item for each improvement that you feel Lua offers over WML, rather than just a blanket "it's better" statement. 1. No need to extend and maintain WML - less work for programmers. 2. No need to learn WML. WML is muc...
by mihoshi
March 11th, 2008, 10:59 am
Forum: Ideas
Topic: Python instead of WML
Replies: 2
Views: 664

Python instead of WML

There is a question that bugger me for some time - you use python already for AI, why don't replace WML with Python too? Python has powerful enough syntax to be at least as expressive as WML, and in most non-trivial cases is times more compact and readable.