THIS PLUGIN IS DEPRECATED, PLEASE USE THIS COLLECTION OF PLUGINS
UE4 plugin for rapid prototyping. It contains the most basic systems and mechanics which can be found in the majority of games.
I used this plugin in my personal projects:
- Create Plugins folder in your project directory;
- Download and unzip the archive in this folder. You should get such a path to a plugin
Plugins/TrickyPrototyping
; - Alternatively you can clone this repository into the
Plugins
directory;
The plugin contains the most frequently used things while prototyping various games.
All elements work with blueprints.
- Animated actors
- FloatingActors
- Pickups
- Interaction system
- Keyring system
- Health system
- Entity resource object
- Core elements
- User interface
AnimatedActor
can animate its scene components using a timeline component. It was used to create doors and buttons for the plugin.
However, it is possible to make your custom actor using blueprints.
Animated actors do not know what scene components to animate.
To make them work, call functions FillAnimatedComponents
or AddAnimatedComponent
in the construction script. It must be done for doors and buttons too.
There are two classes of doors:
DoorBase
. Great to make simple sliding doors;DoorSwing
. Specifically made for sliding doors. It calculates door leaves rotation relative to the player position;
Doors can be controlled manually. However, it’s easy to make them open automatically through interaction.
There is only one button class ButtonBase
. However, it is possible to make a pressure plate, a simple button, and a switch out of this class.
These actors float between given points.
There are two different classes:
FloatingActorSpline
. This actor moves along a given spline component. Great for complicated movement trajectory;FloatingActorPoints
. This actor moves between given actors in the level. Simpler, but takes less time to adjust;
These classes are made to create floating platforms, elevators, etc.
A simple actor with a spline component which is good to use with FloatingActorSpline
.
PickupBase
class is made for creating any pickup for a prototype with ease through rewriting one function.
There are already 2 custom pickups:
PickupHealth
. It restores some health;PickupKey
. It gives a specific key class;
There is a simple interaction system in the plugin.
InteractionQueueComponent
must be added to a player character to make this system work.
All actors mentioned above can be easily made interactive through their properties.
However, it's easy turn any actor into interactive one:
- Add
InteractionBoxComponent
,InteractionSphereComponent
orInteractionCapsuleComponent
to a chosen actor; - Add
InteractionInterface
to a chosen actor; - Override
ProcessInteraction
function;
This system is used for opening doors, however, you can use them everywhere.
To make it work:
- Add
KeyRingComponent
to a player character; - Create a new Blueprint class inherited from the
KeyType
C++ class; - Give this key to the player character using pickups or through other systems;
The description will be added soon
The description will be added soon
The description will be added soon
The description will be added soon