Giter VIP home page Giter VIP logo

cp2077_hiddenpackages's People

Contributors

lambdan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cp2077_hiddenpackages's Issues

further code clean up

even after stripping out creation mode, there's probably a lot of crap that can be taken out

reset progress + switch locations file bug

To reproduce:

  1. collect some "packages1" packages
  2. save (in-game)
  3. apply & load a different packages file ("test")
  4. collect 1 package from "test"
  5. apply & load "packages1" again
  6. reset progress for "packages1" (clearProgress())

(at this point, userData.collectedPackageIDs only contains 1 from "test")

  1. apply & load "test" again
  2. collected package spawns again CET overlay says 0 collected
  3. (collecting the package again puts it twice in collectedPackageIDs)

only spawn package when nearby, and despawn when far away

first need to make a function for figuring out nearest package

then after that just have a spawn when in range and despawn when out of range

spawning all packages at once has been going well so the range threshold can probably be pretty big

decide what to do with scary buttons

is possible to do through NativeSettings by like toggling a button or something, but it would be kinda janky.
honestly thinking i might just ditch them and hope no one wants to reset progress (or they could do it by removing their session file)

saving/loading doesnt work with JB third person mod (GameSession?)

i think its because we both use GameSession. if you have both mods loaded, and DEBUG mode enabled for this mod, you can see that userData collected gets set when loading a save as it should (it loads what packages are collected), but as soon as youre in game it gets set to 0 again (no packages collected). at the same time, you get a "JB mod loaded" message in the console.

packages are sometimes at an angle

probably due to this line: local transform = Game.GetPlayer():GetWorldTransform() in spawnObjectAtPos() ... i'm guessing its using V's rotation

decide what to do with the randomizer

honestly thinking i might just remove it and just have a separate script to generate files for performance testing. figuring out a way to determine if a package is reachable seems pretty impossible right now.

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.