Skip to content

ghostrider-05/RL-dummy-classes2

Repository files navigation

Autogenerated dummy classes

"Supported version" "Recompile warning" Chat on Discord

Is a class working incorrect? Create an issue

Getting started

Warning

If you get recompile errors, you likely already have the Dummy Classes installed without deleting the folders. You don't need to change any autogenerated class to get it to recompile!

  1. If you already have the Dummy Classes installed, remove the dummy classes in these folders in /Development/Src/ (continue to the next step if you don't have them installed):
    • AkAudio
    • ProjectX
    • TAGame
  2. Download the Src folder
  3. Extract the downloaded folder to UDK/{UDK name}/Development/
  4. Recompile the classes
  5. If you want to go back: delete the same folders as in step 1, download the Dummy classes or UDK classes and do steps 3 and 4 again.

If preferred, you can also use svn export or git sparse-checkout.

Example commands for git

Installing

  1. Install Git on your system. If you already have Git, you can skip this step.
  2. Create a git project and add the autogenerated classes:
# Change this to your folder where UDK is installed
cd ./UDK/{UDK name}/Development/
git init
git remote add origin https://github.com/ghostrider-05/RL-dummy-classes2
git config core.sparsecheckout true
echo "Src/*" >> .git/info/sparse-checkout
git pull --depth=1 origin main

Updating

To update when new classes are added, run the following commands:

# Go back to the /Development/ folder
cd ./UDK/{UDK name}/Development/
# Fetch updated classes
git pull --depth=1 origin main
# Recompile classes
cd ../Binaries/Win32/
UDK make -full

That's it!

Configuration

Extractor

config.toml is the configuration file for adding more options during the extraction.

Top level:

  • Version: the current version of the game to extract

AssetExtraction:

  • IgnoredFlags: these variable flags will be removed during the extraction
  • IgnoredDefaultProperties: default properties that contain these words will be commented
Descriptions

Fill the description.toml configuration with the class descriptions. When running the CI this file will be merged with the classes to combine the descriptions.

Special classes:

  • _DummyClass: this will hold some descriptions commonly used in extracting the classes.
  • _ApplyToAll_DummyClass: all properties listed in this class will be applied to all classes that have that property. Specify that property on a class to overwrite the descriptions or set it to empty to remove it.

Descriptions can be defined for:

  • Variables
  • Structures.{Structure name}
  • Enums
  • DefaultVariables
  • NodeInputs
  • NodeOutputs
  • NodeVariables

All types use the property name as the key, except for the Node* types. These use the index of the link. Example:

[MyClass.Variables]
PropertyName="Something interesting"

[MyKismetNode.NodeInputs]
0="The first input link"

Replication blocks

Warning

These replication statements may not be correct. Please check the official documentation or ask help in the Rocket League mapmaking discord server.

If a class has replicated variables, there will be a replicated block at the bottom of the class.

replicated
{
    if (statementCode) // The replication condition
        Location; // The variables that will be replicated when the condition is true
}

If a statement is not known, a comment will be placed behind the default statement.

Changelog

The changelog will show the difference between an installation of the dummy classes at a certain commit (see the description of the changelog) and the autogenerated dummy classes.

The Engine changelog will contain a list of changes you could make to relevant classes in /Engine/Classes/.

You can also fetch the changelog (in JSON) from the GitHub API from the outputted files:

Credits

Made using Martinn's decryption tools.

About

Autogenerated dummy classes for Rocket League map making

Resources

Stars

Watchers

Forks