Browse Source

Update for Techblox

tags/v1.2.0
NorbiPeti 3 years ago
parent
commit
a83eb1d405
Signed by: NorbiPeti <szatmari.norbert.peter@gmail.com> GPG Key ID: DBA4C4549A927E56
2 changed files with 440 additions and 261 deletions
  1. +438
    -258
      BuildingTools/BuildingTools.csproj
  2. +2
    -3
      BuildingTools/NoClipCommand.cs

+ 438
- 258
BuildingTools/BuildingTools.csproj
File diff suppressed because it is too large
View File


+ 2
- 3
BuildingTools/NoClipCommand.cs View File

@@ -7,7 +7,6 @@ using GamecraftModdingAPI.Players;
using GamecraftModdingAPI.Utility;
using HarmonyLib;
using RobocraftX.Character;
using RobocraftX.Character.Camera;
using RobocraftX.Character.Factories;
using RobocraftX.Character.Movement;
using RobocraftX.Common;
@@ -100,9 +99,9 @@ namespace BuildingTools

private void EnsureFlying()
{
foreach (var ((coll, count), _) in entitiesDB.QueryEntities<CharacterMovementEntityStruct>(CharacterExclusiveGroups.AllCharacters))
/*foreach (var ((coll, count), _) in entitiesDB.QueryEntities<CharacterMovementEntityStruct>(CharacterExclusiveGroups.AllCharacters))
for (int i = 0; i < count; i++)
coll[i].moveState = MovementState.Flying;
coll[i].moveState = MovementState.Flying;*/
}

public void Ready()


Loading…
Cancel
Save