Jump to content


WFG Retired
  • Posts

  • Joined

  • Last visited

  • Days Won


stwf last won the day on April 27 2013

stwf had the most liked content!

About stwf

Profile Information

  • Gender
  • Location
    Stony Brook, NY
  • Interests
    Computing, Yoga
  • Badges
    Donator Indiegogo

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

stwf's Achievements


Sesquiplicarius (3/14)



  1. Hello All, Sorry for my prolonged absence. I'l be getting back into the programming thing in the new year. Its good to hear all of this oniterest in the sound stuff. I'll try and explain some thing as easily as I can. I'll also be writing up a short description of how the sound stuff works. Some of it is counterintuitive but it explains a lot of why we do things the way we do. Currently the sound system will locate a sound source so when listening in stereo sounds from the righ of the screen come out of tthe right speaker. My issue with the battle intensity sounds is that this would largely eliminate that. and I think it would be bad. I believe if we had formations, and could easily locate a group of fighters to one area, it would then make sense to have one sound for 10 archers firing instead of playing 10 singe arrow shots at one time. But otherwise we lose a lot unless we introduce some complicated method of grouping and locating similar fighters. Of course we need to be very careful not to do anything that takes too long. This code would need to be executed every frame. I have always worked to keep the computation time to a minimum there. Also note that the current code does alter the pitch, volume and frequency for most sounds randomly. This is in addition to the 10 or sos sounds there are for a sword clank. These also get used in a random order and have their volumes and pitches altered randomly. I think it is important to remember this is a game. The sounds should first serve the game, making sure to alert the player of important events, and not serve to confuse them with too many sounds. It would be nice if in addition to that everything sounded like a hollywood movie battle scene, but playability should come first. Please feel free to ask any questions. I'll try to be in IRC more too. Let me know if there is a good time and I can try to be online.
  2. ok, I checked my fixes for this upgrade into main trunk. It just makes things so much easier. I did incorporate the suggestions you made on the first batch.
  3. So by support you are saying that switching over to SDL 2.0 may not be that hard? In that case maybe I will look at it (if you don't mind) as part of the Android move. Who knows how many odd issues it may clear up...
  4. I think that can be fixed by editing the appropriate XML file and turning on eOmnipresent if you want it to play at the listener location, or turning on eDistanceless and it is played at a location, but at full volume.
  5. OK, thread resurrected! My Ouya has just shipped, I should be getting it in the next week -> month lol. At that point I'm going to try and build this. http://www.ouya.tv/ This may also be a good chance to upgrade to SDL2.0 which is still a WIP but their timeline seems to roughly jive with the amount of time the port will take. Anyone with some Android expertise / interest who wants to stay in the loop on this let me know. OF course I'll post here when I am successful. Defeat is not an option!
  6. hmm, ok I'll take a look. I'm guessing the next track does play fine? Are there any sound problems (besides the error message) I was waiting on this since the sound code got a big upgrade. I'll take a look again. Is there a ticket for this?
  7. I think its time the game got a working preferences system, so I don't have to keep editing default.cfg. Does this work on any platforms? A good start would be having our current settings dialog box remember its settings. Then probably adding some better options to the dialog box. Apologies if this is my error or a Mac issue.
  8. Hi, sorry haven't been on IRC the last few days. I do believe we mean to put some indication on the minimap when someone is attacked, or dies. Which is the best way to handle this. But maybe some sort of rolloff for far away deaths isn't a bad idea. Right now sounds are marked as distanceless, meaning they are played even if they are far off screen. But maybe they still could be played at lower volume. Right now the Sound code doesn't do many distance measurements, its more concerned with whether stuff is on screen or not.
  9. No problem! It actually made my code much simpler, so I'm glad to have them in there... I'll incorporate all of your suggestions soon, although I may let you work through it a little more on your own so I get all of the fixes at one time ;-) In my case its best since the SoundManager will also be nil if the game was compiled without audio support, or if the user disables music from the settings menu during a game. So its a case I always have to deal with.
  10. Hoi, Just thought I'd post this link I found concerning an indie game currently being developed. It looks pretty cool and the guys blog has some good posts, especially one concerning pathfinding. I don't know if it applies to us, but I thought it interesting none the less. It shows the pitfalls you face trying to optimize things like this. http://www.shiningrocksoftware.com/?p=901
  11. Hi, sorry for the delay, I missed this somehow... https://github.com/stwf/0ad/tree/spidermonkey Is the link to the branch, I think any bugs in it now already existed.....
  12. hmm, no you just have to wait for the son to end, then there is a 15 second pause. Then a new one begins, or the same one plays again if that civ only has one song. So btw what map is it you are playing? Does it happen on others?
  13. Thanks. but timing it isn't necessary. Is it happening while the game is changing songs? That does happen every few minutes...
  14. ok, thanks. Is there anything specific thats going on when you see the warning? Does it happen always, does it happen in large bursts or just once in a while? Thanks for the help in tracking this down!
  • Create New...