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

Minimal editor #1

Closed
paoloambrosio opened this issue Oct 22, 2023 · 0 comments · Fixed by #6
Closed

Minimal editor #1

paoloambrosio opened this issue Oct 22, 2023 · 0 comments · Fixed by #6
Milestone

Comments

@paoloambrosio
Copy link
Collaborator

paoloambrosio commented Oct 22, 2023

Fred has requested the following fields in the Chassis (*.cdfbin) to help him tune vehicles quickly:

Name Hex code Type
Mass 21 67 0B 57 AB Int32
BodyDragBase 24 33 63 ED FD 21 Float32
GeneralTorqueMult 22 A3 BF 1E 60 Float32
GeneralPowerMult 22 C3 66 7D 2E Float32
MaxForceAtSteeringRack 21 01 C1 8B 82 Int32
PneumaticTrail 22 3E 53 B5 CF Float32
PneumaticTrailGripFractPower 22 00 AB 3E 9B Float32

Requirements:

  • Open the *.cdfbin file directly (later we'll open the *.crd file, that represents an entire vehicle, and find all other files from that one)
  • Display the values read for each property (hardcoded for now, see Generic field editor #5)
    • Not present becomes null in model and empty string in view
  • Edit the values
    • Validation to make sure that it can be converted to the correct type
  • On save, overwrite the already configured values (later we'll create the file completely, see Generic fbin editor #4)
    • Error if they are null but present in file, or if it can't find them and they are configured
@paoloambrosio paoloambrosio added this to the 0.0.1 milestone Oct 22, 2023
@paoloambrosio paoloambrosio changed the title Mininmal editor Minimal editor Oct 30, 2023
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 a pull request may close this issue.

1 participant