14 work
This commit is contained in:
parent
f2b56ede39
commit
553e929487
75 changed files with 200 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -14,6 +14,7 @@ Saved
|
|||
*.xcworkspace
|
||||
|
||||
Content/StreetMap/*
|
||||
Content/Characters/*
|
||||
Plugins/StreetMap/Binaries/*
|
||||
Plugins/StreetMap/Intermediate/*
|
||||
Content/StreetMap/CentralLondon.uasset
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ GameInstanceClass=/Game/BPs/GI.GI_C
|
|||
GameDefaultMap=/Game/Scenes/CentralLondon.CentralLondon
|
||||
EditorStartupMap=/Game/Scenes/CentralLondon.CentralLondon
|
||||
|
||||
[/Script/Engine.RendererSettings]
|
||||
r.DefaultFeature.AntiAliasing=2
|
||||
|
||||
[/Script/Engine.PhysicsSettings]
|
||||
DefaultGravityZ=-980.000000
|
||||
DefaultTerminalVelocity=4000.000000
|
||||
|
|
@ -53,4 +56,3 @@ AsyncSceneSmoothingFactor=0.990000
|
|||
InitialAverageFrameRate=0.016667
|
||||
PhysXTreeRebuildRate=10
|
||||
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/BPs/Person.uasset
Normal file
BIN
Content/BPs/Person.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/Render/BackgroundMaterial.uasset
Normal file
BIN
Content/Render/BackgroundMaterial.uasset
Normal file
Binary file not shown.
BIN
Content/Render/FaceMaterial.uasset
Normal file
BIN
Content/Render/FaceMaterial.uasset
Normal file
Binary file not shown.
BIN
Content/Render/FaceRT.uasset
Normal file
BIN
Content/Render/FaceRT.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/UI/Action.uasset
Normal file
BIN
Content/UI/Action.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Backgrounds/sports_centre.uasset
Normal file
BIN
Content/UI/Backgrounds/sports_centre.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Alcohol.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Alcohol.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Bag.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Bag.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Bakery.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Bakery.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Beauty.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Beauty.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Beverages.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Beverages.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Bicycle.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Bicycle.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Books.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Books.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Butcher.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Butcher.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Chemist.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Chemist.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Clothes.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Clothes.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Coffee.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Coffee.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Computer.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Computer.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Confectionery.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Confectionery.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Convenience.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Convenience.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Copyshop.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Copyshop.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Cosmestics.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Cosmestics.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Deli.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Deli.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Department_store.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Department_store.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Doityourself.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Doityourself.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Electronics.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Electronics.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Florist.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Florist.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Furniture.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Furniture.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Garden_centre.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Garden_centre.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Gift.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Gift.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Greengrocer.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Greengrocer.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Hairdresser.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Hairdresser.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Jewellery.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Jewellery.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Laundry.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Laundry.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Mobile_phone.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Mobile_phone.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Musical_instrument.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Musical_instrument.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Newsagent.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Newsagent.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Optician.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Optician.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Outdoor.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Outdoor.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Pet.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Pet.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Photo.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Photo.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Seafood.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Seafood.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Shoes.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Shoes.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Sports.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Sports.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Stationery.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Stationery.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Supermarket.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Supermarket.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Tea.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Tea.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Tobacco.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Tobacco.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Toys.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Toys.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Travel_agency.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Travel_agency.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/Variety_store.uasset
Normal file
BIN
Content/UI/Icons/Amenities/Variety_store.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/car.uasset
Normal file
BIN
Content/UI/Icons/Amenities/car.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Icons/Amenities/motorcycle.uasset
Normal file
BIN
Content/UI/Icons/Amenities/motorcycle.uasset
Normal file
Binary file not shown.
Binary file not shown.
25
DesignIdeas.txt
Normal file
25
DesignIdeas.txt
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Stats (0 - 100)
|
||||
From Red to Green
|
||||
|
||||
Short-term
|
||||
1. Mood
|
||||
2. Energy
|
||||
3. Arousal
|
||||
|
||||
Long-term (regular activity increases, if not, deteriorate)
|
||||
1. Attractiveness
|
||||
2. Fitness
|
||||
3. Intelligence
|
||||
4. Interpersonal Skills
|
||||
5. Perversion
|
||||
|
||||
Inventory
|
||||
1. Money (in local currency)
|
||||
2. Apparel (buff to attractiveness, with tags for work, formal, casual, sports etc)
|
||||
3. All other items
|
||||
|
||||
Effect:
|
||||
1. Hungry
|
||||
2. Ill
|
||||
3. Injured
|
||||
|
||||
1
Events/vin_TestEvent.lifeplay
Normal file
1
Events/vin_TestEvent.lifeplay
Normal file
|
|
@ -0,0 +1 @@
|
|||
Hello
|
||||
23
Plugins/ModdingPlus/ModdingPlus.uplugin
Normal file
23
Plugins/ModdingPlus/ModdingPlus.uplugin
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "1.0",
|
||||
"FriendlyName": "ModdingPlus",
|
||||
"Description": "Expands UE4's modding capacity",
|
||||
"Category": "Other",
|
||||
"CreatedBy": "Vinfamy",
|
||||
"CreatedByURL": "",
|
||||
"DocsURL": "",
|
||||
"MarketplaceURL": "",
|
||||
"SupportURL": "",
|
||||
"CanContainContent": true,
|
||||
"IsBetaVersion": false,
|
||||
"Installed": false,
|
||||
"Modules": [
|
||||
{
|
||||
"Name": "ModdingPlus",
|
||||
"Type": "Developer",
|
||||
"LoadingPhase": "Default"
|
||||
}
|
||||
]
|
||||
}
|
||||
55
Plugins/ModdingPlus/Source/ModdingPlus/ModdingPlus.Build.cs
Normal file
55
Plugins/ModdingPlus/Source/ModdingPlus/ModdingPlus.Build.cs
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class ModdingPlus : ModuleRules
|
||||
{
|
||||
public ModdingPlus(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
|
||||
PublicIncludePaths.AddRange(
|
||||
new string[] {
|
||||
"ModdingPlus/Public"
|
||||
// ... add public include paths required here ...
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
PrivateIncludePaths.AddRange(
|
||||
new string[] {
|
||||
"ModdingPlus/Private",
|
||||
// ... add other private include paths required here ...
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
PublicDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"Core",
|
||||
// ... add other public dependencies that you statically link with here ...
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"CoreUObject",
|
||||
"Engine",
|
||||
"Slate",
|
||||
"SlateCore",
|
||||
// ... add private dependencies that you statically link with here ...
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
DynamicallyLoadedModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
// ... add any modules that your module loads dynamically here ...
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#include "ModdingPlus.h"
|
||||
|
||||
#define LOCTEXT_NAMESPACE "FModdingPlusModule"
|
||||
|
||||
/**
|
||||
void FModdingPlusModule::StartupModule()
|
||||
{
|
||||
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
|
||||
}
|
||||
|
||||
void FModdingPlusModule::ShutdownModule()
|
||||
{
|
||||
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
|
||||
// we call this function before unloading the module.
|
||||
}
|
||||
*/
|
||||
|
||||
bool UModdingPlus::GetAllFilesFromFolder(TArray<FString>& Files, FString RootFolderFullPath, FString Ext)
|
||||
{
|
||||
if(RootFolderFullPath.Len() < 1) return false;
|
||||
|
||||
// FPaths::NormalizeDirectoryName(RootFolderFullPath);
|
||||
|
||||
//RootFolderFullPath = FPaths::ConvertRelativePathToFull(RootFolderFullPath);
|
||||
|
||||
IFileManager& FileManager = IFileManager::Get();
|
||||
|
||||
FString RelativePath = FPaths::GameDir();
|
||||
FString FullPath = FileManager.ConvertToAbsolutePathForExternalAppForRead(*RelativePath);
|
||||
|
||||
if(Ext == "")
|
||||
{
|
||||
Ext = "*.*";
|
||||
}
|
||||
else
|
||||
{
|
||||
Ext = (Ext.Left(1) == ".") ? "*" + Ext : "*." + Ext;
|
||||
}
|
||||
|
||||
FString FinalPath = FullPath + "/" + RootFolderFullPath + "/" + Ext;
|
||||
FileManager.FindFiles(Files, *FinalPath, true, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool UModdingPlus::LoadTxt(FString FileNameA, FString& SaveTextA)
|
||||
{
|
||||
return FFileHelper::LoadFileToString(SaveTextA, *(FPaths::GameDir() + FileNameA));
|
||||
}
|
||||
|
||||
#undef LOCTEXT_NAMESPACE
|
||||
|
||||
IMPLEMENT_MODULE(FModdingPlusModule, ModdingPlus)
|
||||
|
||||
30
Plugins/ModdingPlus/Source/ModdingPlus/Public/ModdingPlus.h
Normal file
30
Plugins/ModdingPlus/Source/ModdingPlus/Public/ModdingPlus.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "ModuleManager.h"
|
||||
#include "ModdingPlus.generated.h"
|
||||
|
||||
class FModdingPlusModule : public IModuleInterface
|
||||
{
|
||||
public:
|
||||
|
||||
/** IModuleInterface implementation */
|
||||
//virtual void StartupModule() override;
|
||||
//virtual void ShutdownModule() override;
|
||||
};
|
||||
|
||||
UCLASS()
|
||||
class UModdingPlus : public UObject
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
|
||||
UFUNCTION(BlueprintPure, Category = "ModdingPlus")
|
||||
static bool GetAllFilesFromFolder(TArray<FString>& Files, FString RootFolderFullPath, FString Ext);
|
||||
|
||||
UFUNCTION(BlueprintPure, Category = "ModdingPlus", meta = (Keywords = "LoadTxt"))
|
||||
static bool LoadTxt(FString FileNameA, FString& SaveTextA);
|
||||
};
|
||||
|
|
@ -380,6 +380,12 @@ bool FOSMFile::ProcessAttribute( const TCHAR* AttributeName, const TCHAR* Attrib
|
|||
}
|
||||
*/
|
||||
|
||||
else if( !FCString::Stricmp( CurrentWayTagKey, TEXT( "shop" ) ) )
|
||||
{
|
||||
CurrentWayInfo->WayType = EOSMWayType::Building;
|
||||
CurrentWayInfo->Amenity = AttributeValue;
|
||||
}
|
||||
|
||||
else if( !FCString::Stricmp( CurrentWayTagKey, TEXT( "leisure" ) ) )
|
||||
{
|
||||
if( !FCString::Stricmp( AttributeValue, TEXT( "park" ) ) )
|
||||
|
|
|
|||
1
vin_SubEvent.txt
Normal file
1
vin_SubEvent.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Hello
|
||||
Loading…
Reference in a new issue