Giter Club home page Giter Club logo

Comments (8)

SamVanheer avatar SamVanheer commented on June 30, 2024

Looks like that might be a node graph issue. Stand in the tunnel and enter the cheat command impulse 197. See if the game shows beam effects. It should show beams going from each grunt's spawn point to other nodes and then out towards the turret area.

If it doesn't, delete the node graph for that map (the .nod file in maps/graphs) and try the map again.

The AI is almost 24 years old, that's just how it works. That can't be fixed without a complete rewrite, which is way out of scope.

from halflife-bs-updated.

Ronin4862 avatar Ronin4862 commented on June 30, 2024

Fortunately it didn't happen again after I typed "restart" then.
If it does happen again I'll try what you said.

If it doesn't, delete the node graph for that map (the .nod file in maps/graphs) and try the map again.

And the node graph would be rebuilt automatically after I start the game or do I have to reinstall BS-Updated?

from halflife-bs-updated.

SamVanheer avatar SamVanheer commented on June 30, 2024

Node graphs are automatically created if they don't exist, are older than the BSP file or if their version is older than the game's version.

from halflife-bs-updated.

Ronin4862 avatar Ronin4862 commented on June 30, 2024

It happened again. Deleting the node graph did nothing. Typing "restart" in the console and then loading my saved game again reset the AI.
https://youtu.be/OVz0pt3jbSg
https://youtu.be/3YyqEeiwabM

P.S. I must mention that I've rebuilt the dlls using your latest fix for the MP5 decals thing. Can this be the reason? Only this scene is affected. The AI in other scenes seems fine.
One other weird thing I noticed is after I get killed on the other side of the tunnel were the tank is, when the autosave kicks in, the left mouse button is unresponsive for about 1 second.

from halflife-bs-updated.

SamVanheer avatar SamVanheer commented on June 30, 2024

Impulse 197 should have shown connections in that tunnel. If there aren't any then the AI may be failing to find paths.

I haven't been able to reproduce the problem, though i have noticed NPCs misbehaving sometimes.

If you can find a way to reproduce the issue with unmodified Updated dlls then i can reproduce it and isolate the cause.

As for the mouse issue that's handled by the engine. There's probably an edge case that causes it to send mouse input to the main menu instead of the game. Nothing i can do about it, in any case.

from halflife-bs-updated.

Ronin4862 avatar Ronin4862 commented on June 30, 2024

If you can find a way to reproduce the issue with unmodified Updated dlls then i can reproduce it and isolate the cause.

It happens only when I load a saved game that was saved while using a previous set of client.dll and hl.dll

To recap:

  1. I used HLBSU beta 9 when I made the original save
  2. You fixed the MP5 decals bug and then I built client.dll and hl.dll from your code.
  3. This bug started to appear whenever I loaded that save (and it seems other saves aswell, such as Rosenberg in front of the old lab elevator entrance and not triggering his speech about his plans and refusing to follow you). BUT, whenever I've typed "restart" or replayed the map using "map xxxx" in the console everything worked fine.

I know you said saved games no longer work between releases, but in this particular case, in which I wanted to check you, the only solution was to build and replace the dlls that came with your Beta 9 with the code you released after fixing the MP5.

What I don't understand is why something so minor as fixing some weapon decals can break the AI of the entire game when loading a saved game.

You can close the issue Sam.

from halflife-bs-updated.

SamVanheer avatar SamVanheer commented on June 30, 2024

What I don't understand is why something so minor as fixing some weapon decals can break the AI of the entire game when loading a saved game.

It's probably because of this change:
twhl-community/halflife-updated@efacee0

This removed 2 fields from save/restore, so some save game data won't be interpreted correctly.

This is why i said that save games aren't compatible across commits. Any change can break them.

I'd suggest deleting all save games when using a new beta or making a new build yourself to avoid this in the future.

from halflife-bs-updated.

Ronin4862 avatar Ronin4862 commented on June 30, 2024

I'd suggest deleting all save games when using a new beta or making a new build yourself to avoid this in the future.

Not just after a new beta; after every new commit.
Having saved games helped me in the past to isolate specific issues and then report them to you.

99% percent of the time you find bugs just by playing and not looking for something specific. And when you play you save your game.

Whenever I'll find a new issue while casually playing I will double check by replaying the map again from zero (map xxx in the console).

from halflife-bs-updated.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.