Search found 640 matches

by WhiteWolf
September 20th, 2020, 7:10 pm
Forum: WML Workshop
Topic: Likelyhood of coming across issues with nested custom events
Replies: 4
Views: 167

Re: Likelyhood of coming across issues with nested custom events

In a nutshell, the general problem with macros is that regardless of how much we'd want them to act as functions, they are not. They reduce code only for the viewer, but as soon as it's executed, their content is just "copied and inserted", so to the computer it's the same as if there was no "optimi...
by WhiteWolf
September 16th, 2020, 7:30 pm
Forum: WML Workshop
Topic: dabber's questions: object on unit
Replies: 65
Views: 10542

Re: dabber's questions: object on unit

I'm not sure I understand the question entirely, but if you want to define a variable that is already accessed in a side definition, then I guess that's what a preload event is for, or equivalently, you could define it at the very end of the previous scenario.
by WhiteWolf
September 15th, 2020, 7:16 pm
Forum: WML Workshop
Topic: dabber's questions: object on unit
Replies: 65
Views: 10542

Re: dabber's questions: last breath

I want to upgrade the damage and hitpoints of every enemy unit. I did this on recruit successfully, but I cannot make creating a unit directly do it. I'm pretty sure that the direct action [modify_unit] cannot be placed inside [unit] just like that. Same goes for objects. Also, if you want to modif...
by WhiteWolf
September 1st, 2020, 9:29 pm
Forum: WML Workshop
Topic: Unit stats/attributes
Replies: 5
Views: 244

Re: Unit stats/attributes

I think you can assign variables to units. I'm not sure what you mean. You can store a unit into a variable, and every unit contains an array of its own [variables] which can store practically anything, but those won't affect the actual stats by themselves. For that you need an [effect] applied by ...
by WhiteWolf
September 1st, 2020, 4:15 pm
Forum: WML Workshop
Topic: Unit stats/attributes
Replies: 5
Views: 244

Re: Unit stats/attributes

Anything that is able to apply an [effect] to units should be up for this task. This could indeed be done with a trait, or if you don't want to interfere with the existing trait system, then an [object] will do just the same.
by WhiteWolf
August 31st, 2020, 8:54 am
Forum: WML Workshop
Topic: playtesting of nth scenario of a campaign
Replies: 2
Views: 103

Re: playtesting of nth scenario of a campaign

I must play again the whole campaign from the beginning? Of course not :) Reloading the scenario start save will apply modifications that happened to the codebase to the extent possible. What I mean is that some changes are not possible to apply to saved games at all, for example if you change some...
by WhiteWolf
August 29th, 2020, 10:50 pm
Forum: WML Workshop
Topic: Modifying Core Units
Replies: 11
Views: 419

Re: Modifying Core Units

Just as the wiki says: this is generally not set manually. Some unit properties are reset at times, for example when the unit is rebuilt for some reason, that's why it's generally not recommended to set it this way. It's a much better and safer approach to use an [object] with the appropriate [effec...
by WhiteWolf
August 16th, 2020, 4:29 pm
Forum: Art Contributions
Topic: Wesnoth Fauna
Replies: 19
Views: 1502

Re: Wesnoth Fauna

I really like these additions. A few more suggestions that come to mind: Chicken Pig I do believe these two are originally from Flight to Freedom, but I'd have to check, I could be wrong. Deer Stag , I can't find the original anymore, it was posted here on the forums years ago I think. Little rabbit...
by WhiteWolf
August 12th, 2020, 11:22 am
Forum: Scenario & Campaign Development
Topic: The Ravagers 1.3 - SP campaign for Wesnoth 1.14 [Feedback and development]
Replies: 376
Views: 65945

Re: The Ravagers 1.3 - SP campaign for Wesnoth 1.14 [Feedback and development]

Version 1.3.7 is now uploaded to the add-ons server. Sadly it's just a bugfix patch, the new stuff is still in development and is getting delayed again, but I wanted to update the patches because they fix some of the more annoying kinds of bugs that accumulated for a while now. Several known issues ...
by WhiteWolf
August 12th, 2020, 11:10 am
Forum: Technical Support
Topic: SLOW Performance Issues: post here to report
Replies: 248
Views: 121689

Re: SLOW Performance Issues: post here to report

I'm definitely not an expert, far from it, it's also possible that I misunderstand some concepts, but why is your refresh rate "1"? Shouldn't that be in sync with the rate of your monitor? It's 60 for me with a 60 Hz monitor, so I also get a maximum of 60 FPS. If your refresh rate is 1 Hz, I think t...
by WhiteWolf
August 7th, 2020, 12:26 pm
Forum: WML Workshop
Topic: Nested quoted string, can someone help me ?
Replies: 10
Views: 421

Re: Nested quoted string, can someone help me ?

i'm only getting maps/background.jpg in the screen It's because I made a small mistake, sorry for that, I confused the order of the layers. They are put onto each other from top to bottom, so in the example code in my previous post, background.jpg is the top layer, completely hiding the map which i...
by WhiteWolf
August 6th, 2020, 3:50 pm
Forum: WML Workshop
Topic: Nested quoted string, can someone help me ?
Replies: 10
Views: 421

Re: Nested quoted string, can someone help me ?

Almost there. Firstly, you still have curly brackets in your second [part] . Your addon should have a [binary_path] in its definiton, so that {~add-ons/simple_start/images/} is accessible, and then you should just input the image location from there, see example below. Secondly, you have a space in ...
by WhiteWolf
August 5th, 2020, 11:23 pm
Forum: WML Workshop
Topic: [Lock_View] Usage
Replies: 4
Views: 226

Re: [Lock_View] Usage

That is how it works though, as Pentarctagon said, you should place the opening and closing tags of lock_view next to each other, without subtags, and the actions should follow then. According to the wiki, it only restricts camera movements from the player, so the game will still track unit movement...
by WhiteWolf
August 1st, 2020, 12:07 pm
Forum: WML Workshop
Topic: Can I use ✔️ in [objectives]?
Replies: 6
Views: 421

Re: Can I use ✔️ in [objectives]?

It should work, but it depends on the sign itself. I used a tick sign in one of my campaigns too, and it worked fine on my Linux system, but Windows users reported that they see the blank missing-character-box instead. I don't know which symbol is recognized by all systems, but the bold one in the f...
by WhiteWolf
July 27th, 2020, 1:22 pm
Forum: Game Development
Topic: Modding Skyrim (papyrus scripts)
Replies: 2
Views: 728

Re: Modding Skyrim (papyrus scripts)

Yeah, been there, done that, as I said in the OP: with zero received replies. Thought to ask here as a last resort :D Anyway, in the meantime I solved my issues with bruteforce trial and error debugging. If by some unexplainable coincidence, someone is looking for the same answers: Don't try to give...