Create account / Log in

area of effect

Issues with the Vassal engine.

Moderators: Tim M, uckelman

area of effect

Postby fatzech » May 1st, 2016, 2:24 pm

Don't know if this is specific to the module I am working with (warmachine and hordes module), but it has an option for an area of effect for certain models. This area of effect is centered on the model. I would like to have a similar area of effect but instead of it being a circle around the model I need it to be a semicircle that would also rotate with the model. Is this possible with vassal or would the module have to have it built into it?

I have looked for similar question on this forum and haven't found anything that was very close to what I was looking to do.

Thank you.
fatzech
 
Posts: 1
Joined: November 26th, 2015, 3:45 pm

Re: area of effect

Postby uckelman » May 2nd, 2016, 8:30 am

Thus spake fatzech:
> Don't know if this is specific to the module I am working with
> (warmachine and hordes module), but it has an option for an area of
> effect for certain models. This area of effect is centered on the model.
> I would like to have a similar area of effect but instead of it being a
> circle around the model I need it to be a semicircle that would also
> rotate with the model. Is this possible with vassal or would the module
> have to have it built into it?
>
> I have looked for similar question on this forum and haven't found
> anything that was very close to what I was looking to do.
>

The Area of Effect trait is what provides the shaded circle. To get
some other shape, you could write a Java class which subclass
AreaOfEffect, and then include that class in your module.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 1 guest