24 Commits

Author SHA1 Message Date
Mister_Nebula
d2ed0648f2 Update OWML.sln 2022-08-29 23:38:06 +01:00
Mister_Nebula
9f1fc25f19 create versions.json 2022-08-29 22:01:15 +01:00
Noah Pilarski
84d570b9f6 Add enum example mod 2022-08-19 22:11:29 -04:00
_nebula
6797d2ba34
Update readme (#355)
* Update Readme.md

* add logo and shields

* remove config/manifest section, add uninstall notes
2021-10-10 15:46:43 +01:00
_nebula
f069c6cddb
Interactions but actually (#353)
* enable interaction

* don't print stacktrace if null

* copy mscorlib

* remove old lib files

* fix game finder

* add new mod to test API

* fix exampleapi namespace

* Update OWPatcher.cs
2021-10-08 20:49:19 +01:00
AmazingAlek
b40eaa95b0
mods are working but with limited features (#343) 2021-10-01 22:17:06 +02:00
AmazingAlek
8e576ab2e5
C# 9.0 (#321)
* New "SDK style" projects
* C# 9.0
* .Net Framework 4.7.2 -> 4.8
* Sexy C# 8/9 code
* Fixed OWML Nuget package
2020-12-20 11:13:11 +01:00
AmazingAlek
f7f0aa9bbf
v1: IoC, tests, new release pipeline, lots of cleanup/refactoring (#319)
* IoC (inversion of control) container - mostly NOT newing up stuff manually, using an IoC container (Unity - not the game engine) for this. Want a new dependendy for your class? Just put it into your constructor, the container handles the rest.
* Tests. Not very thorough yet, but laid the groundwork.
* Abstractions for processes, Unity Application class and GameObject creation. Needed for testing, as there's no way to run Unity code from outside of Unity, and for mocking Process calls.
* Moved all code to src folder. Tests are in tests folder.
* Moved sample mods from OWML.SampleMods to SampleMods.
* Dependencies that aren't on NuGet.org are moved to lib folders.
* Allowing old OW versions. Just outputting nicer errors instead of quitting.
* New Utils project. Contains the container, TypeExtensions (moved from Events) and JsonHelper (moved from ModHelper).
* Internal NuGet package (OW and Unity dlls for building OWML on GitHub) is moved to new private GitHub repo and has a new GitHub pipeline.
* ModHelper project creates the nuget package - no more OWML.Nuget project.
* Launcher project + pipeline creates the release zip - no more createrelease.bat.
* New GitHub pipeline for OWML - no more Azure DevOps.
* Should still be backwards compatible
2020-12-18 21:41:04 +01:00
AmazingAlek
d6796a803a
remove obsolete console stuff, new logging project (#238)
* removed obsolete console stuff
* migrated logging stuff to new project
* static console for OWML
2020-07-30 20:48:42 +02:00
Aleksandr
b3440e842c fixed error from pipeline (there was GUID of TAIcheat still in there) 2020-07-12 13:47:10 +05:00
Aleksandr
3ec73ad945
menus for ModInputHandler (#122)
* implemented menus for setting input combinations

* Changed behaviour of combination collision checking, now it works a bit better

* Made most GetComponentInChildren check inactive objects

* gotta block next OnRelease as a preparation for some stuff switching to OnNewlyReleased

Co-authored-by: Ricardo Lopes <raicuparta@gmail.com>
Co-authored-by: AmazingAlek <alek.ntnu@gmail.com>
2020-07-11 10:11:49 +05:00
Aleksandr
3535614a84
Added Input API (#94)
* Added InputHandler system
* moved hash generation to ModInputCombination
* Moved AddText and AddPicture form ModComboInput to ModLayoutButton
* update for steam release
* implemented fix for Gamepad combinations
* changed EnableDebugMode example mod to use ModInputHandler
* colliding parts of combinations now simply get skipped
* changed the system for listening to game's bindings to a patch-less variant
* made blocking game's input optional

Co-authored-by: Ricardo Lopes <raicuparta@gmail.com>
Co-authored-by: AmazingAlek <alek.ntnu@gmail.com>
Co-authored-by: Mister_Nebula <41904486+misternebula@users.noreply.github.com>
2020-06-27 23:13:00 +05:00
AmazingAlek
83b46732ea
cleaned up path finder and added steam support (#107)
* cleaned up path finder and added steam support. WIP.

* game path project

* * using valve data format parser
* added authors section to readme

* version 0.3.53

* fixed createrelease.bat

* fixed Mod settings menus (#110)
2020-06-18 23:21:52 +01:00
Mister_Nebula
3db0636d92 Mod interaction (#93)
Added mod interaction methods, and improved Invoke method.
2020-05-11 20:50:45 +02:00
AmazingAlek
547594921a adaptations for the mod manager (#90)
* removed (slow) version checking
* added descriptions
* updated readme
2020-05-11 20:50:45 +02:00
amazingalek
5b4cf65859
checking version (#52) 2020-01-07 21:26:59 +01:00
amazingalek
f8698bcf8d
Menus (#46)
* menu helper for adding buttons to main menu and pause menu
2020-01-04 15:37:35 +01:00
amazingalek
bf74336017
LightBramble will be released separately. (#45)
* LightBramble will be released separately. 
* LoadCustomAssets is only included in dev version.
2020-01-03 19:30:23 +01:00
amazingalek
4e2f122dae Light bramble (#34)
* "TestMod" is replaced by new sample mod: Light Bramble. No fog. No Anglerfish. Nice music.
* Bugfixes related to modhelper being shared by multiple mods
2019-12-30 21:22:13 +01:00
amazingalek
6eb876f52d
Nuget (#26)
* compatible with Nuget
2019-12-27 21:18:22 +01:00
amazingalek
91852a4f0c Mod helper project (#24)
* refactored. new project: ModHelper.
2019-12-26 22:53:48 +01:00
amazingalek
a0f7d73e25
Load audio (#19)
* load custom audio
2019-12-23 14:19:23 +01:00
amazingalek
2db2134fbb Import model (#18)
* Asset mod helper for creating custom 3D objects
* New sample mod which spawns rubber ducks
2019-12-23 10:00:25 +01:00
Aleksander Waage
d53622e0fd alpha 2019-12-18 15:39:23 +01:00