Search found 10 matches
- June 13th, 2009, 3:23 am
- Forum: WML Workshop
- Topic: Need help creating custom trait
- Replies: 16
- Views: 3087
Re: Need help creating custom trait
The working solution is: [event] name=side turn first_time_only=no [store_unit] variable=light_burns [filter] [filter_wml] # Uncomment the modifications lines if you use a modification when creating the unit instead of defining the trait in the unit cfg file. # [modifications] [trait] id=photosensit...
- June 10th, 2009, 4:43 am
- Forum: WML Workshop
- Topic: Scenario story menu? Is this possible?
- Replies: 8
- Views: 1729
Re: Scenario story menu? Is this possible?
I think he means he wants the player to be able to decide their course on the world map and based on their choice they would follow a different route and play one of two or more possible scenarios.
- June 9th, 2009, 8:09 pm
- Forum: Add-on Feedback
- Topic: Invasion from the Unknown (legacy version)
- Replies: 109
- Views: 64766
Re: Invasion from the Unknown
I haven't finished the campaign yet but I have to say so far I really like it. I'm into about the fourth mission of the first episode. The only complaints I have is that some units don't have a defense frame set so they "disappear" when they get attacked. I could just set the unit image to...
- June 8th, 2009, 7:33 pm
- Forum: WML Workshop
- Topic: Need help creating custom trait
- Replies: 16
- Views: 3087
Re: Need help creating custom trait
Other problems: 1. the event should be side turn, not side_turn 2. photosensitive is a trait, not an ability. ((Edit: Er... actually, you were using an ability. I got confused because of the name of the thread. Still, I think that having it as a trait is more appropriate. If you want to keep in an ...
- June 7th, 2009, 11:21 pm
- Forum: WML Workshop
- Topic: Need help creating custom trait
- Replies: 16
- Views: 3087
Re: Need help creating custom trait
For some reason I can't figure out, it still doesn't do anything. The ability doesn't launch with the filters, and without them it only "works" for the leader unit, which starts on the map. For some reason recruited units with the ability aren't affected by it.
- June 7th, 2009, 2:29 am
- Forum: WML Workshop
- Topic: changing all terrain hexes a unit passes over
- Replies: 6
- Views: 1670
Re: changing all terrain hexes a unit passes over
That's a shame, cause it sounds like a really interesting idea.
- June 7th, 2009, 2:27 am
- Forum: WML Workshop
- Topic: Need help creating custom trait
- Replies: 16
- Views: 3087
Re: Need help creating custom trait
I don't know why, but it still doesn't work. For some reason, it seems like I can only get the ability to do nothing, or it works but ignores terrain and time of day. Does it matter that I'm testing this with 2p MP against the AI? I've also noticed that even though it's in the recruit list, the comp...
- June 6th, 2009, 11:12 pm
- Forum: WML Workshop
- Topic: Need help creating custom trait
- Replies: 16
- Views: 3087
Re: Need help creating custom trait
Still doesn't work but at least I'm getting closer: I finally figured out to make the ability trigger. Only problem is, it ignores terrain and time of day and triggers twice, once at the beginning and end of a turn. # wmllint: unbalanced-on #define ABILITY_PHOTOSENSITIVE # Unit will burn in direct s...
- June 6th, 2009, 1:07 am
- Forum: WML Workshop
- Topic: Need help creating custom trait
- Replies: 16
- Views: 3087
Re: Need help creating custom trait
Thanks, I'm actually working on it now. I tried using a modified version of the "feeds" ability, and the good news is that the game doesn't crash. The bad news is that the ability shows up and has a working description, but doesn't do anything. Here's what I've brainstormed so far: # wmlli...
- June 5th, 2009, 4:42 pm
- Forum: WML Workshop
- Topic: Need help creating custom trait
- Replies: 16
- Views: 3087
Need help creating custom trait
I want to create a unit specific trait that is dependent on both time of day and the terrain the unit is on. At the beginning of every turn where the unit is not stationed in a village or on Keep/Castle terrain, it loses a set amount of hit points, except for if time of day is Dusk or Night. I also ...