diff --git a/.gitignore b/.gitignore index 140ef3e..2c93475 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -bin/ -TEMP/ -Docs/ \ No newline at end of file +.temp +vmf/dist \ No newline at end of file diff --git a/FEATURES_LIST.MD b/FEATURES_LIST.MD deleted file mode 100644 index 1d91584..0000000 --- a/FEATURES_LIST.MD +++ /dev/null @@ -1,146 +0,0 @@ -Goals -===== -The old Vermintide Mod Framework is a good tool, but it has a lot of legacy code, some of its components' code is hardly readable, and after the new workshop update it's more like a bunch of functions than a framework. So I decided to rewrite the whole thing from the scratch. My goals were: - -1. Write VMF using self-documenting code. So it would be easy to read and maintain. -2. Move all the managing code from the mods to VMF if possible. So the modders will spend less time on writing managing code. -3. Make public VMF functions names short and clear. This and #2 will make mods' code shorter and clearer. -4. Make it easy for the mods to communicate with each other. -5. Make it work with bundled mods (new mod format). - -In short, make VMF the real framework, which will provide a very user-friendly API and will do all the managing for the modders. - -New Approach -============ -From now on, I'll refer to old VMF as "Old-VMF" and to new VMF as "VMF". -Also, when comparing functions, (*) means same functionality and (+) means new functionality. - -Mods Handling -------------- - -The modders who's working with Old-VMF are used to the string `local mod, mod_name, oi = Mods.new_mod("ModName")`. That was an unnecessary step. The created "mod" was just a table which could be accessed from anywhere with `Mods.get_mod("ModName")` function, and all the interactions with VMF were made via public functions. So a lot of modders just skipped this step since they didn't need it. - -But, from now on, the mod instance is not a table anymore, it's the object of the class `VMFMod` and it is the core element of any mod. It is the bridge between the mod and VMF. From this moment, there are only 2 public functions in VMF: - -* `new_mod(mod_name)` - creates the new instance of `VMFMod` class object and returns it -* `get_mod(mod_name)` - returns already created mod instance or `nil` if it doesn't exist - -All the other VMF functionality can be accessed only through the created `VMFMod` objects. - -To understand what I'm talking about, just look at this little example: -```lua -local mod = new_mod("totally_useless_mod") - -mod:hook("MatchmakingManager.update", function(func, ...) - func(...) - mod:echo("Some annoying message you'll see a lot of times no matter what") -end) -``` -This approach allows to simplify a lot of things for the modder and makes it much easier for VMF to handle things on its own. - -Basic functions and events --------------------------- - -Now let's get to some basic functions. - -Before: -`EchoConsole(message [string])` -After: -`mod:echo(message [string], show_mod_name [bool])` -(*) Shows the message in the chat. -(+) If `show_mod_name` is `true` the message will be prefixed with `[mod_name] `. -(+) The message will also appear in the log as `[ECHO][mod_name] message` - -Before: -`Safe_pcall(...)` -After: -`mod:pcall(...)` -(*) Lets safely execute function, shows the error message in the chat -(+) Shows which mod failed to execute the code. -(+) Log it. - -Also, there is the new thing in VMF: events. It's working like this: - -1. The modder defines `mod.some_event_name = some_function` -2. Certain conditions for some_event are met -3. If the mod has `mod.some_event_name` defined, VMF calls it and passes specific event arguments - -Here are some basic events: - -`mod.unload()` - is called when the mod is about to be reloaded -`mod.update(dt)` - is called every tick - -Now, the example from above, but using `update` event this time: -```lua -local mod = new_mod("totally_useless_mod") - -mod.update = function(dt) - mod:echo("Some annoying message you'll see a lot of times no matter what") -end -``` - -Hooking system --------------- -Imagine that you're debugging your code and experimenting with different hooks, but some time later you notice, that some hook you deleted from the code 20 mins ago is still working. You do the /reload, but it doesn't help, so you have to restart the game to stop it. Sounds familiar? Well, that's not the case anymore. Now VMF removes all the hooks when it's about to be reloaded. - -Before: -`Mods.hook.set(mod_name, "Object.Function", new_function)` -After: -`mod:hook("Object.Function", new_function)` -(*) Hooks the function -(+) It won't crash anymore if there's misprint in `"Object.Function"` or it doesn't exist. The error message with the mod name will be shown in the chat instead. Actually, there are many small changes like that, which will make debugging easier. There is no point to describe them all so I just skip them from now on. - -Before: -`Mods.hook.enable(false, mod_name, "Object.Function")` -After: -`mod:hook_disable("Object.Function")` -(*) Disables hook (but not removes) - -Before: -`Mods.hook.enable(true, mod_name, "Object.Function")` -After: -`mod:hook_enable("Object.Function")` -(*) Enables disabled hook - -Before: -`Mods.hook.remove("Object.Function", mod_name)` -After: -`mod:hook_remove("Object.Function")` -(*) Removes hook - -Also, new functions: -`mod:disable_all_hooks()` -`mod:enable_all_hooks()` -`mod:remove_all_hooks()` -(*) Disables/enables/removes all hooks for certain mod - - -Settings manager -------------------------- -This is the new thing. In the Old-VMF mods interacted with user settings via 'Application' directly. Now VMF is using settings manager. What's the difference? - -* Settings manager operates settings within the mod namespace, so now you can define settings with the same name for different mods. Forget about `cb_bot_improvements_keep_tomes`. `keep_tomes` will do it. -* In Old-VMF, in order to actually save changed settings, some mods had to save settings to file right after changing it. That wasn't good for HDD. Now, setting manager takes care of it. It will automatically save changed settings to file when changing map / reloading VMF / closing options menu. - -FUNCTIONS: - -`mod:get(setting_name)` - returns setting value or `nil` - -`mod:set(setting_name, setting_value, call_setting_changed_event)` - changes setting value. If `call_setting_changed_event` is `true`, the `setting_changed` event will be called for the mod. - -EVENT: - -`mod.setting_changed(setting_name)` - is called whenever something changes mods setting with `call_setting_changed_event` set to `true`. - -With this event you won't need to repeatedly check if some option is changed. By default, after mod initilizing, the only thing that will call `mod:set` is the the VMF options menu. And it will always call `setting_changed` event. - - - -Gui (WIP) -Options menu (WIP) -Keybindings (Will do) -Network (Will do) -Actions -Localization -Game modes -Debug modules \ No newline at end of file diff --git a/COMPILE_VMF.bat b/compile.bat similarity index 97% rename from COMPILE_VMF.bat rename to compile.bat index af67e42..74b1ce6 100644 --- a/COMPILE_VMF.bat +++ b/compile.bat @@ -3,8 +3,8 @@ :: project-defined variable, you probably shouldn't change them -set SOUCE_CODE_DIR=.\vmf_source -set TEMP_DIR=.\TEMP +set SOUCE_CODE_DIR=.\vmf +set TEMP_DIR=.\.temp\vmf set ORIGINAL_VMF_BUNDLE_FILE_NAME=98161451961848df set NEW_VMF_BUNDLE_FILE_NAME=VMF diff --git a/vmf_source/core/physx_metadata/physx_334_win32.physx_metadata b/vmf/core/physx_metadata/physx_334_win32.physx_metadata similarity index 100% rename from vmf_source/core/physx_metadata/physx_334_win32.physx_metadata rename to vmf/core/physx_metadata/physx_334_win32.physx_metadata diff --git a/vmf_source/core/physx_metadata/physx_334_win32_64bit.physx_metadata b/vmf/core/physx_metadata/physx_334_win32_64bit.physx_metadata similarity index 100% rename from vmf_source/core/physx_metadata/physx_334_win32_64bit.physx_metadata rename to vmf/core/physx_metadata/physx_334_win32_64bit.physx_metadata diff --git a/vmf_source/core/shader_nodes/abs.shader_node b/vmf/core/shader_nodes/abs.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/abs.shader_node rename to vmf/core/shader_nodes/abs.shader_node diff --git a/vmf_source/core/shader_nodes/add.shader_node b/vmf/core/shader_nodes/add.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/add.shader_node rename to vmf/core/shader_nodes/add.shader_node diff --git a/vmf_source/core/shader_nodes/billboard_particles/particle_id.shader_node b/vmf/core/shader_nodes/billboard_particles/particle_id.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/billboard_particles/particle_id.shader_node rename to vmf/core/shader_nodes/billboard_particles/particle_id.shader_node diff --git a/vmf_source/core/shader_nodes/billboard_particles/particle_uv_frame.shader_node b/vmf/core/shader_nodes/billboard_particles/particle_uv_frame.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/billboard_particles/particle_uv_frame.shader_node rename to vmf/core/shader_nodes/billboard_particles/particle_uv_frame.shader_node diff --git a/vmf_source/core/shader_nodes/billboard_particles/particle_uv_scale.shader_node b/vmf/core/shader_nodes/billboard_particles/particle_uv_scale.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/billboard_particles/particle_uv_scale.shader_node rename to vmf/core/shader_nodes/billboard_particles/particle_uv_scale.shader_node diff --git a/vmf_source/core/shader_nodes/billboard_particles/particle_vertex_color.shader_node b/vmf/core/shader_nodes/billboard_particles/particle_vertex_color.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/billboard_particles/particle_vertex_color.shader_node rename to vmf/core/shader_nodes/billboard_particles/particle_vertex_color.shader_node diff --git a/vmf_source/core/shader_nodes/billboard_particles/soft_particles.shader_node b/vmf/core/shader_nodes/billboard_particles/soft_particles.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/billboard_particles/soft_particles.shader_node rename to vmf/core/shader_nodes/billboard_particles/soft_particles.shader_node diff --git a/vmf_source/core/shader_nodes/billboard_particles/texcoord.shader_node b/vmf/core/shader_nodes/billboard_particles/texcoord.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/billboard_particles/texcoord.shader_node rename to vmf/core/shader_nodes/billboard_particles/texcoord.shader_node diff --git a/vmf_source/core/shader_nodes/billboard_particles/uv_animation.shader_node b/vmf/core/shader_nodes/billboard_particles/uv_animation.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/billboard_particles/uv_animation.shader_node rename to vmf/core/shader_nodes/billboard_particles/uv_animation.shader_node diff --git a/vmf_source/core/shader_nodes/blackbody.shader_node b/vmf/core/shader_nodes/blackbody.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/blackbody.shader_node rename to vmf/core/shader_nodes/blackbody.shader_node diff --git a/vmf_source/core/shader_nodes/blend_normals.shader_node b/vmf/core/shader_nodes/blend_normals.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/blend_normals.shader_node rename to vmf/core/shader_nodes/blend_normals.shader_node diff --git a/vmf_source/core/shader_nodes/camera_position.shader_node b/vmf/core/shader_nodes/camera_position.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/camera_position.shader_node rename to vmf/core/shader_nodes/camera_position.shader_node diff --git a/vmf_source/core/shader_nodes/ceil.shader_node b/vmf/core/shader_nodes/ceil.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/ceil.shader_node rename to vmf/core/shader_nodes/ceil.shader_node diff --git a/vmf_source/core/shader_nodes/clamp.shader_node b/vmf/core/shader_nodes/clamp.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/clamp.shader_node rename to vmf/core/shader_nodes/clamp.shader_node diff --git a/vmf_source/core/shader_nodes/colormap_jet.shader_node b/vmf/core/shader_nodes/colormap_jet.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/colormap_jet.shader_node rename to vmf/core/shader_nodes/colormap_jet.shader_node diff --git a/vmf_source/core/shader_nodes/constant_scalar.shader_node b/vmf/core/shader_nodes/constant_scalar.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/constant_scalar.shader_node rename to vmf/core/shader_nodes/constant_scalar.shader_node diff --git a/vmf_source/core/shader_nodes/constant_vector2.shader_node b/vmf/core/shader_nodes/constant_vector2.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/constant_vector2.shader_node rename to vmf/core/shader_nodes/constant_vector2.shader_node diff --git a/vmf_source/core/shader_nodes/constant_vector3.shader_node b/vmf/core/shader_nodes/constant_vector3.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/constant_vector3.shader_node rename to vmf/core/shader_nodes/constant_vector3.shader_node diff --git a/vmf_source/core/shader_nodes/constant_vector4.shader_node b/vmf/core/shader_nodes/constant_vector4.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/constant_vector4.shader_node rename to vmf/core/shader_nodes/constant_vector4.shader_node diff --git a/vmf_source/core/shader_nodes/construct_vector2.shader_node b/vmf/core/shader_nodes/construct_vector2.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/construct_vector2.shader_node rename to vmf/core/shader_nodes/construct_vector2.shader_node diff --git a/vmf_source/core/shader_nodes/construct_vector3.shader_node b/vmf/core/shader_nodes/construct_vector3.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/construct_vector3.shader_node rename to vmf/core/shader_nodes/construct_vector3.shader_node diff --git a/vmf_source/core/shader_nodes/construct_vector4.shader_node b/vmf/core/shader_nodes/construct_vector4.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/construct_vector4.shader_node rename to vmf/core/shader_nodes/construct_vector4.shader_node diff --git a/vmf_source/core/shader_nodes/cos.shader_node b/vmf/core/shader_nodes/cos.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/cos.shader_node rename to vmf/core/shader_nodes/cos.shader_node diff --git a/vmf_source/core/shader_nodes/cross.shader_node b/vmf/core/shader_nodes/cross.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/cross.shader_node rename to vmf/core/shader_nodes/cross.shader_node diff --git a/vmf_source/core/shader_nodes/current_time.shader_node b/vmf/core/shader_nodes/current_time.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/current_time.shader_node rename to vmf/core/shader_nodes/current_time.shader_node diff --git a/vmf_source/core/shader_nodes/ddx.shader_node b/vmf/core/shader_nodes/ddx.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/ddx.shader_node rename to vmf/core/shader_nodes/ddx.shader_node diff --git a/vmf_source/core/shader_nodes/ddy.shader_node b/vmf/core/shader_nodes/ddy.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/ddy.shader_node rename to vmf/core/shader_nodes/ddy.shader_node diff --git a/vmf_source/core/shader_nodes/decal_box_distance.shader_node b/vmf/core/shader_nodes/decal_box_distance.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/decal_box_distance.shader_node rename to vmf/core/shader_nodes/decal_box_distance.shader_node diff --git a/vmf_source/core/shader_nodes/decal_parallax.shader_node b/vmf/core/shader_nodes/decal_parallax.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/decal_parallax.shader_node rename to vmf/core/shader_nodes/decal_parallax.shader_node diff --git a/vmf_source/core/shader_nodes/decal_tangent_to_world.shader_node b/vmf/core/shader_nodes/decal_tangent_to_world.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/decal_tangent_to_world.shader_node rename to vmf/core/shader_nodes/decal_tangent_to_world.shader_node diff --git a/vmf_source/core/shader_nodes/decal_uv.shader_node b/vmf/core/shader_nodes/decal_uv.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/decal_uv.shader_node rename to vmf/core/shader_nodes/decal_uv.shader_node diff --git a/vmf_source/core/shader_nodes/decal_world_position.shader_node b/vmf/core/shader_nodes/decal_world_position.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/decal_world_position.shader_node rename to vmf/core/shader_nodes/decal_world_position.shader_node diff --git a/vmf_source/core/shader_nodes/desaturation.shader_node b/vmf/core/shader_nodes/desaturation.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/desaturation.shader_node rename to vmf/core/shader_nodes/desaturation.shader_node diff --git a/vmf_source/core/shader_nodes/distance.shader_node b/vmf/core/shader_nodes/distance.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/distance.shader_node rename to vmf/core/shader_nodes/distance.shader_node diff --git a/vmf_source/core/shader_nodes/distance_fade.shader_node b/vmf/core/shader_nodes/distance_fade.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/distance_fade.shader_node rename to vmf/core/shader_nodes/distance_fade.shader_node diff --git a/vmf_source/core/shader_nodes/div.shader_node b/vmf/core/shader_nodes/div.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/div.shader_node rename to vmf/core/shader_nodes/div.shader_node diff --git a/vmf_source/core/shader_nodes/dot.shader_node b/vmf/core/shader_nodes/dot.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/dot.shader_node rename to vmf/core/shader_nodes/dot.shader_node diff --git a/vmf_source/core/shader_nodes/exp.shader_node b/vmf/core/shader_nodes/exp.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/exp.shader_node rename to vmf/core/shader_nodes/exp.shader_node diff --git a/vmf_source/core/shader_nodes/eye_intensity.shader_node b/vmf/core/shader_nodes/eye_intensity.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/eye_intensity.shader_node rename to vmf/core/shader_nodes/eye_intensity.shader_node diff --git a/vmf_source/core/shader_nodes/eye_vector.shader_node b/vmf/core/shader_nodes/eye_vector.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/eye_vector.shader_node rename to vmf/core/shader_nodes/eye_vector.shader_node diff --git a/vmf_source/core/shader_nodes/flipbook.shader_node b/vmf/core/shader_nodes/flipbook.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/flipbook.shader_node rename to vmf/core/shader_nodes/flipbook.shader_node diff --git a/vmf_source/core/shader_nodes/flipbook_sampler.shader_node b/vmf/core/shader_nodes/flipbook_sampler.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/flipbook_sampler.shader_node rename to vmf/core/shader_nodes/flipbook_sampler.shader_node diff --git a/vmf_source/core/shader_nodes/floor.shader_node b/vmf/core/shader_nodes/floor.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/floor.shader_node rename to vmf/core/shader_nodes/floor.shader_node diff --git a/vmf_source/core/shader_nodes/fmod.shader_node b/vmf/core/shader_nodes/fmod.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/fmod.shader_node rename to vmf/core/shader_nodes/fmod.shader_node diff --git a/vmf_source/core/shader_nodes/frac.shader_node b/vmf/core/shader_nodes/frac.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/frac.shader_node rename to vmf/core/shader_nodes/frac.shader_node diff --git a/vmf_source/core/shader_nodes/fresnel.shader_node b/vmf/core/shader_nodes/fresnel.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/fresnel.shader_node rename to vmf/core/shader_nodes/fresnel.shader_node diff --git a/vmf_source/core/shader_nodes/graph_common.shader_source b/vmf/core/shader_nodes/graph_common.shader_source similarity index 100% rename from vmf_source/core/shader_nodes/graph_common.shader_source rename to vmf/core/shader_nodes/graph_common.shader_source diff --git a/vmf_source/core/shader_nodes/hsv_to_rgb.shader_node b/vmf/core/shader_nodes/hsv_to_rgb.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/hsv_to_rgb.shader_node rename to vmf/core/shader_nodes/hsv_to_rgb.shader_node diff --git a/vmf_source/core/shader_nodes/if.shader_node b/vmf/core/shader_nodes/if.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/if.shader_node rename to vmf/core/shader_nodes/if.shader_node diff --git a/vmf_source/core/shader_nodes/invert.shader_node b/vmf/core/shader_nodes/invert.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/invert.shader_node rename to vmf/core/shader_nodes/invert.shader_node diff --git a/vmf_source/core/shader_nodes/length.shader_node b/vmf/core/shader_nodes/length.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/length.shader_node rename to vmf/core/shader_nodes/length.shader_node diff --git a/vmf_source/core/shader_nodes/lerp.shader_node b/vmf/core/shader_nodes/lerp.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/lerp.shader_node rename to vmf/core/shader_nodes/lerp.shader_node diff --git a/vmf_source/core/shader_nodes/light_color.shader_node b/vmf/core/shader_nodes/light_color.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/light_color.shader_node rename to vmf/core/shader_nodes/light_color.shader_node diff --git a/vmf_source/core/shader_nodes/light_vector.shader_node b/vmf/core/shader_nodes/light_vector.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/light_vector.shader_node rename to vmf/core/shader_nodes/light_vector.shader_node diff --git a/vmf_source/core/shader_nodes/material_variable.shader_node b/vmf/core/shader_nodes/material_variable.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/material_variable.shader_node rename to vmf/core/shader_nodes/material_variable.shader_node diff --git a/vmf_source/core/shader_nodes/max.shader_node b/vmf/core/shader_nodes/max.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/max.shader_node rename to vmf/core/shader_nodes/max.shader_node diff --git a/vmf_source/core/shader_nodes/min.shader_node b/vmf/core/shader_nodes/min.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/min.shader_node rename to vmf/core/shader_nodes/min.shader_node diff --git a/vmf_source/core/shader_nodes/mul.shader_node b/vmf/core/shader_nodes/mul.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/mul.shader_node rename to vmf/core/shader_nodes/mul.shader_node diff --git a/vmf_source/core/shader_nodes/noise/noise2D.shader_node b/vmf/core/shader_nodes/noise/noise2D.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/noise/noise2D.shader_node rename to vmf/core/shader_nodes/noise/noise2D.shader_node diff --git a/vmf_source/core/shader_nodes/noise/noise3D.shader_node b/vmf/core/shader_nodes/noise/noise3D.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/noise/noise3D.shader_node rename to vmf/core/shader_nodes/noise/noise3D.shader_node diff --git a/vmf_source/core/shader_nodes/noise/noise4D.shader_node b/vmf/core/shader_nodes/noise/noise4D.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/noise/noise4D.shader_node rename to vmf/core/shader_nodes/noise/noise4D.shader_node diff --git a/vmf_source/core/shader_nodes/normalize.shader_node b/vmf/core/shader_nodes/normalize.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/normalize.shader_node rename to vmf/core/shader_nodes/normalize.shader_node diff --git a/vmf_source/core/shader_nodes/normalize_vs.shader_node b/vmf/core/shader_nodes/normalize_vs.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/normalize_vs.shader_node rename to vmf/core/shader_nodes/normalize_vs.shader_node diff --git a/vmf_source/core/shader_nodes/object_to_world.shader_node b/vmf/core/shader_nodes/object_to_world.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/object_to_world.shader_node rename to vmf/core/shader_nodes/object_to_world.shader_node diff --git a/vmf_source/core/shader_nodes/option.shader_node b/vmf/core/shader_nodes/option.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/option.shader_node rename to vmf/core/shader_nodes/option.shader_node diff --git a/vmf_source/core/shader_nodes/orientation_forward.shader_node b/vmf/core/shader_nodes/orientation_forward.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/orientation_forward.shader_node rename to vmf/core/shader_nodes/orientation_forward.shader_node diff --git a/vmf_source/core/shader_nodes/orientation_position.shader_node b/vmf/core/shader_nodes/orientation_position.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/orientation_position.shader_node rename to vmf/core/shader_nodes/orientation_position.shader_node diff --git a/vmf_source/core/shader_nodes/orientation_right.shader_node b/vmf/core/shader_nodes/orientation_right.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/orientation_right.shader_node rename to vmf/core/shader_nodes/orientation_right.shader_node diff --git a/vmf_source/core/shader_nodes/orientation_up.shader_node b/vmf/core/shader_nodes/orientation_up.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/orientation_up.shader_node rename to vmf/core/shader_nodes/orientation_up.shader_node diff --git a/vmf_source/core/shader_nodes/panner.shader_node b/vmf/core/shader_nodes/panner.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/panner.shader_node rename to vmf/core/shader_nodes/panner.shader_node diff --git a/vmf_source/core/shader_nodes/parallax.shader_node b/vmf/core/shader_nodes/parallax.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/parallax.shader_node rename to vmf/core/shader_nodes/parallax.shader_node diff --git a/vmf_source/core/shader_nodes/pixel_depth.shader_node b/vmf/core/shader_nodes/pixel_depth.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/pixel_depth.shader_node rename to vmf/core/shader_nodes/pixel_depth.shader_node diff --git a/vmf_source/core/shader_nodes/power.shader_node b/vmf/core/shader_nodes/power.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/power.shader_node rename to vmf/core/shader_nodes/power.shader_node diff --git a/vmf_source/core/shader_nodes/projected_texcoord.shader_node b/vmf/core/shader_nodes/projected_texcoord.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/projected_texcoord.shader_node rename to vmf/core/shader_nodes/projected_texcoord.shader_node diff --git a/vmf_source/core/shader_nodes/reflect.shader_node b/vmf/core/shader_nodes/reflect.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/reflect.shader_node rename to vmf/core/shader_nodes/reflect.shader_node diff --git a/vmf_source/core/shader_nodes/refract.shader_node b/vmf/core/shader_nodes/refract.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/refract.shader_node rename to vmf/core/shader_nodes/refract.shader_node diff --git a/vmf_source/core/shader_nodes/rgb_to_hsv.shader_node b/vmf/core/shader_nodes/rgb_to_hsv.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/rgb_to_hsv.shader_node rename to vmf/core/shader_nodes/rgb_to_hsv.shader_node diff --git a/vmf_source/core/shader_nodes/ribbon_particles/ribbon_texcoord.shader_node b/vmf/core/shader_nodes/ribbon_particles/ribbon_texcoord.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/ribbon_particles/ribbon_texcoord.shader_node rename to vmf/core/shader_nodes/ribbon_particles/ribbon_texcoord.shader_node diff --git a/vmf_source/core/shader_nodes/ribbon_particles/ribbon_uv_frame.shader_node b/vmf/core/shader_nodes/ribbon_particles/ribbon_uv_frame.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/ribbon_particles/ribbon_uv_frame.shader_node rename to vmf/core/shader_nodes/ribbon_particles/ribbon_uv_frame.shader_node diff --git a/vmf_source/core/shader_nodes/ribbon_particles/ribbon_uv_scale.shader_node b/vmf/core/shader_nodes/ribbon_particles/ribbon_uv_scale.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/ribbon_particles/ribbon_uv_scale.shader_node rename to vmf/core/shader_nodes/ribbon_particles/ribbon_uv_scale.shader_node diff --git a/vmf_source/core/shader_nodes/ribbon_particles/ribbon_vertex_color.shader_node b/vmf/core/shader_nodes/ribbon_particles/ribbon_vertex_color.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/ribbon_particles/ribbon_vertex_color.shader_node rename to vmf/core/shader_nodes/ribbon_particles/ribbon_vertex_color.shader_node diff --git a/vmf_source/core/shader_nodes/rotator.shader_node b/vmf/core/shader_nodes/rotator.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/rotator.shader_node rename to vmf/core/shader_nodes/rotator.shader_node diff --git a/vmf_source/core/shader_nodes/sample_cube.shader_node b/vmf/core/shader_nodes/sample_cube.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/sample_cube.shader_node rename to vmf/core/shader_nodes/sample_cube.shader_node diff --git a/vmf_source/core/shader_nodes/sample_texture.shader_node b/vmf/core/shader_nodes/sample_texture.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/sample_texture.shader_node rename to vmf/core/shader_nodes/sample_texture.shader_node diff --git a/vmf_source/core/shader_nodes/sample_texture_or_pass_through.shader_node b/vmf/core/shader_nodes/sample_texture_or_pass_through.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/sample_texture_or_pass_through.shader_node rename to vmf/core/shader_nodes/sample_texture_or_pass_through.shader_node diff --git a/vmf_source/core/shader_nodes/sample_texture_vertex.shader_node b/vmf/core/shader_nodes/sample_texture_vertex.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/sample_texture_vertex.shader_node rename to vmf/core/shader_nodes/sample_texture_vertex.shader_node diff --git a/vmf_source/core/shader_nodes/sin.shader_node b/vmf/core/shader_nodes/sin.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/sin.shader_node rename to vmf/core/shader_nodes/sin.shader_node diff --git a/vmf_source/core/shader_nodes/skydome/skydome_cloud_map.shader_node b/vmf/core/shader_nodes/skydome/skydome_cloud_map.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/skydome/skydome_cloud_map.shader_node rename to vmf/core/shader_nodes/skydome/skydome_cloud_map.shader_node diff --git a/vmf_source/core/shader_nodes/skydome/skydome_cloud_speed_scale.shader_node b/vmf/core/shader_nodes/skydome/skydome_cloud_speed_scale.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/skydome/skydome_cloud_speed_scale.shader_node rename to vmf/core/shader_nodes/skydome/skydome_cloud_speed_scale.shader_node diff --git a/vmf_source/core/shader_nodes/skydome/skydome_color.shader_node b/vmf/core/shader_nodes/skydome/skydome_color.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/skydome/skydome_color.shader_node rename to vmf/core/shader_nodes/skydome/skydome_color.shader_node diff --git a/vmf_source/core/shader_nodes/skydome/skydome_fog_color.shader_node b/vmf/core/shader_nodes/skydome/skydome_fog_color.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/skydome/skydome_fog_color.shader_node rename to vmf/core/shader_nodes/skydome/skydome_fog_color.shader_node diff --git a/vmf_source/core/shader_nodes/skydome/skydome_fog_height_falloff.shader_node b/vmf/core/shader_nodes/skydome/skydome_fog_height_falloff.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/skydome/skydome_fog_height_falloff.shader_node rename to vmf/core/shader_nodes/skydome/skydome_fog_height_falloff.shader_node diff --git a/vmf_source/core/shader_nodes/skydome/skydome_intensity.shader_node b/vmf/core/shader_nodes/skydome/skydome_intensity.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/skydome/skydome_intensity.shader_node rename to vmf/core/shader_nodes/skydome/skydome_intensity.shader_node diff --git a/vmf_source/core/shader_nodes/skydome/skydome_tint_color.shader_node b/vmf/core/shader_nodes/skydome/skydome_tint_color.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/skydome/skydome_tint_color.shader_node rename to vmf/core/shader_nodes/skydome/skydome_tint_color.shader_node diff --git a/vmf_source/core/shader_nodes/smoothstep.shader_node b/vmf/core/shader_nodes/smoothstep.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/smoothstep.shader_node rename to vmf/core/shader_nodes/smoothstep.shader_node diff --git a/vmf_source/core/shader_nodes/square_root.shader_node b/vmf/core/shader_nodes/square_root.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/square_root.shader_node rename to vmf/core/shader_nodes/square_root.shader_node diff --git a/vmf_source/core/shader_nodes/subtract.shader_node b/vmf/core/shader_nodes/subtract.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/subtract.shader_node rename to vmf/core/shader_nodes/subtract.shader_node diff --git a/vmf_source/core/shader_nodes/sun_color.shader_node b/vmf/core/shader_nodes/sun_color.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/sun_color.shader_node rename to vmf/core/shader_nodes/sun_color.shader_node diff --git a/vmf_source/core/shader_nodes/sun_direction.shader_node b/vmf/core/shader_nodes/sun_direction.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/sun_direction.shader_node rename to vmf/core/shader_nodes/sun_direction.shader_node diff --git a/vmf_source/core/shader_nodes/sun_shadow_mask.shader_node b/vmf/core/shader_nodes/sun_shadow_mask.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/sun_shadow_mask.shader_node rename to vmf/core/shader_nodes/sun_shadow_mask.shader_node diff --git a/vmf_source/core/shader_nodes/tangent_to_world.shader_node b/vmf/core/shader_nodes/tangent_to_world.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/tangent_to_world.shader_node rename to vmf/core/shader_nodes/tangent_to_world.shader_node diff --git a/vmf_source/core/shader_nodes/terrain_base_normal.shader_node b/vmf/core/shader_nodes/terrain_base_normal.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/terrain_base_normal.shader_node rename to vmf/core/shader_nodes/terrain_base_normal.shader_node diff --git a/vmf_source/core/shader_nodes/terrain_blend_mask.shader_node b/vmf/core/shader_nodes/terrain_blend_mask.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/terrain_blend_mask.shader_node rename to vmf/core/shader_nodes/terrain_blend_mask.shader_node diff --git a/vmf_source/core/shader_nodes/terrain_height.shader_node b/vmf/core/shader_nodes/terrain_height.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/terrain_height.shader_node rename to vmf/core/shader_nodes/terrain_height.shader_node diff --git a/vmf_source/core/shader_nodes/terrain_uv.shader_node b/vmf/core/shader_nodes/terrain_uv.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/terrain_uv.shader_node rename to vmf/core/shader_nodes/terrain_uv.shader_node diff --git a/vmf_source/core/shader_nodes/texture_coordinate0.shader_node b/vmf/core/shader_nodes/texture_coordinate0.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/texture_coordinate0.shader_node rename to vmf/core/shader_nodes/texture_coordinate0.shader_node diff --git a/vmf_source/core/shader_nodes/texture_coordinate1.shader_node b/vmf/core/shader_nodes/texture_coordinate1.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/texture_coordinate1.shader_node rename to vmf/core/shader_nodes/texture_coordinate1.shader_node diff --git a/vmf_source/core/shader_nodes/texture_coordinate2.shader_node b/vmf/core/shader_nodes/texture_coordinate2.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/texture_coordinate2.shader_node rename to vmf/core/shader_nodes/texture_coordinate2.shader_node diff --git a/vmf_source/core/shader_nodes/texture_coordinate3.shader_node b/vmf/core/shader_nodes/texture_coordinate3.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/texture_coordinate3.shader_node rename to vmf/core/shader_nodes/texture_coordinate3.shader_node diff --git a/vmf_source/core/shader_nodes/texture_coordinate4.shader_node b/vmf/core/shader_nodes/texture_coordinate4.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/texture_coordinate4.shader_node rename to vmf/core/shader_nodes/texture_coordinate4.shader_node diff --git a/vmf_source/core/shader_nodes/translation.shader_node b/vmf/core/shader_nodes/translation.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/translation.shader_node rename to vmf/core/shader_nodes/translation.shader_node diff --git a/vmf_source/core/shader_nodes/vegetation_bending.shader_node b/vmf/core/shader_nodes/vegetation_bending.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/vegetation_bending.shader_node rename to vmf/core/shader_nodes/vegetation_bending.shader_node diff --git a/vmf_source/core/shader_nodes/vertex_binormal.shader_node b/vmf/core/shader_nodes/vertex_binormal.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/vertex_binormal.shader_node rename to vmf/core/shader_nodes/vertex_binormal.shader_node diff --git a/vmf_source/core/shader_nodes/vertex_color0.shader_node b/vmf/core/shader_nodes/vertex_color0.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/vertex_color0.shader_node rename to vmf/core/shader_nodes/vertex_color0.shader_node diff --git a/vmf_source/core/shader_nodes/vertex_instanceid.shader_node b/vmf/core/shader_nodes/vertex_instanceid.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/vertex_instanceid.shader_node rename to vmf/core/shader_nodes/vertex_instanceid.shader_node diff --git a/vmf_source/core/shader_nodes/vertex_position.shader_node b/vmf/core/shader_nodes/vertex_position.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/vertex_position.shader_node rename to vmf/core/shader_nodes/vertex_position.shader_node diff --git a/vmf_source/core/shader_nodes/vertex_tangent.shader_node b/vmf/core/shader_nodes/vertex_tangent.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/vertex_tangent.shader_node rename to vmf/core/shader_nodes/vertex_tangent.shader_node diff --git a/vmf_source/core/shader_nodes/wave_displacement.shader_node b/vmf/core/shader_nodes/wave_displacement.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/wave_displacement.shader_node rename to vmf/core/shader_nodes/wave_displacement.shader_node diff --git a/vmf_source/core/shader_nodes/wind_amount.shader_node b/vmf/core/shader_nodes/wind_amount.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/wind_amount.shader_node rename to vmf/core/shader_nodes/wind_amount.shader_node diff --git a/vmf_source/core/shader_nodes/world_space_normal.shader_node b/vmf/core/shader_nodes/world_space_normal.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/world_space_normal.shader_node rename to vmf/core/shader_nodes/world_space_normal.shader_node diff --git a/vmf_source/core/shader_nodes/world_to_object.shader_node b/vmf/core/shader_nodes/world_to_object.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/world_to_object.shader_node rename to vmf/core/shader_nodes/world_to_object.shader_node diff --git a/vmf_source/core/shader_nodes/world_to_tangent.shader_node b/vmf/core/shader_nodes/world_to_tangent.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/world_to_tangent.shader_node rename to vmf/core/shader_nodes/world_to_tangent.shader_node diff --git a/vmf_source/core/shader_nodes/world_to_view.shader_node b/vmf/core/shader_nodes/world_to_view.shader_node similarity index 100% rename from vmf_source/core/shader_nodes/world_to_view.shader_node rename to vmf/core/shader_nodes/world_to_view.shader_node diff --git a/vmf_source/core/stingray_renderer/environments/color_grading_identity.dds b/vmf/core/stingray_renderer/environments/color_grading_identity.dds similarity index 100% rename from vmf_source/core/stingray_renderer/environments/color_grading_identity.dds rename to vmf/core/stingray_renderer/environments/color_grading_identity.dds diff --git a/vmf_source/core/stingray_renderer/environments/color_grading_identity.texture b/vmf/core/stingray_renderer/environments/color_grading_identity.texture similarity index 100% rename from vmf_source/core/stingray_renderer/environments/color_grading_identity.texture rename to vmf/core/stingray_renderer/environments/color_grading_identity.texture diff --git a/vmf_source/core/stingray_renderer/environments/default_shading_environment.object_creator_item b/vmf/core/stingray_renderer/environments/default_shading_environment.object_creator_item similarity index 100% rename from vmf_source/core/stingray_renderer/environments/default_shading_environment.object_creator_item rename to vmf/core/stingray_renderer/environments/default_shading_environment.object_creator_item diff --git a/vmf_source/core/stingray_renderer/environments/empty_black.dds b/vmf/core/stingray_renderer/environments/empty_black.dds similarity index 100% rename from vmf_source/core/stingray_renderer/environments/empty_black.dds rename to vmf/core/stingray_renderer/environments/empty_black.dds diff --git a/vmf_source/core/stingray_renderer/environments/empty_black.texture b/vmf/core/stingray_renderer/environments/empty_black.texture similarity index 100% rename from vmf_source/core/stingray_renderer/environments/empty_black.texture rename to vmf/core/stingray_renderer/environments/empty_black.texture diff --git a/vmf_source/core/stingray_renderer/environments/env_materials.material b/vmf/core/stingray_renderer/environments/env_materials.material similarity index 100% rename from vmf_source/core/stingray_renderer/environments/env_materials.material rename to vmf/core/stingray_renderer/environments/env_materials.material diff --git a/vmf_source/core/stingray_renderer/environments/lensdirt.dds b/vmf/core/stingray_renderer/environments/lensdirt.dds similarity index 100% rename from vmf_source/core/stingray_renderer/environments/lensdirt.dds rename to vmf/core/stingray_renderer/environments/lensdirt.dds diff --git a/vmf_source/core/stingray_renderer/environments/lensdirt.texture b/vmf/core/stingray_renderer/environments/lensdirt.texture similarity index 100% rename from vmf_source/core/stingray_renderer/environments/lensdirt.texture rename to vmf/core/stingray_renderer/environments/lensdirt.texture diff --git a/vmf_source/core/stingray_renderer/environments/midday/diffuse_cube.dds b/vmf/core/stingray_renderer/environments/midday/diffuse_cube.dds similarity index 100% rename from vmf_source/core/stingray_renderer/environments/midday/diffuse_cube.dds rename to vmf/core/stingray_renderer/environments/midday/diffuse_cube.dds diff --git a/vmf_source/core/stingray_renderer/environments/midday/diffuse_cube.texture b/vmf/core/stingray_renderer/environments/midday/diffuse_cube.texture similarity index 100% rename from vmf_source/core/stingray_renderer/environments/midday/diffuse_cube.texture rename to vmf/core/stingray_renderer/environments/midday/diffuse_cube.texture diff --git a/vmf_source/core/stingray_renderer/environments/midday/midday.shading_environment b/vmf/core/stingray_renderer/environments/midday/midday.shading_environment similarity index 100% rename from vmf_source/core/stingray_renderer/environments/midday/midday.shading_environment rename to vmf/core/stingray_renderer/environments/midday/midday.shading_environment diff --git a/vmf_source/core/stingray_renderer/environments/midday/midday_shading_environment.entity b/vmf/core/stingray_renderer/environments/midday/midday_shading_environment.entity similarity index 100% rename from vmf_source/core/stingray_renderer/environments/midday/midday_shading_environment.entity rename to vmf/core/stingray_renderer/environments/midday/midday_shading_environment.entity diff --git a/vmf_source/core/stingray_renderer/environments/midday/skydome.dds b/vmf/core/stingray_renderer/environments/midday/skydome.dds similarity index 100% rename from vmf_source/core/stingray_renderer/environments/midday/skydome.dds rename to vmf/core/stingray_renderer/environments/midday/skydome.dds diff --git a/vmf_source/core/stingray_renderer/environments/midday/skydome.texture b/vmf/core/stingray_renderer/environments/midday/skydome.texture similarity index 100% rename from vmf_source/core/stingray_renderer/environments/midday/skydome.texture rename to vmf/core/stingray_renderer/environments/midday/skydome.texture diff --git a/vmf_source/core/stingray_renderer/environments/midday/specular_cube.dds b/vmf/core/stingray_renderer/environments/midday/specular_cube.dds similarity index 100% rename from vmf_source/core/stingray_renderer/environments/midday/specular_cube.dds rename to vmf/core/stingray_renderer/environments/midday/specular_cube.dds diff --git a/vmf_source/core/stingray_renderer/environments/midday/specular_cube.texture b/vmf/core/stingray_renderer/environments/midday/specular_cube.texture similarity index 100% rename from vmf_source/core/stingray_renderer/environments/midday/specular_cube.texture rename to vmf/core/stingray_renderer/environments/midday/specular_cube.texture diff --git a/vmf_source/core/stingray_renderer/environments/outdoor.shading_environment_template b/vmf/core/stingray_renderer/environments/outdoor.shading_environment_template similarity index 100% rename from vmf_source/core/stingray_renderer/environments/outdoor.shading_environment_template rename to vmf/core/stingray_renderer/environments/outdoor.shading_environment_template diff --git a/vmf_source/core/stingray_renderer/output_nodes/anisotropic_base.shader_node b/vmf/core/stingray_renderer/output_nodes/anisotropic_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/anisotropic_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/anisotropic_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/billboard_base.shader_node b/vmf/core/stingray_renderer/output_nodes/billboard_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/billboard_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/billboard_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/billboard_unlit_base.shader_node b/vmf/core/stingray_renderer/output_nodes/billboard_unlit_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/billboard_unlit_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/billboard_unlit_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/decal_base.shader_node b/vmf/core/stingray_renderer/output_nodes/decal_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/decal_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/decal_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/light_base.shader_node b/vmf/core/stingray_renderer/output_nodes/light_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/light_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/light_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/particle_base.shader_node b/vmf/core/stingray_renderer/output_nodes/particle_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/particle_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/particle_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/particle_distortion_base.shader_node b/vmf/core/stingray_renderer/output_nodes/particle_distortion_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/particle_distortion_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/particle_distortion_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/particle_gbuffer_base.shader_node b/vmf/core/stingray_renderer/output_nodes/particle_gbuffer_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/particle_gbuffer_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/particle_gbuffer_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/probe_base.shader_node b/vmf/core/stingray_renderer/output_nodes/probe_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/probe_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/probe_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/ribbon_base.shader_node b/vmf/core/stingray_renderer/output_nodes/ribbon_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/ribbon_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/ribbon_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/skydome_base.shader_node b/vmf/core/stingray_renderer/output_nodes/skydome_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/skydome_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/skydome_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/standard_base.shader_node b/vmf/core/stingray_renderer/output_nodes/standard_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/standard_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/standard_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/standard_base_bitsquid.shader_node b/vmf/core/stingray_renderer/output_nodes/standard_base_bitsquid.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/standard_base_bitsquid.shader_node rename to vmf/core/stingray_renderer/output_nodes/standard_base_bitsquid.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/terrain_base.shader_node b/vmf/core/stingray_renderer/output_nodes/terrain_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/terrain_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/terrain_base.shader_node diff --git a/vmf_source/core/stingray_renderer/output_nodes/unlit_base.shader_node b/vmf/core/stingray_renderer/output_nodes/unlit_base.shader_node similarity index 100% rename from vmf_source/core/stingray_renderer/output_nodes/unlit_base.shader_node rename to vmf/core/stingray_renderer/output_nodes/unlit_base.shader_node diff --git a/vmf_source/core/stingray_renderer/shader_import/global_textures.config b/vmf/core/stingray_renderer/shader_import/global_textures.config similarity index 100% rename from vmf_source/core/stingray_renderer/shader_import/global_textures.config rename to vmf/core/stingray_renderer/shader_import/global_textures.config diff --git a/vmf_source/core/stingray_renderer/shader_import/no_uvs.material b/vmf/core/stingray_renderer/shader_import/no_uvs.material similarity index 100% rename from vmf_source/core/stingray_renderer/shader_import/no_uvs.material rename to vmf/core/stingray_renderer/shader_import/no_uvs.material diff --git a/vmf_source/core/stingray_renderer/shader_import/no_uvs_transparent.material b/vmf/core/stingray_renderer/shader_import/no_uvs_transparent.material similarity index 100% rename from vmf_source/core/stingray_renderer/shader_import/no_uvs_transparent.material rename to vmf/core/stingray_renderer/shader_import/no_uvs_transparent.material diff --git a/vmf_source/core/stingray_renderer/shader_import/standard.material b/vmf/core/stingray_renderer/shader_import/standard.material similarity index 100% rename from vmf_source/core/stingray_renderer/shader_import/standard.material rename to vmf/core/stingray_renderer/shader_import/standard.material diff --git a/vmf_source/core/stingray_renderer/shader_import/standard.shader_import b/vmf/core/stingray_renderer/shader_import/standard.shader_import similarity index 100% rename from vmf_source/core/stingray_renderer/shader_import/standard.shader_import rename to vmf/core/stingray_renderer/shader_import/standard.shader_import diff --git a/vmf_source/core/stingray_renderer/shader_import/standard_masked.material b/vmf/core/stingray_renderer/shader_import/standard_masked.material similarity index 100% rename from vmf_source/core/stingray_renderer/shader_import/standard_masked.material rename to vmf/core/stingray_renderer/shader_import/standard_masked.material diff --git a/vmf_source/core/stingray_renderer/shader_import/standard_transparent.material b/vmf/core/stingray_renderer/shader_import/standard_transparent.material similarity index 100% rename from vmf_source/core/stingray_renderer/shader_import/standard_transparent.material rename to vmf/core/stingray_renderer/shader_import/standard_transparent.material diff --git a/vmf_source/core/stingray_renderer/shader_libraries/common.shader_source b/vmf/core/stingray_renderer/shader_libraries/common.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/common.shader_source rename to vmf/core/stingray_renderer/shader_libraries/common.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/compute.shader_source b/vmf/core/stingray_renderer/shader_libraries/compute.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/compute.shader_source rename to vmf/core/stingray_renderer/shader_libraries/compute.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/decals.shader_source b/vmf/core/stingray_renderer/shader_libraries/decals.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/decals.shader_source rename to vmf/core/stingray_renderer/shader_libraries/decals.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/default_shaders.shader_source b/vmf/core/stingray_renderer/shader_libraries/default_shaders.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/default_shaders.shader_source rename to vmf/core/stingray_renderer/shader_libraries/default_shaders.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/default_shaders_mobile.shader_source b/vmf/core/stingray_renderer/shader_libraries/default_shaders_mobile.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/default_shaders_mobile.shader_source rename to vmf/core/stingray_renderer/shader_libraries/default_shaders_mobile.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/development.shader_source b/vmf/core/stingray_renderer/shader_libraries/development.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/development.shader_source rename to vmf/core/stingray_renderer/shader_libraries/development.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/extra.shader_source b/vmf/core/stingray_renderer/shader_libraries/extra.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/extra.shader_source rename to vmf/core/stingray_renderer/shader_libraries/extra.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/fxaa.shader_source b/vmf/core/stingray_renderer/shader_libraries/fxaa.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/fxaa.shader_source rename to vmf/core/stingray_renderer/shader_libraries/fxaa.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/gui.shader_source b/vmf/core/stingray_renderer/shader_libraries/gui.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/gui.shader_source rename to vmf/core/stingray_renderer/shader_libraries/gui.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/heatmap.shader_source b/vmf/core/stingray_renderer/shader_libraries/heatmap.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/heatmap.shader_source rename to vmf/core/stingray_renderer/shader_libraries/heatmap.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/lighting.shader_source b/vmf/core/stingray_renderer/shader_libraries/lighting.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/lighting.shader_source rename to vmf/core/stingray_renderer/shader_libraries/lighting.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/lighting_common.shader_source b/vmf/core/stingray_renderer/shader_libraries/lighting_common.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/lighting_common.shader_source rename to vmf/core/stingray_renderer/shader_libraries/lighting_common.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/noise.shader_source b/vmf/core/stingray_renderer/shader_libraries/noise.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/noise.shader_source rename to vmf/core/stingray_renderer/shader_libraries/noise.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/particle_billboard.shader_source b/vmf/core/stingray_renderer/shader_libraries/particle_billboard.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/particle_billboard.shader_source rename to vmf/core/stingray_renderer/shader_libraries/particle_billboard.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/particle_lighting_common.shader_source b/vmf/core/stingray_renderer/shader_libraries/particle_lighting_common.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/particle_lighting_common.shader_source rename to vmf/core/stingray_renderer/shader_libraries/particle_lighting_common.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/particle_ribbon.shader_source b/vmf/core/stingray_renderer/shader_libraries/particle_ribbon.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/particle_ribbon.shader_source rename to vmf/core/stingray_renderer/shader_libraries/particle_ribbon.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/placeholders.shader_source b/vmf/core/stingray_renderer/shader_libraries/placeholders.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/placeholders.shader_source rename to vmf/core/stingray_renderer/shader_libraries/placeholders.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/post_processing.shader_source b/vmf/core/stingray_renderer/shader_libraries/post_processing.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/post_processing.shader_source rename to vmf/core/stingray_renderer/shader_libraries/post_processing.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/post_processing_common.shader_source b/vmf/core/stingray_renderer/shader_libraries/post_processing_common.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/post_processing_common.shader_source rename to vmf/core/stingray_renderer/shader_libraries/post_processing_common.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/sampling_common.shader_source b/vmf/core/stingray_renderer/shader_libraries/sampling_common.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/sampling_common.shader_source rename to vmf/core/stingray_renderer/shader_libraries/sampling_common.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/shadow_map_common.shader_source b/vmf/core/stingray_renderer/shader_libraries/shadow_map_common.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/shadow_map_common.shader_source rename to vmf/core/stingray_renderer/shader_libraries/shadow_map_common.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/terrain.shader_source b/vmf/core/stingray_renderer/shader_libraries/terrain.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/terrain.shader_source rename to vmf/core/stingray_renderer/shader_libraries/terrain.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/terrain_utilities.shader_source b/vmf/core/stingray_renderer/shader_libraries/terrain_utilities.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/terrain_utilities.shader_source rename to vmf/core/stingray_renderer/shader_libraries/terrain_utilities.shader_source diff --git a/vmf_source/core/stingray_renderer/shader_libraries/water.shader_source b/vmf/core/stingray_renderer/shader_libraries/water.shader_source similarity index 100% rename from vmf_source/core/stingray_renderer/shader_libraries/water.shader_source rename to vmf/core/stingray_renderer/shader_libraries/water.shader_source diff --git a/vmf_source/gui/vmf/.gitignore b/vmf/gui/vmf/.gitignore similarity index 100% rename from vmf_source/gui/vmf/.gitignore rename to vmf/gui/vmf/.gitignore diff --git a/vmf_source/gui/vmf/header_fav_arrow.dds b/vmf/gui/vmf/header_fav_arrow.dds similarity index 100% rename from vmf_source/gui/vmf/header_fav_arrow.dds rename to vmf/gui/vmf/header_fav_arrow.dds diff --git a/vmf_source/gui/vmf/header_fav_arrow.texture b/vmf/gui/vmf/header_fav_arrow.texture similarity index 100% rename from vmf_source/gui/vmf/header_fav_arrow.texture rename to vmf/gui/vmf/header_fav_arrow.texture diff --git a/vmf_source/gui/vmf/header_fav_icon.dds b/vmf/gui/vmf/header_fav_icon.dds similarity index 100% rename from vmf_source/gui/vmf/header_fav_icon.dds rename to vmf/gui/vmf/header_fav_icon.dds diff --git a/vmf_source/gui/vmf/header_fav_icon.texture b/vmf/gui/vmf/header_fav_icon.texture similarity index 100% rename from vmf_source/gui/vmf/header_fav_icon.texture rename to vmf/gui/vmf/header_fav_icon.texture diff --git a/vmf_source/gui/vmf/header_fav_icon_lit.dds b/vmf/gui/vmf/header_fav_icon_lit.dds similarity index 100% rename from vmf_source/gui/vmf/header_fav_icon_lit.dds rename to vmf/gui/vmf/header_fav_icon_lit.dds diff --git a/vmf_source/gui/vmf/header_fav_icon_lit.texture b/vmf/gui/vmf/header_fav_icon_lit.texture similarity index 100% rename from vmf_source/gui/vmf/header_fav_icon_lit.texture rename to vmf/gui/vmf/header_fav_icon_lit.texture diff --git a/vmf_source/gui/vmf/mutator_button.dds b/vmf/gui/vmf/mutator_button.dds similarity index 100% rename from vmf_source/gui/vmf/mutator_button.dds rename to vmf/gui/vmf/mutator_button.dds diff --git a/vmf_source/gui/vmf/mutator_button.texture b/vmf/gui/vmf/mutator_button.texture similarity index 100% rename from vmf_source/gui/vmf/mutator_button.texture rename to vmf/gui/vmf/mutator_button.texture diff --git a/vmf_source/gui/vmf/mutator_button_hover.dds b/vmf/gui/vmf/mutator_button_hover.dds similarity index 100% rename from vmf_source/gui/vmf/mutator_button_hover.dds rename to vmf/gui/vmf/mutator_button_hover.dds diff --git a/vmf_source/gui/vmf/mutator_button_hover.texture b/vmf/gui/vmf/mutator_button_hover.texture similarity index 100% rename from vmf_source/gui/vmf/mutator_button_hover.texture rename to vmf/gui/vmf/mutator_button_hover.texture diff --git a/vmf_source/gui/vmf/search_bar_icon.dds b/vmf/gui/vmf/search_bar_icon.dds similarity index 100% rename from vmf_source/gui/vmf/search_bar_icon.dds rename to vmf/gui/vmf/search_bar_icon.dds diff --git a/vmf_source/gui/vmf/search_bar_icon.texture b/vmf/gui/vmf/search_bar_icon.texture similarity index 100% rename from vmf_source/gui/vmf/search_bar_icon.texture rename to vmf/gui/vmf/search_bar_icon.texture diff --git a/vmf/item.cfg b/vmf/item.cfg new file mode 100644 index 0000000..d8ef81e --- /dev/null +++ b/vmf/item.cfg @@ -0,0 +1,7 @@ +title = "Vermintide Mod Framework"; +description = "My Description"; +preview = "preview.jpg"; +content = "dist"; +language = "english"; +visibility = "private"; +published_id = 1289946781L; diff --git a/vmf_source/localization/mutator_manager.lua b/vmf/localization/mutator_manager.lua similarity index 100% rename from vmf_source/localization/mutator_manager.lua rename to vmf/localization/mutator_manager.lua diff --git a/vmf_source/localization/vmf.lua b/vmf/localization/vmf.lua similarity index 100% rename from vmf_source/localization/vmf.lua rename to vmf/localization/vmf.lua diff --git a/vmf_source/materials/vmf/header_fav_arrow.material b/vmf/materials/vmf/header_fav_arrow.material similarity index 100% rename from vmf_source/materials/vmf/header_fav_arrow.material rename to vmf/materials/vmf/header_fav_arrow.material diff --git a/vmf_source/materials/vmf/header_fav_icon.material b/vmf/materials/vmf/header_fav_icon.material similarity index 100% rename from vmf_source/materials/vmf/header_fav_icon.material rename to vmf/materials/vmf/header_fav_icon.material diff --git a/vmf_source/materials/vmf/header_fav_icon_lit.material b/vmf/materials/vmf/header_fav_icon_lit.material similarity index 100% rename from vmf_source/materials/vmf/header_fav_icon_lit.material rename to vmf/materials/vmf/header_fav_icon_lit.material diff --git a/vmf_source/materials/vmf/mutator_button.material b/vmf/materials/vmf/mutator_button.material similarity index 100% rename from vmf_source/materials/vmf/mutator_button.material rename to vmf/materials/vmf/mutator_button.material diff --git a/vmf_source/materials/vmf/mutator_button_hover.material b/vmf/materials/vmf/mutator_button_hover.material similarity index 100% rename from vmf_source/materials/vmf/mutator_button_hover.material rename to vmf/materials/vmf/mutator_button_hover.material diff --git a/vmf_source/materials/vmf/search_bar_icon.material b/vmf/materials/vmf/search_bar_icon.material similarity index 100% rename from vmf_source/materials/vmf/search_bar_icon.material rename to vmf/materials/vmf/search_bar_icon.material diff --git a/vmf/preview.jpg b/vmf/preview.jpg new file mode 100644 index 0000000..6104d0b Binary files /dev/null and b/vmf/preview.jpg differ diff --git a/vmf_source/resource_packages/vmf.package b/vmf/resource_packages/vmf.package similarity index 100% rename from vmf_source/resource_packages/vmf.package rename to vmf/resource_packages/vmf.package diff --git a/vmf_source/scripts/mods/vmf/functions/table.lua b/vmf/scripts/mods/vmf/functions/table.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/functions/table.lua rename to vmf/scripts/mods/vmf/functions/table.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/chat.lua b/vmf/scripts/mods/vmf/modules/core/chat.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/chat.lua rename to vmf/scripts/mods/vmf/modules/core/chat.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/core_functions.lua b/vmf/scripts/mods/vmf/modules/core/core_functions.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/core_functions.lua rename to vmf/scripts/mods/vmf/modules/core/core_functions.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/delayed_chat_messages.lua b/vmf/scripts/mods/vmf/modules/core/delayed_chat_messages.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/delayed_chat_messages.lua rename to vmf/scripts/mods/vmf/modules/core/delayed_chat_messages.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/events.lua b/vmf/scripts/mods/vmf/modules/core/events.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/events.lua rename to vmf/scripts/mods/vmf/modules/core/events.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/hooks.lua b/vmf/scripts/mods/vmf/modules/core/hooks.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/hooks.lua rename to vmf/scripts/mods/vmf/modules/core/hooks.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/keybindings.lua b/vmf/scripts/mods/vmf/modules/core/keybindings.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/keybindings.lua rename to vmf/scripts/mods/vmf/modules/core/keybindings.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/localization.lua b/vmf/scripts/mods/vmf/modules/core/localization.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/localization.lua rename to vmf/scripts/mods/vmf/modules/core/localization.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/network.lua b/vmf/scripts/mods/vmf/modules/core/network.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/network.lua rename to vmf/scripts/mods/vmf/modules/core/network.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/settings.lua b/vmf/scripts/mods/vmf/modules/core/settings.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/settings.lua rename to vmf/scripts/mods/vmf/modules/core/settings.lua diff --git a/vmf_source/scripts/mods/vmf/modules/core/toggling.lua b/vmf/scripts/mods/vmf/modules/core/toggling.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/core/toggling.lua rename to vmf/scripts/mods/vmf/modules/core/toggling.lua diff --git a/vmf_source/scripts/mods/vmf/modules/debug/dev_console.lua b/vmf/scripts/mods/vmf/modules/debug/dev_console.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/debug/dev_console.lua rename to vmf/scripts/mods/vmf/modules/debug/dev_console.lua diff --git a/vmf_source/scripts/mods/vmf/modules/debug/table_dump.lua b/vmf/scripts/mods/vmf/modules/debug/table_dump.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/debug/table_dump.lua rename to vmf/scripts/mods/vmf/modules/debug/table_dump.lua diff --git a/vmf_source/scripts/mods/vmf/modules/gui/custom_menus.lua b/vmf/scripts/mods/vmf/modules/gui/custom_menus.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/gui/custom_menus.lua rename to vmf/scripts/mods/vmf/modules/gui/custom_menus.lua diff --git a/vmf_source/scripts/mods/vmf/modules/gui/custom_textures.lua b/vmf/scripts/mods/vmf/modules/gui/custom_textures.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/gui/custom_textures.lua rename to vmf/scripts/mods/vmf/modules/gui/custom_textures.lua diff --git a/vmf_source/scripts/mods/vmf/modules/gui/ui_scaling.lua b/vmf/scripts/mods/vmf/modules/gui/ui_scaling.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/gui/ui_scaling.lua rename to vmf/scripts/mods/vmf/modules/gui/ui_scaling.lua diff --git a/vmf_source/scripts/mods/vmf/modules/mods.lua b/vmf/scripts/mods/vmf/modules/mods.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/mods.lua rename to vmf/scripts/mods/vmf/modules/mods.lua diff --git a/vmf_source/scripts/mods/vmf/modules/mutators/README.md b/vmf/scripts/mods/vmf/modules/mutators/README.md similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/mutators/README.md rename to vmf/scripts/mods/vmf/modules/mutators/README.md diff --git a/vmf_source/scripts/mods/vmf/modules/mutators/mutator_default_config.lua b/vmf/scripts/mods/vmf/modules/mutators/mutator_default_config.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/mutators/mutator_default_config.lua rename to vmf/scripts/mods/vmf/modules/mutators/mutator_default_config.lua diff --git a/vmf_source/scripts/mods/vmf/modules/mutators/mutator_dice.lua b/vmf/scripts/mods/vmf/modules/mutators/mutator_dice.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/mutators/mutator_dice.lua rename to vmf/scripts/mods/vmf/modules/mutators/mutator_dice.lua diff --git a/vmf_source/scripts/mods/vmf/modules/mutators/mutator_gui.lua b/vmf/scripts/mods/vmf/modules/mutators/mutator_gui.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/mutators/mutator_gui.lua rename to vmf/scripts/mods/vmf/modules/mutators/mutator_gui.lua diff --git a/vmf_source/scripts/mods/vmf/modules/mutators/mutator_gui_definitions.lua b/vmf/scripts/mods/vmf/modules/mutators/mutator_gui_definitions.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/mutators/mutator_gui_definitions.lua rename to vmf/scripts/mods/vmf/modules/mutators/mutator_gui_definitions.lua diff --git a/vmf_source/scripts/mods/vmf/modules/mutators/mutator_info.lua b/vmf/scripts/mods/vmf/modules/mutators/mutator_info.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/mutators/mutator_info.lua rename to vmf/scripts/mods/vmf/modules/mutators/mutator_info.lua diff --git a/vmf_source/scripts/mods/vmf/modules/mutators/mutator_manager.lua b/vmf/scripts/mods/vmf/modules/mutators/mutator_manager.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/mutators/mutator_manager.lua rename to vmf/scripts/mods/vmf/modules/mutators/mutator_manager.lua diff --git a/vmf_source/scripts/mods/vmf/modules/options_menu/vmf_options_view.lua b/vmf/scripts/mods/vmf/modules/options_menu/vmf_options_view.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/options_menu/vmf_options_view.lua rename to vmf/scripts/mods/vmf/modules/options_menu/vmf_options_view.lua diff --git a/vmf_source/scripts/mods/vmf/modules/testing_stuff_here.lua b/vmf/scripts/mods/vmf/modules/testing_stuff_here.lua similarity index 54% rename from vmf_source/scripts/mods/vmf/modules/testing_stuff_here.lua rename to vmf/scripts/mods/vmf/modules/testing_stuff_here.lua index 521d340..377aa2f 100644 --- a/vmf_source/scripts/mods/vmf/modules/testing_stuff_here.lua +++ b/vmf/scripts/mods/vmf/modules/testing_stuff_here.lua @@ -107,16 +107,238 @@ local options_widgets = { } } ---mod:create_options(options_widgets, true, "Test", "Mod description") +mod:create_options(options_widgets, true, "Test", "Mod description") -- chat_broadcast mod.whatever = function () - mod:echo("whatever") + --mod:echo("whatever") + +--[[ + mod:pcall(function() + + local some_table = {1, 2, 3, nil, 4} + + local some_string = "" + + some_table[5] = nil + for i = 1, #some_table do + some_string = some_string .. tostring(some_table[i]) + end + + mod:echo(some_string) + mod:echo(#some_table) + + for _, member in pairs(Managers.chat:channel_members(1)) do + RPC.rpc_chat_message(member, 3, Network.peer_id(), table.serialize(some_table), "", false, true, false) + end + end)]] + + --mod:network_send("rpc_whatever", "all", 1, "yay", true, nil, {4, 5}) + + mod:pcall(function() + RPC.rpc_play_simple_particle_with_vector_variable(Managers.player:local_player().peer_id, 27, Vector3(-3.72465, -1.52876, 2.02713), 32, Vector3(5, 1, 1)) + end) + + + --mod.simulate(1, "yay", true, Managers.player.network_manager.matchmaking_manager.matchmaking_ui.ingame_ui.wwise_world, {4, 5}) + --mod.simulate(1, "yay", true, nil, {4, 5}) + + + + --mod.custom_mod_rpc() +end + --ingame_ui.handle_transition(ingame_ui, "leave_group") + +function mod.simulate(...) + + --mod:echo("ONE: " .. select("#", ...)) + + local jtable = { + something = 5, + well = "asd", + yay = "s" + } + + jtable.what = nil + + + + local tbl = {...} + --tbl[4] = "what" + --tbl[5] = tbl[5] + --tbl[4] = nil + tbl[10] = 4 + tbl[12] = 4 + --tbl["hmm"] = "hmm" + + --mod:echo("777: " .. cjson.encode(tbl)) + + -- mod:echo("ONE: " .. #tbl) + --mod:echo("ONE: " .. tostring(tbl[5])) + + --local data = table.serialize({...}) + local data = cjson.encode(tbl) + + --data[10] = 3 + mod:echo("XXX:" .. data) + --data = data:gsub('null','') + --local data2 = table.deserialize(data) + local data2 = cjson.decode(data) + + mod.custom_mod_rpc(unpack(data2)) + + for i,v in ipairs(data2) do + if type(data2[i]) == "userdata" then + data2[i] = nil + break + end + end + + mod:echo("ONE: " .. select("#", unpack(data2))) + + mod.game_state_changed(unpack(data2, 1, 5)) end -mod.game_state_changed = function () - --mod:echo("whatever" .. nil) +mod.game_state_changed = function (a1, a2, a3, a4, a5) + mod:echo("RECEIVED PARAMETERS: [1: " .. tostring (a1) .. "], [2:" .. tostring (a2) .. "], [3:" .. tostring (a3) .. "], [4:" .. tostring (a4) .. "], [5:" .. tostring (a5) .. "]") end + + +mod.custom_mod_rpc = function (...) + local args = {...} + local result = "You recieved custom RPC: " + for i = 1, #args do + result = result .. tostring(args[i]) .. " (" .. type(args[i]) .. "), " + end + mod:echo(result .. "[%s arguments]" .. tostring(args[5]), #args) + --local srt = "s" .. nil +end + +mod:pcall( + function() + --Managers.state.network._event_delegate:unregister(mod, "custom_mod_rpc") + --Managers.state.network._event_delegate:register(mod, "custom_mod_rpc") + --Managers.state.network:register_rpc_callbacks(mod, "custom_mod_rpc") + end +) + + +mod:network_register("rpc_whatever", mod.game_state_changed) +mod:network_register("yo",mod.game_state_changed) +mod:network_register("test", mod.game_state_changed) + +--mod:hook("bla.bla", mod.game_state_changed) +--mod:hook("bla.bla2", mod.game_state_changed) +--mod:hook("bla.bla3", mod.game_state_changed) + +local mod3 = new_mod("test_mod3") +--mod3:hook("bla.bla", mod.game_state_changed) +--mod3:hook("bla.bla2", mod.game_state_changed) +--mod3:hook("bla.bla3", mod.game_state_changed) +mod3:network_register("what", mod.game_state_changed) + +--[[ +mod:hook("ChatManager.rpc_chat_message", function (func, self, sender, channel_id, message_sender, message, localization_param, is_system_message, pop_chat, is_dev) + + if channel_id > 1 then + mod:echo(message) + else + func(self, sender, channel_id, message_sender, message, localization_param, is_system_message, pop_chat, is_dev) + end +end) +]] + +--[[ USEFULL STUFF + + + +mod:hook("ProfileSynchronizer.register_rpcs", function (func, self, network_event_delegate, network_transmit) + func(self, network_event_delegate, network_transmit) + + network_event_delegate:register(mod, "custom_mod_rpc") + mod:echo("It's called, ffs") +end) + + + +mod:hook("ProfileSynchronizer.unregister_network_events", function (func, self) + + if self._network_event_delegate then + self._network_event_delegate:unregister(mod) + end + + func(self) +end) + + + + + +--StateIngame.on_enter: +-- ScriptBackendSession.init(network_event_delegate, disable_backend_sessions) +-- backend_session:register_rpcs(network_event_delegate) + +--mod:dtf(Managers.state.network._event_delegate.event_table, "RPC", 2) +--mod:dtf(Managers.state.network._event_delegate, "_event_delegate", 2) + +mod:dtf(Network, "Network", 2) + + + +mod:hook("PlayerManager.add_remote_player", function (func, self, peer_id, player_controlled, local_player_id, clan_tag) + + mod:echo("PlayerManager.add_remote_player: " .. tostring(peer_id) .. ", " .. tostring(local_player_id)) + return func(self, peer_id, player_controlled, local_player_id, clan_tag) +end) + +mod:hook("PlayerManager.add_player", function (func, self, input_source, viewport_name, viewport_world_name, local_player_id) + + mod:echo("PlayerManager.add_player: " .. tostring(local_player_id)) + return func(self, input_source, viewport_name, viewport_world_name, local_player_id) +end) + +mod:hook("PlayerManager.remove_player", function (func, self, peer_id, local_player_id) + + func(self, peer_id, local_player_id) + mod:echo("PlayerManager.remove_player: " .. tostring(peer_id) .. ", " .. tostring(local_player_id)) +end) +--]] + + + + + + + + + +--[[ +mod:hook("PeerStateMachine.create", function (func, server, peer_id, xb1_preconnect) + + mod:echo("PeerStateMachine.create: " .. tostring(server) .. ", " .. tostring(peer_id)) + return func(server, peer_id, xb1_preconnect) +end) +]] + + + + + + + + + + + + + + + + + + + + --[[ mod:hook("KeystrokeHelper.parse_strokes", function(func, text, index, mode, keystrokes) diff --git a/vmf_source/scripts/mods/vmf/modules/vmf_options.lua b/vmf/scripts/mods/vmf/modules/vmf_options.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/modules/vmf_options.lua rename to vmf/scripts/mods/vmf/modules/vmf_options.lua diff --git a/vmf_source/scripts/mods/vmf/vmf_loader.lua b/vmf/scripts/mods/vmf/vmf_loader.lua similarity index 100% rename from vmf_source/scripts/mods/vmf/vmf_loader.lua rename to vmf/scripts/mods/vmf/vmf_loader.lua diff --git a/vmf_source/settings.ini b/vmf/settings.ini similarity index 100% rename from vmf_source/settings.ini rename to vmf/settings.ini diff --git a/vmf_source/vmf.mod b/vmf/vmf.mod similarity index 100% rename from vmf_source/vmf.mod rename to vmf/vmf.mod