UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Feature request #3990 Better method assign footstep sounds to textures
action_vote_minus_faded.png
1
Votes
action_vote_plus_faded.png
Go to the next issue (open or closed)
Go to the next open issue
mattn (@tlh2000) has been working on this issue since January 28, 2013 (20:49)
Issue basics
  • Type of issue
    Feature request
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Waiting
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Complexity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/feature-requests/506 Item 506] imported from sourceforge.net tracker on 2013-01-28 20:22:06

Assign footstep sounds to textures is most inconvenient at the moment. Why not assign textures to material groups (wood,dirt,water,stone etc.) and set the
footstep sounds for these grps and not for every single texture?

For example the Materials.ufo (Naming the file materials.ufo provides clarification it is usable for other things we might add later to the game (e.g. impact sounds, particle effects ...)) looks like this:


// Wood Footstep Sounds

wood {
footsteps/wood1
footsteps/wood2
footsteps/wood3
footsteps/wood4
}

// Stone Footstep sounds

stone {
footsteps/stone1
footsteps/stone2
footsteps/stone3
footsteps/stone4
}

and the textures.ufo like this:

// Wood Textures

wood {
tex_buildings/floor001
tex_ctp1/wood_b_10
tex_misc/wood_palet
...
}

// Stone Textures

stone {
tex_buildings/concrete001
tex_buildings/concrete005
tex_buildings/concrete007
tex_buildings/floor_se01
...
}
===== Comments Ported from Sourceforge =====

====== mcr2010 (2011-06-22 09:18:41) ======

Good idea. I support that one.
And btw., ufo2map could set the footstep flags automatically instead of the mapper having to do it - after all the information about which tiles are passable is available, so there should be an automatic mode to also assign the footstep flag to those faces automagically...
====== mcr2010 (2011-08-02 09:45:36) ======

footstepper.sh is still working - this tool attaches textures with footstep flag to terrain.ufo automatically.

So the first step here should be the automatization of footstep flagging'of the map files - maybe ufo2map can do it ( the information which tiles are walkable is generated in the bsp afaik, used for the overlay in UFORadiant for example) ;)

Or UFORadiant could add the flags automagically via button (like the overlay) if a compiled version of the loaded map and therefore the overlay are available...

In a second step (after all map files are flagged) we could then run footstepper.sh, to get an actual update of terrain.ufo.

In a subsequent step the grouping system should be engineered, the footstepper.sh script does not need to be changed as the textures found by it have to be assigned manually to a group anyway.
====== tlh2000 (2012-09-28 11:54:53.992000) ======

what if a mapper would like to assign a particular sound to a texture - and what if some sounds do not match the texture. and maintaining a textures.ufo file is not that good (extract maintaining act) - reorganizing the textures folders to do this automagically would be better
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif