Compare commits
1 Commits
958dff3a7e
...
v0.1.3
| Author | SHA1 | Date | |
|---|---|---|---|
| 9670037eae |
10
README.md
10
README.md
@@ -4,11 +4,11 @@ A powrprof.dll hook which adds custom Lua functions to Forces of Corruption.
|
||||
|
||||
## Usage
|
||||
|
||||
Drop powrprof.dll and MinHooks.x64.dll into the `/corruption/` folder of your Empire at War installation.
|
||||
Drop powrprof.dll and MinHooks.x64.dll into the `/corruption` folder of your Empire at War installation.
|
||||
Works with both the debug kit `StarWarsI.exe` and client version `StarWarsG.exe` of the Steam version.
|
||||
Not supported on disc / GoG versions (sorry).
|
||||
|
||||
## Functions
|
||||
## Global Functions
|
||||
|
||||
- Global `WriteToFile(file, text)` - Appends a line of text specified file in the game directory.
|
||||
- Parameter `file` string - The file name to append.
|
||||
@@ -23,4 +23,8 @@ Not supported on disc / GoG versions (sorry).
|
||||
- Parameter `b` number? - The blue color component. Default: 1
|
||||
- Parameter `a` number? - The alpha component. Default: 1
|
||||
- Global `Remove_Tutorial_Text(key)` - Removes the line associated with the key.
|
||||
- Parameter `key` string - The key used to identify the line when it was added.
|
||||
- Parameter `key` string - The key used to identify the line when it was added.
|
||||
|
||||
## GameObjectTypeWrapper
|
||||
|
||||
- `Get_Display_Name()` - Returns the localized text string display name of the object type.
|
||||
Reference in New Issue
Block a user