Search found 8 matches

by Varthonai
November 22nd, 2007, 9:37 pm
Forum: Coder’s Corner
Topic: Color Changes and Status
Replies: 14
Views: 7962

And the corresponding code is in /src/unit.cpp , in the unit::redraw() method if he is still interested. Moving back to WML Workshop as per... request. That's actually all I was really looking for here. Thnx, it's the most effective method for me thus far. Glad that there are plans for WML implemen...
by Varthonai
November 12th, 2007, 10:16 pm
Forum: Coder’s Corner
Topic: Color Changes and Status
Replies: 14
Views: 7962

Well, that would be helpful if I wanted the color to be set to green. But as I said in my original post, it would be better if it were red. (Also, the unit would lose 8 hp per turn if I did that, and I don't want it to.)
by Varthonai
November 11th, 2007, 9:43 pm
Forum: Coder’s Corner
Topic: Color Changes and Status
Replies: 14
Views: 7962

Color Changes and Status

Where exactly is the code that causes a unit with status poisoned=yes to turn green and display the little green skull icon? Or to make a unit translucent when it has status hidden=yes ? I'm trying to make a weapon special that has a slightly different effect on HP and turns the unit red instead of ...
by Varthonai
October 5th, 2007, 11:32 pm
Forum: Multiplayer Development
Topic: AIs: Ideas for how to fix this AI problem?
Replies: 1
Views: 1060

AIs: Ideas for how to fix this AI problem?

It's starting to annoy me that the AI does not have a clue how to respond to units with Ambush or Nightstalk, or any other ability that makes units hide. I once fought the AI while playing Rebels, and it was Northerners; I retreated a Wose who had only 5HP left from its battle with a Goblin Knight, ...
by Varthonai
April 29th, 2007, 9:48 pm
Forum: WML Workshop
Topic: Modifying "Abilities"
Replies: 3
Views: 1730

Modifying "Abilities"

I'm teaching myself WML (although I'm still very new) and I'm having some trouble modifying abilities. The particular ability I want to make is a Weapon Special ability that will do damage to the player and all adjacent units (similar to the Explosive Bag in DotG, except it can be used indefinitely ...
by Varthonai
April 18th, 2007, 12:11 am
Forum: Technical Support
Topic: "Units" Folder can't be modified
Replies: 3
Views: 1188

Problem solved. I copied the entire Wesnoth folder and pasted it in a different location.

I'm not quite sure why that worked, but I'm not about to complain. Thanks for the help!
by Varthonai
April 17th, 2007, 10:57 pm
Forum: Technical Support
Topic: "Units" Folder can't be modified
Replies: 3
Views: 1188

I actually already tried that. I'm the sole admin of my laptop and I have permission to read and write everything. I'm pretty sure I tried all the obvious solutions before coming here. I even used Terminal to try removing all restrictions on file modification. The slashed-pencil "Unmodifiable&q...
by Varthonai
April 14th, 2007, 9:24 pm
Forum: Technical Support
Topic: "Units" Folder can't be modified
Replies: 3
Views: 1188

"Units" Folder can't be modified

Hi, I've been playing the standard campaigns and add-on campaigns for a few months now without a problem. But now I'm trying to make my own campaign, with a few custom units, and when I create a new unit it can't be saved in the "Units" data folder without getting this error message: "...