SpringTank | I should have mentioned wings3D as well, I do use it but it's lacking in features. | 01:14 |
---|---|---|
SpringTank | What I would really like is something that not only does the default boxes and whatnot, but also meshes, teleporters (and handles them correctly), texturing, zones, and drawinfo all in one program. | 01:16 |
SpringTank | but I don't think anything like that exists right now | 01:16 |
OkinaMatara | I recall something of a program like that existing at one point. | 01:17 |
OkinaMatara | I remember iBZEdit supporting mesh viewing, but not editing. | 01:17 |
blast007 | closest thing might have been the BZWTools plugin for Blender | 01:17 |
OkinaMatara | I'm not sure, but I know you could view meshes and textures in BZWorkbench, although for zones, I don't think so. | 01:18 |
blast007 | I have it archived here, but I doubt it will work in the recent versions of blender: https://static.bzexcess.com/downloads/BZWTools/ | 01:18 |
OkinaMatara | You may want to look at pyBZEdit, although for zones it does lack, IIRC. | 01:18 |
OkinaMatara | Same as the previous items I mentioned. | 01:19 |
OkinaMatara | What may also be considered is to simply title boxes with a "zone" prefix, as they behave the exact same way, except in the circular form. (If it exists.) | 01:19 |
blast007 | pyBZEdit does look somewhat promising | 01:20 |
Optic_Delusion | so does allejo's web-vzedit | 01:20 |
OkinaMatara | The windows version did work alright-ish, if I recall, but there was some issues with trying to get it to build with newer dependencies or something. | 01:20 |
OkinaMatara | (Regarding pybzedit.) | 01:21 |
SpringTank | -->What may also be considered is to simply title boxes with a "zone" prefix, as they behave the exact same way, except in the circular form. (If it exists.) | 01:21 |
SpringTank | that's what ive been doing. | 01:21 |
SpringTank | and i tried BZWTools, it doesn't work with modern blender and doesn't seem to even play nice with win7 :/ | 01:22 |
OkinaMatara | web-bzedit has basically has a lot of the features from all major bz-map editors. | 01:22 |
OkinaMatara | -->that's what ive been doing | 01:22 |
SpringTank | from the wiki "With the update of wxPython, it seems that the map viewing section of pyBZEdit is not compatible with the new version and therefore is not working. " | 01:23 |
SpringTank | :/ | 01:23 |
OkinaMatara | I know it isn't ideal, although its effects can be improved a bit by texturing those specific "zones". | 01:23 |
OkinaMatara | Wiki is dated and contains information with varying degrees of accuracy, some of it is questionable too. | 01:24 |
allejo | a pull request is welcome for web-bzedit to support zones. it's not that hard, the logic will practically be the same as a box | 01:30 |
SpringTank | ill be honest, I don't know what a pull request is or how to do one... | 01:49 |
allejo | :( | 02:02 |
allejo | a pull request is how you contribute code to open source projects. basically, you write code in your own copy of the project (called a fork) and then submit it to the original project saying, "hey look. here's my code adding this new feature!" | 02:03 |
blast007 | basic workflow. 1) fork a project on GitHub 2) In your fork, create a branch off the upstream branch you want to contribute to 3) Make changes, commit the changes, and push them back to your fork's branch 4) Submit a pull request | 02:08 |
SpringTank | ahh, i get it | 03:12 |
SpringTank | figured it was something like that. | 03:12 |
SpringTank | so if I fix a bug in bzflag I can subbmit a pull request for that? | 03:12 |
SpringTank | i mean, i know its possible, but would it be allowed? | 03:13 |
OkinaMatara | umm, yes. | 03:13 |
OkinaMatara | Maybe if it breaks compatibility, no, but in that case it may be suggested to be merged to master branch. | 03:14 |
OkinaMatara | a.k.a. future dev version of bzf. | 03:14 |
allejo | depends on the bug and how you'd fix it. i only say that because if it's a significant bug, you'd probably want to chat with us on *how* it should be fixed before you put effort into any heavy workloads | 03:14 |
SpringTank | right | 03:14 |
SpringTank | right | 03:14 |
allejo | but otherwise, bz welcomes pull requests :) | 03:14 |
SpringTank | A while back, a couple of months maybe, I fixed an issue with 2.4.22 so that it also checks the cache for downloaded sounds. Code here: https://pastebin.com/scjY3mLR | 03:16 |
SpringTank | all I did was add 3 lines and a comment to BzfMedia.cpp | 03:17 |
SpringTank | // try the cache... | 03:17 |
SpringTank | name = makePath(name, CACHEMGR.getLocalName(filename)); | 03:17 |
SpringTank | sound = doReadSound(name, numFrames, rate); | 03:17 |
SpringTank | if (sound) return sound; | 03:17 |
SpringTank | would something like that be acceptable? | 03:18 |
SpringTank | it was something i brought up to blast as well, he wanted to fix it for 2.6 though but I'm impatient. :D | 03:19 |
SpringTank | which is understandable. the way blast wanted to fix it was way better than my idea | 03:21 |
SpringTank | i don't know if he has worked on it though... | 03:32 |
SpringTank | if not, I would be happy to work on it myself. | 03:33 |
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has quit IRC (Quit: Quit.) | 04:36 | |
SpringTank | did my first pull request on someone else's parser they wrote a long time ago. It was a bug that added an extra byte when it wasn't supposed to. | 05:20 |
SpringTank | pretty cool | 05:20 |
allejo | hmm i have no qualms with a fix for that. however i don't know what concerns blast may have had, so we'll wait for him to chime in | 05:59 |
allejo | congrats on your first pull request :D | 05:59 |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 264 seconds) | 07:21 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 07:38 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer) | 08:20 | |
*** sean[m]1 <sean[m]1!~brlcadmat@2001:470:69fc:105::1ff> has quit IRC (Quit: You have been kicked for being idle) | 09:00 | |
blast007 | we're not adding the custom sound code "fix" to 2.4 | 09:54 |
blast007 | a more major refactoring of that code will be done for 2.6 | 09:54 |
BZNotify | bzflag: blast007 commented on pull request #291 "GitHub action to ensure BZFlag builds" by The-Noah (https://git.io/JMzpK): Our codeql-analysis.yml file already triggers a build on ubuntu-lat... | 10:30 |
BZNotify | bzflag: blast007 commented on issue #284 "Mouse cursor hidden when running fullscreen on Wayland" (https://git.io/JMged): There's a mention that this issue has been fixed:... | 10:49 |
BZNotify | bzflag: blast007 commented on issue #282 "Dual Monitors" by bluecoat58 (https://git.io/JMgvq): Please provide the version of BZFlag that you are using and let us ... | 10:50 |
SpringTank | what kind of features will it have and has work already been started on it? | 15:55 |
SpringTank | not 2.6 specificlly, the sound code is what I'm referencing. | 15:56 |
*** rodgort <rodgort!~rodgort@static.38.6.217.95.clients.your-server.de> has quit IRC (Ping timeout: 256 seconds) | 16:44 | |
*** cods <cods!~fred@82-65-232-44.subs.proxad.net> has quit IRC (Ping timeout: 256 seconds) | 16:45 | |
*** allejo <allejo!~allejo@user/allejo> has quit IRC (Ping timeout: 256 seconds) | 16:45 | |
*** rodgort <rodgort!~rodgort@static.38.6.217.95.clients.your-server.de> has joined #bzflag | 16:45 | |
*** allejo <allejo!~allejo@104.243.40.186> has joined #bzflag | 16:45 | |
*** ChanServ sets mode: +v allejo | 16:45 | |
*** cods <cods!~fred@82-65-232-44.subs.proxad.net> has joined #bzflag | 16:46 | |
blast007 | SpringTank: it should work largely the same as how it was originally intended | 17:16 |
blast007 | it will use the cache system and enforce the download URL to be something allowed in DownloadAccess.txt | 17:17 |
blast007 | plugins would register a custom sound during the init method | 17:18 |
blast007 | (so then there would be a short name associated with which sound to play) | 17:18 |
SpringTank | has it been implemented in 2.6 yet? if not I'll give it a throw | 17:19 |
blast007 | nope | 17:19 |
SpringTank | I'll see what I can come up with. | 17:20 |
blast007 | don't think I've pushed anything yet | 17:20 |
blast007 | but I have the start of the changes | 17:20 |
SpringTank | well based on current 2.4 code, it shouldn't take much if 2.6 works mostly the same way | 17:20 |
blast007 | it *works* mostly the same way but it isn't *implemented* the say way :) | 17:21 |
SpringTank | where is the 2.6 repo? | 17:21 |
blast007 | it's the master branch | 17:22 |
blast007 | it's technically the 2.5 version right now since it won't be 2.6 until we release | 17:22 |
blast007 | here's the early start of what I was doing: https://gist.github.com/blast007/54b1b9bb23ccef4f4820d859aa3c756e | 17:31 |
blast007 | MsgCustomSounds will tell the client what custom sounds are available, and it will download all of those. Idea is to send that during the join so it downloads them before or after textures. | 17:33 |
blast007 | MsgPlaySound replaces the old MsgCustomSound, since it can play both standard and custom sounds | 17:33 |
blast007 | and it will be expanded to support both local (in your tank) and world sounds | 17:34 |
blast007 | allejo: SpringTank's fix for 2.4 just added the cache directory to the search path for sounds, and then you'd have to put sound files as textures to get them to download into the cache | 17:37 |
blast007 | the existing code for fetching sounds tries to download them into the data directory of the game, which... is stupid | 17:37 |
blast007 | (also doesn't respect DownloadAccess.txt) | 17:37 |
blast007 | need to also write up some upgrade code to add resources.bzflag.org into the DownloadAccess.txt for existing installs | 17:38 |
blast007 | or I could pull a Microsoft and just forcefully whitelist our subdomains in the code :P | 17:40 |
allejo | hahahaha of course it'd try to download sounds into our own data/ directory | 18:03 |
allejo | i love it | 18:03 |
blast007 | it's probably part of why it was crashing some computers :) | 18:07 |
blast007 | crashing on some computers, that is | 18:07 |
allejo | would explain a lot | 18:13 |
blast007 | must have been that nobody tried the original implementation on an installed copy of the game, cuz that would have given a clear indication it didn't work on Windows and Linux, and maybe Mac | 18:21 |
blast007 | would have worked fine from your home directory :) | 18:22 |
blast007 | I'm sure when I was trying to find the crashing issue I was running it from a directory that my user could write to | 18:22 |
blast007 | first audio related thing I want to finish is fixing the pop sound | 18:30 |
blast007 | that's for 2.4 | 18:30 |
* allejo makes a popping noise with his mouth | 18:30 | |
allejo | that noise? | 18:31 |
blast007 | at least on most of my systems, when sounds play there's a little pop noise near the start of the sound | 18:31 |
blast007 | specifically for world sounds (so, other tanks shooting/exploding/etc), not sounds that come from your own tank | 18:32 |
blast007 | https://youtu.be/L3iCenGGF18?t=76 this is an example | 18:34 |
blast007 | the pops are actually a big part of why the video on the front page of bzflag.org is silent ;) | 18:38 |
SpringTank | ive noticed the pops as well on win7 | 18:52 |
blast007 | yeah, I had probably done all my original recordings for the front page video on either Windows 7 or 8.1 | 19:01 |
blast007 | but I'm also getting them on my linux machine | 19:02 |
SpringTank | lol | 20:34 |
SpringTank | don't know if it does it on linux though, i would have to check later | 20:34 |
Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!