Another question about the sighted [event]
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Another question about the sighted [event]
Hi, I have a question about the way to use portraits/images in the default-campaigns. Could anyone please tell me the way is fine or not?
If I use:instead of using my story folder, it still shows fine. I know that we are under GPL, but I would like to make sure for the manner of it. (I have never seen so far doing this in UMC.)
Also, as the portraits for a unit:The reason why I am asking is just to make my campaign-size smaller. Actually, that is all.
Advise or comment me, please!
p.s. wow!! 1.6 released? I just finished testing mine in 1.5.14 last night. But I appreciate developers.
-----------------------------------------------------------------------------------------------------------------
The subject has been changed from "The way to use portraits/images in the default-campaign", then "About Fog Clearer".
If I use:
Code: Select all
background="data/campaigns/Heir_To_The_Throne/images/story/httt_story7.jpg"
Also, as the portraits for a unit:
Code: Select all
profile="data/campaigns/Legend_of_Wesmere/images/portraits/uradredia.png"
Advise or comment me, please!
p.s. wow!! 1.6 released? I just finished testing mine in 1.5.14 last night. But I appreciate developers.
-----------------------------------------------------------------------------------------------------------------
The subject has been changed from "The way to use portraits/images in the default-campaign", then "About Fog Clearer".
Last edited by SkyOne on April 17th, 2009, 9:55 am, edited 5 times in total.
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Re: The way to use portraits/images in the default-campaigns.
1.5.14 is pretty much the same as 1.6 anyway, except for a bit more art and bugfixes; there's no WML differences between the two, any WML that works with one will work with the other.SkyOne wrote:p.s. wow!! 1.6 released? I just finished testing mine in 1.5.14 last night. But I appreciate developers.
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
About Fog Clearer.
Thanks, Turin.
-----------------------------------------------------------------------------------------------------------------
I have a question about "Fog Clearer" in general.
I am using "Fog Clearer" in one of my scenarios, then I have been curious why the movement of Fog Clearer is equal to one. I mean why not "movement=0".
Could anyone please tell me that it means anything?
-----------------------------------------------------------------------------------------------------------------
I have a question about "Fog Clearer" in general.
I am using "Fog Clearer" in one of my scenarios, then I have been curious why the movement of Fog Clearer is equal to one. I mean why not "movement=0".
Could anyone please tell me that it means anything?
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
- DEATH_is_undead
- Posts: 960
- Joined: March 4th, 2007, 3:00 pm
- Location: Northern United States
Re: About Fog Clearer.
I think, a while back, there couldn't be a movement 0 unit... But I'm not sure. I only recently started seeing movement=0 units.
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
Re: About Fog Clearer.
Oh, okay. That might be the reason why. Its work is still on progress probably. Because its "movement_type=fly", it is able to be everywhere even I edit map-terrain to deep water. I will modify it.DEATH_is_undead wrote:a while back, there couldn't be a movement 0 unit
Thanks, and good to see (talk to) you!
You are my "brain clearer" today.
P.S. I meant that the image of "Bacon Bacon" was pretty good also.
---------------------------------------------------------------------------------------------------------------------
Edit:
Okay, now, I found out that it effects its radius of clearing fog. If the movement is equal to zero, the radius of clearing fog is only one, so it means that, right?I wrote:Could anyone please tell me that it means anything?
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
-
- Posts: 547
- Joined: August 11th, 2008, 3:19 pm
Re: About Fog Clearer.
yeah, that's exactly the reason. if movement=0, the fog clearer would only affect fog on its own hex, which is relatively useless. With movement=1, it clears the fog immediately adjacent to it.
--OSJ
--OSJ
what if the Bible's claims about Christ depicted accurate, verifiable history? given some research, you might be surprised at the evidence...
Re: About Fog Clearer.
Thanks, OSJ.
------------------------------------------------------Next Question----------------------------------------------------
This is a new question.
I am testing own, then struggling for the sighted [event]. The code is:Once, it did work fine, but another time, it did not work at all.
Could anyone tell me how I am able to make it works consistently? Do I have to use the [filter_vision] tug?
------------------------------------------------------Next Question----------------------------------------------------
This is a new question.
I am testing own, then struggling for the sighted [event]. The code is:
Code: Select all
[event]
name=sighted
[filter]
id=Gulder
side=2
x=20
y=10
[/filter]
[message]
id=Ameck
message= _ "Here is Gulder, right there!!"
[/message]
[music]
name=frantic.ogg
play_once=yes
[/music]
--then some [message] tugs--
[/event]
Could anyone tell me how I am able to make it works consistently? Do I have to use the [filter_vision] tug?
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Re: Another question about the sighted [event]
The word is tag, not tug.
Re: Another question about the sighted [event]
Oops!! It is so embarrassing. I have been using it for a long time. Thanks, zookeeper. You were the first person who pointed it.zookeeper wrote:The word is tag, not tug.
Edit: Also, the speaking of Ameck is grammatically wrong in the code tag, but it will be fixed when the campaign is published.
P.S. The problem is not solved, yet.
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Re: Another question about the sighted [event]
Why are you using id, side and x,y in the filter? I think that id is enought, especially if Gulder can move.
Re: Another question about the sighted [event]
Good point. because Gulder will disappear after the [event]. (He shows twice in the scenario.) Actually, It was just "id" inside of the filter tag, but it effects only the second appearance of Gulder. So I installed the "location" and "side=2" in order to specify the first appearance of Gilder.mich wrote:Why are you using id, side and x,y in the filter? I think that id is enought,
Gulder is the side=2 leader withmich wrote:especially if Gulder can move.
Code: Select all
[ai]passive_leader=yes[/ai]
Code: Select all
{MOVE_UNIT id=Gulder 7 6}
Anyway, Thanks. Could you be a personal tester for some of my scenarios(i have 19 scenarios which are playable with a story.) if you have time? I have seen that you did good job on Dead Water.
I have actually been worried about:
on Mabuse's topic in a few week ago.Sapient wrote:the sighted event has many known bugs, and may be removed in a future version.
I advise people to use [filter_vision] instead (see wiki/SingleUnitWML).
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Re: Another question about the sighted [event]
I'm really sorry, but at the moment I have not enouth time to play an entire campaign, especially so long. But if you want you can send me this scenario (or the whole campaign if you prefer), and I can test it (only this scenario). And who knows, maybe in the future I can find the time to playtest the others too, but until summer I'm a little busy.Could you be a personal tester for some of my scenarios(i have 19 scenarios which are playable with a story.) if you have time? I have seen that you did good job on Dead Water.
Re: Another question about the sighted [event]
Thanks, mich. It sounds good enough to me. I also added <remove shroud> code after the appearance of Gulder (Gulder is suppose to appear once on the scenario, now.), so I do not have to specify his first appearance anymore. I mean that it might be able to make the problem solve. Anyway, I will send the folder with the saving file of this scenario. Ciao, ciaomich wrote:I'm really sorry, but at the moment I have not enouth time to play an entire campaign, especially so long. But if you want you can send me this scenario (or the whole campaign if you prefer), and I can test it (only this scenario). And who knows, maybe in the future I can find the time to playtest the others too, but until summer I'm a little busy.
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Re: Another question about the sighted [event]
I've made some tests with the sighted event, and it seems that normally, when you can see half of the enemy unit (the one in the filter), the event trigger. But if you can see half of the enemy unit, and with that movement you attack another unit, then the event doesn't trigger. This seems to not happen if you can see all the enemy unit inside the filter. So probably the sighted event is bugged (at least in wesnoth 1.6a, tomorrow I will try in 1.6.1).
Re: Another question about the sighted [event]
The sighted event has many bugs-- both known and unknown-- and support for it may eventually be removed. I suggest you use [filter_vision] in a moveto event to achieve a similar result.
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."