Giter VIP home page Giter VIP logo

Comments (3)

Lexx2k avatar Lexx2k commented on September 14, 2024

Leaving an encounter map without the car would mean that it gets deleted. So the real question is, why would you even want to do that.

from sfall.

blackpaulillyria avatar blackpaulillyria commented on September 14, 2024

Leaving an encounter map without the car would mean that it gets deleted. So the real question is, why would you even want to do that.

I am developing a driving system for Fallout Yesterday where you can drive, abandon or switch between 7 different vehicles. This is the last bug that I have for the system to be finished and I can't find a proper workaround for it.

Also, I see now that the car is given to the player even if the combat has ended on a random encounter.

from sfall.

blackpaulillyria avatar blackpaulillyria commented on September 14, 2024

OK, I found some kind of a workaround, it's not perfect but it might do for now.
When the player abandons the car on a random encounter and exits, I set fuel to 0. This then makes the engine set wmGenData.isInCar to false as soon as I start to travel which fixes my issue and I continue traveling on foot.

Side effect is that "Car Outta Gas" area also gets displayed because of this, which I don't want, but I can handle that using global scripts.

from sfall.

Related Issues (20)

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.