Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reward mod #16

Merged
merged 2 commits into from
Dec 26, 2022
Merged

Reward mod #16

merged 2 commits into from
Dec 26, 2022

Conversation

neverix
Copy link
Member

@neverix neverix commented Dec 25, 2022

  • Adds a system for getting rewards
  • Each frame, the reward attribute is set as a global variable from a client script
  • This enables eventually creating custom rewards and decouples it from the game code
  • Unlike the previous PR, this version does not have a server-side component. It can be added back in later

To do

This PR is a Work in Progress

  • Implement Lua mod
  • Read the player reward metadata in C++
  • Get it to game.cpp so it can be sent to the Recorder
  • Read reward from Python

How to test

hacking_testing/test_loop.py

@neverix neverix mentioned this pull request Dec 25, 2022
3 tasks
Copy link

@Rabbidon Rabbidon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Rabbidon Rabbidon merged commit 477457e into develop Dec 26, 2022
@AI-WAIFU AI-WAIFU deleted the reward branch January 24, 2023 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants