Search found 33 matches

by Bobit
January 13th, 2022, 6:38 pm
Forum: Technical Support
Topic: [Formula Language] $($var1 - 1 + $var2) does not evaluate
Replies: 5
Views: 636

Re: [Formula Language] $($var1 - 1 + $var2) does not evaluate

So + is always string + and not mathematical + unless it's inside quotes? In most languages with operator overloading, which method is performed depends on what types of parameters are given, not having quotes around it. Or is $map_size[0].height actually a string, not a number?
by Bobit
January 13th, 2022, 6:44 am
Forum: Technical Support
Topic: [Formula Language] $($var1 - 1 + $var2) does not evaluate
Replies: 5
Views: 636

[Formula Language] $($var1 - 1 + $var2) does not evaluate

(it's possible this is just user error and either the - or + operator is overloaded, but if so it's still confusing) $($var1 - 1 + $var2) does not evaluate, even when $($var1 - 1 - -$var2) does evalulate. Reproduction steps: Simply put this in your scenario.cfg and run the scenario [event] name = pr...
by Bobit
January 12th, 2022, 3:05 am
Forum: Lua Labs
Topic: Lua versus WML?
Replies: 3
Views: 4868

Re: Lua versus WML?

My first impression is that Lua has lots of functions that require you to know WML anyways, like this: https://wiki.wesnoth.org/LuaAPI/wesnoth/units#wesnoth.units.matches But of course it's a full-featured programming language, if you've used one like C# or Java then you know what to expect, while W...
by Bobit
January 12th, 2022, 2:46 am
Forum: WML Workshop
Topic: Debugging moveto events
Replies: 5
Views: 379

Re: Debugging moveto events

https://wiki.wesnoth.org/InternalAction ... e_event.5D

https://wiki.wesnoth.org/Eventwml#moveto

or you could just comment out the dialogue for the scenario and it wouldn't take so long if I'm understanding

idk if there is any WML unit testing
by Bobit
January 12th, 2022, 2:39 am
Forum: WML Workshop
Topic: Unkillable ability macro (completed)
Replies: 0
Views: 779

Unkillable ability macro (completed)

I got bored tonight and decided to mess around in Wesnoth. Attached is a macro for the ability "unkillable". The description is "When this unit would be killed, it is instead petrified until the start of its next turn." Feel free to use it without credit, or to comment on my bad ...
by Bobit
March 11th, 2021, 6:42 pm
Forum: Ideas
Topic: What modded abilities can the AI use correctly?
Replies: 3
Views: 3847

What modded abilities can the AI use correctly?

(Disclaimer: I am nobody and probably won't make anything) I'm pretty sure the AI will automatically know how to correctly use abilities which alter damage/healing during combat, e.g. a 1% chance to do 9999 damage. I'm not so sure whether they would be able to correctly use auras similar to leadersh...
by Bobit
March 11th, 2021, 3:04 am
Forum: Scenario & Campaign Development
Topic: Legend of the Invincibles
Replies: 8125
Views: 2157114

Re: Legend of the Invincibles

Nvm, I just didn't have the mod loaded and you can use :n anyway. I'm burned out on the mod though. Wesnoth has too much story and not enough rogue-ish-ness for me. I think the shorter spinoffs are of higher quality, though unit designs can leave something to be desired and some scenarios are very d...
by Bobit
February 26th, 2021, 12:17 am
Forum: Scenario & Campaign Development
Topic: Legend of the Invincibles
Replies: 8125
Views: 2157114

Re: Legend of the Invincibles

Does anybody have a Chapter 3 save? Mine got deleted and I really don't want to start from the beginning.
by Bobit
April 25th, 2015, 11:28 am
Forum: Scenario & Campaign Development
Topic: Chaoz Battle of the Wizards (new Scenario)
Replies: 34
Views: 9107

Re: Chaoz Battle of the Wizards (new Scenario)

So let me get this straight... Disintegrate is the only viable way to win. For seven gold, you have a 30% chance of instantly killing the enemy wizard assuming you can get in range. First of all, how is that not supposed to be op? Are you supposed to be summoning so many units that they can never ge...
by Bobit
March 17th, 2015, 1:45 am
Forum: Ideas
Topic: 2 MP Scenarios I'm Considering Making
Replies: 8
Views: 2869

Re: 2 MP Scenarios I'm Considering Making

About the intervention: 1a) Sounds fun in first thought. But I doubt if it will work. 1b) I probably won't choose much differently with the choices in normal 3p FFA, before things become unbalancable. 1c) Again, I probably won't choose much differently with the choices in normal 3p FFA. 1d) Slightl...
by Bobit
March 16th, 2015, 11:57 pm
Forum: Ideas
Topic: 2 MP Scenarios I'm Considering Making
Replies: 8
Views: 2869

Re: 2 MP Scenarios I'm Considering Making

I only have a few minutes so I can't respond to all of you. About #2, 2c is basically impossible. All the underlying code for Wesnoth assumes that there is only one unit per hex. Have you seen "Galactic Empires?" They have a transport unit that lets you access other units via a right-click...
by Bobit
March 16th, 2015, 8:00 am
Forum: Ideas
Topic: 2 MP Scenarios I'm Considering Making
Replies: 8
Views: 2869

2 MP Scenarios I'm Considering Making

2 MP Scenarios I Might Make Please answer the questions for each scenario so that I know whether it’s worth making and/or possible to make. Scenario #1 : “Intervention” In this three-player scenario, player one and three are on opposite sides of each other, and player two is somewhere between/above ...
by Bobit
March 13th, 2015, 4:49 pm
Forum: Ideas
Topic: [UMC] New traits
Replies: 7
Views: 3037

Re: New traits.

A Dark Adept who just happens to get +50% cold damage will be pretty OP for the rest of the game. That sounds like pretty unfair RNG to me, and I'm in favor of Default's RNG.
by Bobit
March 3rd, 2015, 2:30 am
Forum: Ideas
Topic: Units Stat Summaries
Replies: 8
Views: 4461

Re: Units Stat Summaries

Alright, I've got every default multiplayer unit on there except for units that advance from others. I intend to keep it there. The categories are (in order of priority; if one unit was a fast water unit, it would be counted as a water unit): WATER UNITS -self-explanatory FAST UNITS -ditto MAGES -.....
by Bobit
March 3rd, 2015, 12:00 am
Forum: Ideas
Topic: Units Stat Summaries
Replies: 8
Views: 4461

Re: Units Stat Summaries

Elvish_King wrote:
Bobit wrote:Also, I'm starting to think that short info should be included on abilities.Click Below to see the unit stat summaries
I like what you did but I found one error: In the Archer-segmentit has to be "Skeleton Archer" instead of "Skeleton".
Thx