Search found 27 matches
- May 6th, 2011, 6:17 am
- Forum: WML Workshop
- Topic: How to change side leader hitpoints?
- Replies: 23
- Views: 3671
Re: How to change side leader hitpoints?
Just add this inside the event: {ADD_HP_LEADER SIDE HPADD} notes: SIDE=replace with the units side you can replace side with $side_number if the event triggers during your turn HPADD=replace with the amount of hp you wish to add #define ADD_HP_LEADER SIDE HPADD [store_unit] [filter] side= {SIDE} can...
- April 15th, 2011, 6:12 am
- Forum: WML Workshop
- Topic: working on transports
- Replies: 9
- Views: 1558
Re: working on transports
The previous reply helped me a lot, This is my macro, Add an option in order to make galleon able to carry more than one unit! (without bugs) #define SHIP_TRANSPORT {TJ_PASSOPTION} {TJ_UNLOADOPTION} #enddef #define TJ_PASSOPTION [set_menu_item] id=board description="Board" image=misc/visio...
- April 15th, 2011, 6:03 am
- Forum: WML Workshop
- Topic: Working useful macros!
- Replies: 6
- Views: 1640
Re: Working useful macros!
You want the Transport galleon to carry units? Just add these macros to the prestart event. #define SHIP_TRANSPORT {TJ_PASSOPTION} {TJ_UNLOADOPTION} #enddef #define TJ_PASSOPTION [set_menu_item] id=board description="Board" image=misc/vision-fog.png [filter_location] [not] terrain=X*,Md^Xm...
- April 4th, 2011, 8:01 am
- Forum: WML Workshop
- Topic: Working useful macros!
- Replies: 6
- Views: 1640
Re: Why dont this work?
Your problem is that [filter_location] is not part of StandardLocationFilter and thus has no meaning inside [store_locations]. ¨ You're probably right, but unless you wright it as a code I wont understand what you mean Besides its already solved. TY for trying to help though, its not your fault i d...
- April 4th, 2011, 5:54 am
- Forum: WML Workshop
- Topic: Working useful macros!
- Replies: 6
- Views: 1640
Re: Why dont this work?
Try this instead #define TELE_TERRAIN_ON [event] name=moveto first_time_only=no [if] [have_location] terrain=Rrc [filter] side=$side_number [/filter] [/have_location] [then] [store_locations] variable=telea [filter] [filter_location] terrain=Rrc [/filter_location] [not] x,y=$x1,$y1 [/not] [/filter]...
- April 3rd, 2011, 9:35 am
- Forum: WML Workshop
- Topic: Working useful macros!
- Replies: 6
- Views: 1640
Working useful macros!
EDIT------------ From now on i will use this thread for all my coding questions. :eng: I will post the working codes below for others to enjoy! :) HOW TO: #define TELE_TERRAIN_ON {TELE_TERRAIN *^Uota} {TELE_TERRAIN *^Uotb} {TELE_TERRAIN *^Uotc} {TELE_TERRAIN *^Uotd} {TELE_TERRAIN *^Uote} {TELE_TERRA...
- April 1st, 2011, 6:34 am
- Forum: Art Workshop
- Topic: Ultimate Art
- Replies: 2
- Views: 1402
Ultimate Art
Hey I'm Flyro the creator of the "Ultimate" add-on. I'm currently working on a new Campaign which will be embedded in the "Ultimate" add-on. This thread will be my official place for posting my progress, (and asking for help :P) This is what i'm working on ATM I like the sprite,...
- March 31st, 2011, 7:57 am
- Forum: WML Workshop
- Topic: Going crazy help needed !
- Replies: 11
- Views: 1755
Re: Going crazy help needed !
you've got different portals. each has it's own terrain. you place exactly two of each in the editor and you'd like to make use of them in your scenarios without specifying the exact location. right? - use wildcards (http://wiki.wesnoth.org/FilterWML#Filtering_Terrains) for your filter to filter al...
- March 31st, 2011, 5:58 am
- Forum: WML Workshop
- Topic: Going crazy help needed !
- Replies: 11
- Views: 1755
Re: Going crazy help needed !
I don't even know what you're trying to do exactly. If you use a moveto event then that only makes stuff happen when a unit steps on a particular hex. In your case, you're seemingly trying to make each unit which steps on a ^Otaf hex to be teleported... somewhere. I don't know where. So maybe start...
- March 30th, 2011, 9:04 am
- Forum: WML Workshop
- Topic: Going crazy help needed !
- Replies: 11
- Views: 1755
Re: Going crazy help needed !
again - read the documentation: http://wiki.wesnoth.org/EventWML there's no [filter_location] on this level. you could add one inside [filter]. if you're looking for something similar to the silver mage you can have a look at [tunnel]. it's available in 1.9.5 (not announced yet, but windows build c...
- March 30th, 2011, 6:59 am
- Forum: WML Workshop
- Topic: Going crazy help needed !
- Replies: 11
- Views: 1755
Re: Going crazy help needed !
KK :( Thank you anyway guys! Wait a minute isn't there a way to get a specific terrains cords? And define them as "teleport cords" or make them a variable or something like that? that way i could just type my code like this [event] name=moveto first_time_only=no [filter_location] terrain=^...
- March 29th, 2011, 9:46 am
- Forum: Multiplayer Development
- Topic: MP Campaign: The 7 Seasons (Add-On) - Try it now!
- Replies: 43
- Views: 12768
Re: MP Campaign: The 7 Seasons (Add-On) - Try it now!
Hm nope, don't remember how I solved it. It has something to do with your folder structure and files you need to put together so it shows up on the add-on server, then you can just select "add my campaign" on the add-on screen at the bottom. NP i solved it myself by deleting the server.bp...
- March 29th, 2011, 9:42 am
- Forum: WML Workshop
- Topic: Going crazy help needed !
- Replies: 11
- Views: 1755
Re: Going crazy help needed !
how did you come up with the syntax you've used for [teleport]: http://wiki.wesnoth.org/DirectActionsWML#.5Bteleport.5D if you're using 1.9(.5?) you could use [tunnel]: http://wiki.wesnoth.org/DirectActionsWML#.5Btunnel.5D Still cant fix it on my own! I've used teleport before, but I've got tired o...
- March 29th, 2011, 7:55 am
- Forum: WML Workshop
- Topic: Going crazy help needed !
- Replies: 11
- Views: 1755
Going crazy help needed !
So i try to make a terrain become a "Portal" :annoyed: so that i can place my "Portals" directly in map editor The terrains are done So now all I've got to do is get the teleport code to work. #define TELE_TERRAIN_ON [event] name=moveto first_time_only=no [filter_location] terrai...
- March 29th, 2011, 7:17 am
- Forum: WML Workshop
- Topic: Couple of coding questions
- Replies: 5
- Views: 1690
Re: Couple of coding questions
Just found the game recently, and thought it would be fun to design a few things, bu i had a few questions about the coding 1) how do you make new abilities (ie. in BMR addon the scouts have dog trainer ability) 2) is there a list for movement types? or a place you can set your own movement types? ...