bugBattle for Wesnoth - Bugs: bug #16688, Support for [movement_costs] in...

 
 
Show feedback again

bug #16688: Support for [movement_costs] in [filter_radius]

Submitted by:  Lari Nieminen <zookeeper>
Submitted on:  Sun 12 Sep 2010 11:22:07 AM UTC  
 
Category: Feature RequestSeverity: 1 - Wish
Priority: 5 - NormalItem Group: WML
Status: NonePrivacy: Public
Assigned to: Patrick P <sapient>Open/Closed: Open
Release: trunkOperating System: all

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 12 Sep 2010 11:22:07 AM UTC, original submission:

While SLF's can already do almost anything, tasks like reliably finding out the exact movement/vision range of a unit or how many movement points are needed to reach a given location are still practically impossible. However, if [filter_radius] could take a [movement_costs] tag which would specify how many "points" it takes for the radius to expand to a given hex, these would become doable.

For example, this would store the farthest away locations that side 1 can reach (to attack):

As a simpler example, this SLF could be used to store the locations onto which overflowing lava should expand to, if you'd want it to expand twice as fast onto cave floor than onto rockbound cave:

Of course, the tag could be named [radius_costs] too. I'm assigning to Sapient since this is your area of expertise; feel free to unassign if you're not interested.

Lari Nieminen <zookeeper>
Project Member

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by zookeeper (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup