Unvanquished Development activity

Events from:

Unvanquished
Unvanquished
Tuesday, 03 December 2024
@sweet235 sweet235 opened Unvanquished/Unvanquished#3222 · December 3, 2024 18:55
NUKE default_aliens.bt, default_humans.bt #3222

That is a good thing to do. They are not that long anymore. Beside that, there is code duplication between them and default.bt.

+128 -139
@sweet235 sweet235 commented on Unvanquished/Unvanquished#3092 · December 3, 2024 17:22

I will merge this in a day or two if nobody objects.

@kd72004 kd72004 forked kd72004/Unvanquished from Unvanquished/Unvanquished · December 3, 2024 15:47

An FPS/RTS hybrid game powered by the Daemon engine (a combination of ioq3 and XreaL)

C++ 993 Updated Dec 3

@sweet235 sweet235 commented on Unvanquished/Unvanquished#3092 · December 3, 2024 14:58

We must squash this.

@slipher slipher merged DaemonEngine/Daemon#1453 · December 3, 2024 14:56
Fix MD3 with r_vboModels 0 #1453

Make MD3 models appear (and have normal mapping) when r_vboModels is disabled.

+1 -1
@slipher slipher pushed to DaemonEngine/Daemon · December 3, 2024 14:56
1 commit to master
  • @slipher 58a11b1
    Fix MD3 with r_vboModels 0
@Grise3 Grise3 commented on Unvanquished/Unvanquished#3092 · December 3, 2024 13:23

it is now out of the "if" and, I replaced spaces by tabs

@Grise3 Grise3 commented on Unvanquished/Unvanquished#3092 · December 3, 2024 13:13

this time, it is good !

@sweet235 sweet235 opened Unvanquished/Unvanquished#3221 · December 3, 2024 10:57
fix g_bot_traceClient not showing the name of the outermost behavior tree #3221

To reproduce the bug, enter these commands: bot add GigaGrise h 5 defend g_bot_traceClient GigaGrise The output is: [bot] Bot#1 running at <unknow…

+1 -1
@sweet235 sweet235 commented on Unvanquished/Unvanquished#3210 · December 3, 2024 10:23

This uses Recast's poly flag filter instead of making a new navmesh I tried this initially, but got lost and gave up.

@Grise3 Grise3 commented on Unvanquished/Unvanquished#3092 · December 3, 2024 10:13

Eeeh ?? I will take a look at that today

@Grise3 Grise3 commented on Unvanquished/Unvanquished#3092 · December 3, 2024 10:12

It's getting close to being ready! I hope so ^^ I'll try to correct the code today.

@slipher slipher commented on Unvanquished/Unvanquished#3213 · December 3, 2024 09:54

I see. I have the screenshots from when I (attempted to) test this patch with that map and they are correct... must have made some mistake with bui…

@VReaperV VReaperV commented on Unvanquished/Unvanquished#3213 · December 3, 2024 09:49

By looking at the code. I see selectedTex having its values set only where it is declared.

@slipher slipher commented on DaemonEngine/Daemon#528 · December 3, 2024 09:44

An API for checking whether an image exists doesn't mesh so well with our other stuff because there is no API for loading an image, only for loading

@slipher slipher pushed to Unvanquished/Unvanquished · December 3, 2024 09:38
2 commits to master
  • @slipher acc71a8
    When loading levelshots fall back to Trem's old path
  • @slipher 1849668
    Delete unused RMLUI 'data formatters'
@slipher slipher commented on Unvanquished/Unvanquished#3213 · December 3, 2024 09:37

Do you mean based on inspecting the code or looking at it in a debugger? If the latter, it's because the only known map build using the feature is h…

@slipher slipher commented on Unvanquished/Unvanquished#3214 · December 3, 2024 09:32

I would prefer ${levelshot} or something like that with an ending markup to remove any ambiguity on the length of the name of the pseudo-variable. …

@slipher slipher commented on Unvanquished/Unvanquished#3189 · December 3, 2024 09:31

I looked up the LUA_32BITS documentation and it is not something we should be using. I guess the jury's still out on whether we will be able to b…

@VReaperV VReaperV commented on Unvanquished/Unvanquished#3204 · December 3, 2024 09:13

Technically, I think we also don't check that life - delay > 0, so it could be negative, but that shouldn't be a valid particle system. Doing that …

@VReaperV VReaperV commented on Unvanquished/Unvanquished#3204 · December 3, 2024 09:06

It looks like ( cg.time - birth + delay ) / (float) diff can be > 1.0. E. g: life = 10; delay = 3, start at cg.time = 0, then at cg.time = 8: diff …

@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 3, 2024 09:00
2 commits to illwieckz/catch-0div
  • @illwieckz 4993a7f
    cmake: add USE_FAST_MATH to enable or disable fast math
  • @illwieckz 33182d4
    cmake: add USE_DEBUG_FPE to enable floating point exceptions
@slipher slipher commented on Unvanquished/Unvanquished#3213 · December 3, 2024 08:48

It can't be greater than 1, and if it is less than 0 it will not be greater than the previous selected weights.

@VReaperV VReaperV commented on Unvanquished/Unvanquished#3213 · December 3, 2024 08:38

These seem to always be 0 at this point.

@VReaperV VReaperV commented on Unvanquished/Unvanquished#3213 · December 3, 2024 08:33

Why is the clamp no longer there?

@illwieckz illwieckz commented on Unvanquished/Unvanquished#3204 · December 3, 2024 08:25

This code will be obsoleted by: #3213

@illwieckz illwieckz commented on Unvanquished/Unvanquished#3204 · December 3, 2024 08:25

This code will be obsoleted by: #3213 The code was doing that before, but without a division by zero for free. I don't know what this code does.

@illwieckz illwieckz commented on Unvanquished/Unvanquished#3204 · December 3, 2024 08:24

This code will be obsoleted by: #3213

@VReaperV VReaperV commented on Unvanquished/Unvanquished#3204 · December 3, 2024 08:05

Extraneous whitespace.

@VReaperV VReaperV commented on Unvanquished/Unvanquished#3204 · December 3, 2024 08:04

Why is this needed now?

@VReaperV VReaperV commented on Unvanquished/Unvanquished#3204 · December 3, 2024 08:00

Why not do the divisions here?

@illwieckz illwieckz commented on Unvanquished/Unvanquished#3214 · December 3, 2024 07:51

Hmm, at the time I said: In that specific case I'm fine with the warning since I already want to print a warning that the default path is not foun…

@illwieckz illwieckz commented on Unvanquished/Unvanquished#3214 · December 3, 2024 07:49

I had this that avoided a warning but that required an engine change: #1512

@slipher slipher commented on Unvanquished/Unvanquished#3210 · December 3, 2024 07:47

If I tried to "iteratively improve" it later, people would just complain that I'm breaking compatibility with the navcons. I'm guessing no one has …

@illwieckz illwieckz pushed to Unvanquished/Unvanquished · December 3, 2024 07:44
2 commits to illwieckz/div0
@illwieckz illwieckz commented on Unvanquished/Unvanquished#3204 · December 3, 2024 07:42

So, I took the opportunity to do extra research on some underflow or to investigate the model bug, but this PR looks ready to me.

@illwieckz illwieckz commented on Unvanquished/Unvanquished#3210 · December 3, 2024 07:41

I recommend merging this initially as it has had significant testing. we can test/review the refactored version once it has undergone similar testing

@DolceTriade DolceTriade commented on Unvanquished/Unvanquished#3210 · December 3, 2024 07:39

Testing on a branch that has dozens of bot commits that diverge from ours. They are being upstreamed as well as far as I can tell. We should focu…

@slipher slipher commented on Unvanquished/Unvanquished#3210 · December 3, 2024 07:38

I recommend merging this initially as it has had significant testing. Testing on a branch that has dozens of bot commits that diverge from ours.

@DolceTriade DolceTriade commented on Unvanquished/Unvanquished#3210 · December 3, 2024 07:36

I recommend merging this initially as it has had significant testing. we can test/review the refactored version once it has undergone similar testing

@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 3, 2024 07:36
2 commits to illwieckz/compiler-string/sync
  • @illwieckz fa99863
    framework: report which compiler was used to build the game
  • @illwieckz 3807719
    cmake: make possible to use PCH with compilers with subcommands
  • 3 more commits »
@slipher slipher commented on Unvanquished/Unvanquished#3210 · December 3, 2024 07:34

I've made a de-hacked version at the branch slipher/jetpack-navcon. This uses Recast's poly flag filter instead of making a new navmesh. To use it,…

@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 3, 2024 07:34
2 commits to illwieckz/compiler-string/sync
  • @illwieckz 83a643f
    cmake: make possible to use PCH with compilers with subcommands
  • @illwieckz f988677
    framework: report which compiler was used to build the game
  • 3 more commits »
@sweet235 sweet235 commented on Unvanquished/Unvanquished#3210 · December 3, 2024 06:29

I'm very excited about it! 🤸‍♀️️ So am I. What would be the cost of adding a PCL_HUMAN_JETPACK? At least the hack would be properly named. I do…

@sweet235 sweet235 commented on Unvanquished/Unvanquished#3210 · December 3, 2024 06:20

Use this file forlorn-human_light.navcon: One method to test this is by using this layout: eggpod 928.000000 4960.000000 255.125000 0.000000 180.…

@illwieckz illwieckz commented on DaemonEngine/Daemon#982 · December 3, 2024 06:09

My first purpose is to have the information in daemon.log. Let's take the model bug as an example: someone reports distorted models when he builds …

@slipher slipher commented on DaemonEngine/Daemon#982 · December 3, 2024 05:53

Still don't believe it's worth adding +500 lines of code just to print a compiler version string. Not worth the increase in complexity. I don't kno…

@illwieckz illwieckz commented on DaemonEngine/Daemon#982 · December 3, 2024 05:39

Someone claimed that the results you get for this depend on the version you put in cmake_minimum_required and will be according to the documentati…

@illwieckz illwieckz commented on DaemonEngine/Daemon#982 · December 3, 2024 05:14

At the risk of throwing additional fuel on the fire... We could use https://github.com/sbellus/json-cmake to output JSON so the parsing could beco…

@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 3, 2024 05:10
2 commits to illwieckz/compiler-string/sync
  • @illwieckz 698436a
    cmake: make possible to use PCH with compilers with subcommands
  • @illwieckz eafd7ac
    framework: report which compiler was used to build the game
  • 3 more commits »
@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 3, 2024 05:03
2 commits to illwieckz/compiler-string/sync
  • @illwieckz 5684640
    cmake: make possible to use PCH with compilers with subcommands
  • @illwieckz 07c20f1
    framework: report which compiler was used to build the game
  • 3 more commits »
@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 3, 2024 05:00
2 commits to illwieckz/compiler-string/sync
  • @illwieckz c1bc587
    cmake: make possible to use PCH with compilers with subcommands
  • @illwieckz 4df9d3d
    framework: report which compiler was used to build the game
  • 3 more commits »
@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 3, 2024 04:52
2 commits to illwieckz/compiler-string/sync
  • @illwieckz 3133da2
    cmake: make possible to use PCH with compilers with subcommands
  • @illwieckz c06c463
    framework: report which compiler was used to build the game
  • 2 more commits »
@illwieckz illwieckz pushed to Unvanquished/Unvanquished · December 3, 2024 04:34
2 commits to illwieckz/compiler-string/sync
@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 3, 2024 04:34
2 commits to illwieckz/compiler-string/sync
@slipher slipher deleted branch slipher/ignorebuild in Unvanquished/Unvanquished · December 3, 2024 04:32
@slipher slipher closed an issue in Unvanquished/Unvanquished · December 3, 2024 04:32
all file names starting with "build" are globally ignored in .gitignore #3217

I tried to add a file pkg/unvanquished_src.dpkdir/bots/build.bt. But that file would be ignored by git, as would build_now_please.bt. Yet I believe b…

@slipher slipher closed an issue in Unvanquished/Unvanquished · December 3, 2024 04:32
all file names starting with "build" are globally ignored in .gitignore #3217

I tried to add a file pkg/unvanquished_src.dpkdir/bots/build.bt. But that file would be ignored by git, as would build_now_please.bt. Yet I believe b…

@slipher slipher pushed to Unvanquished/Unvanquished · December 3, 2024 04:32
1 commit to master
  • @slipher e56f233
    gitignore build only at top level
@slipher slipher merged Unvanquished/Unvanquished#3219 · December 3, 2024 04:32
+1 -1
1 comment
@slipher slipher commented on Unvanquished/Unvanquished#3092 · December 3, 2024 04:30

G_SayTo was already done inside the if expression 5 lines up so it doesn't need to be done again. Also the preceding lines are indented with spaces…

@slipher slipher commented on Unvanquished/Unvanquished#3092 · December 3, 2024 04:28

The "You would have replied to" message is still there.

@slipher slipher closed an issue in Unvanquished/Unvanquished · December 3, 2024 03:54
Human corpses don't retain their equipment #3220

When you die, although you retain your equipment while the death animation is playing, once that is finished, you have no equipment attached, for e…

1 comment
@illwieckz illwieckz commented on Unvanquished/Unvanquished#3210 · December 3, 2024 01:47

I'm very excited about it! 🤸‍♀️️ What would be the cost of adding a PCL_HUMAN_JETPACK? At least the hack would be properly named.

Unvanquished
Unvanquished
Monday, 02 December 2024
@sweet235 sweet235 commented on Unvanquished/Unvanquished#3210 · December 2, 2024 19:26

Do you have a sample navcon for us? Use this file forlorn-human_light.navcon: navcon 3 -318 239 2780 -342 98 2923 50 1 63 0 -211 144 2830 -94 98 …

@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 2, 2024 18:08
2 commits to illwieckz/catch-0div
  • @illwieckz f05b27f
    cmake: add USE_FAST_MATH to enable or disable fast math
  • @illwieckz ad7b69c
    cmake: add USE_DEBUG_FPE to enable floating point exceptions
@cu-kai cu-kai opened an issue in Unvanquished/Unvanquished · December 2, 2024 13:54
Human corpses don't retain their equipment #3220

When you die, although you retain your equipment while the death animation is playing, once that is finished, you have no equipment attached, for e…

@illwieckz illwieckz commented on DaemonEngine/Daemon#1312 · December 2, 2024 13:21

Disabling SSE doesn't fix the GCC 14 bug, so that's a different bug than the Clang one.

@illwieckz illwieckz commented on DaemonEngine/Daemon#1452 · December 2, 2024 13:16

I confirm that I get no bug when combining: an engine built with either Clang 19.1.5 or GCC 14.2.0, a nexe game built with either PNaCl 3.6.0 or S…

@illwieckz illwieckz commented on DaemonEngine/Daemon#1452 · December 2, 2024 13:06

I confirm it fixes the bugs with Clang 19 from: #1312 But it doesn't fix the bugs with GCC 14.

@slipher slipher opened DaemonEngine/Daemon#1453 · December 2, 2024 12:46
Fix MD3 with r_vboModels 0 #1453

Make MD3 models appear (and have normal mapping) when r_vboModels is disabled.

+1 -1
@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 2, 2024 11:30
2 commits to illwieckz/catch-0div
  • @illwieckz d879bc0
    cmake: add USE_FAST_MATH to enable or disable fast math
  • @illwieckz 19d8753
    cmake: add USE_DEBUG_FPE to enable floating point exceptions
@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 2, 2024 11:20
2 commits to illwieckz/catch-0div
  • @illwieckz cab9c8b
    cmake: add USE_FAST_MATH to enable or disable fast math
  • @illwieckz f65b6bb
    cmake: add USE_DEBUG_FPE to enable floating point exceptions
@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 2, 2024 11:18
2 commits to illwieckz/catch-0div
  • @illwieckz 7633472
    cmake: add USE_FAST_MATH to enable or disable fast math
  • @illwieckz 499b159
    cmake: add USE_DEBUG_FPE to enable floating point exceptions
@illwieckz illwieckz commented on DaemonEngine/Daemon#1451 · December 2, 2024 11:08

I have not tested the Apple and MSVC code.

@sweet235 sweet235 merged Unvanquished/Unvanquished#3218 · December 2, 2024 11:08
add BT files build.bt, subroutine_become_builder_*.bt #3218

The behavior build is similar to default, but makes a bot build at all costs if possible. This is useful to players alone in a team, who do not hav…

+314 -54
1 comment
@sweet235 sweet235 pushed to Unvanquished/Unvanquished · December 2, 2024 11:08
1 commit to master
  • @sweet235 cf0b00a
    add BT function distanceToSpecifiedPosition, BT files build.bt, build…
@illwieckz illwieckz opened DaemonEngine/Daemon#1451 · December 2, 2024 11:05
Add `USE_DEBUG_FPE` to enable floating point exceptions #1451

Add USE_DEBUG_FPE to enable floating point exceptions (disabled by default) Add USE_DEBUG_FPE to enable or disable fast math (enabled by default) c…

+124 -2
@illwieckz illwieckz pushed to DaemonEngine/Daemon · December 2, 2024 11:05
2 commits to illwieckz/catch-0div
  • @illwieckz cab9c8b
    cmake: add USE_FAST_MATH to enable or disable fast math
  • @illwieckz f65b6bb
    cmake: add USE_DEBUG_FPE to enable floating point exceptions
@illwieckz illwieckz created a branch in DaemonEngine/Daemon · December 2, 2024 11:03
@sweet235 sweet235 commented on Unvanquished/Unvanquished#3215 · December 2, 2024 07:59

[...] we could add a command that dumps the result of running the "C preprocessor" on the BT file. This would require a lot less code than showBeh…

@illwieckz illwieckz commented on Unvanquished/Unvanquished#3204 · December 2, 2024 07:01

I reported the false positive divisions by zero exceptions on clang here: llvm/llvm-project#118265

Unvanquished
Unvanquished
Sunday, 01 December 2024
@Grise3 Grise3 commented on Unvanquished/Unvanquished#3216 · December 1, 2024 22:58

Ooouuuuééééé!

@DolceTriade DolceTriade merged Unvanquished/Unvanquished#3216 · December 1, 2024 21:42
make the "Show obituaries" checkobx aligned with the others #3216

All in the title make the "Show obituaries" checkobx aligned with the others it is now in a different row, wich make them aligned

+2 -0
2 comments
@DolceTriade DolceTriade pushed to Unvanquished/Unvanquished · December 1, 2024 21:42
1 commit to master
  • e0bc9a1
    make the "Show obituaries" checkobx aligned with the others
@sweet235 sweet235 commented on Unvanquished/Unvanquished#3218 · December 1, 2024 17:36

I added another behavior build_here.bt. It makes the bot build at a user specified postition, which is set automatically by /tactic build_here 1.

@Grise3 Grise3 commented on Unvanquished/Unvanquished#3092 · December 1, 2024 10:37

oh. I don't think that it is a good idea. Well, this is the usage. It just say "how to use the command"

@Grise3 Grise3 commented on Unvanquished/Unvanquished#3092 · December 1, 2024 10:33

I think it is better to repeat the message back to the sender :) like with /m in fact : Private message: [the message]

@sweet235 sweet235 opened Unvanquished/Unvanquished#3218 · December 1, 2024 09:35
add BT files build.bt, subroutine_become_builder_*.bt #3218

The behavior build is similar to default, but makes a bot build at all costs if possible. This is useful to players alone in a team, who do not hav…

+184 -54
@sweet235 sweet235 opened an issue in Unvanquished/Unvanquished · December 1, 2024 09:25
all file names starting with "build" are globally ignored in .gitignore #3217

I tried to add a file pkg/unvanquished_src.dpkdir/bots/build.bt. But that file would be ignored by git, as would build_now_please.bt. Yet I believe b…