Smack Studio

Smack Studio

Not enough ratings
LAP Template
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
122.036 KB
18 Oct, 2024 @ 5:39pm
1 Change Note ( view )

Subscribe to download
LAP Template

Description
LAP Template is a addon, NOT a fighter!

As this is a brand new system, you may want to check out the character Spoor as an early example of what it can be used for.

LAP is a set of pre-made logic that you can transfer to your own character to allow character recognition to others that also have LAP. It can be used for many things such as character unique interactions, moveset changing or copying, or many other possibilities just waiting to be discovered!

Please note that by installing LAP on your character, you consent that other creators characters may recognise and interact with your own without your knowledge.

Also be aware of the limitations of LAP:
LAP will only work between two LAP supporting characters. This means if three or more characters with LAP installed are in a match, it will not activate.
Due to the specifics of how an optimised system like this must work, LAP will only work when the two LAP fighters start the match facing different directions. This means stages that have characters face the same direction, or playing in certain player slots, will cause LAP to not activate.

The following is a tutorial on how to use LAP Template to install this logic onto your character.

The steps are ordered like so:
Part 1
Adding the pre-made LAP system to your character to create a tag, which is what will allow your character to be recognised by others.
Part 2
An optional step that will explain ways you yourself can make use of LAP to interact with other characters. Please note that you must have followed part 1 to be able to make use of part 2.

PART 1

Make sure LAP Template is subscribed to and downloaded.

Search up the folder for workshop downloads, open up a new instance of File Explorer and paste the following into its search bar:
C:\Program Files (x86)\Steam\steamapps\workshop\content\1739300
Navigate to 3350987324
Open it up and then the Projectiles folder, and copy the Z_LAP folder.
Leave this window open.

In a new window, search up the Characters_custom folder, open up File Explorer and paste the following in its search bar:
C:\Program Files (x86)\Steam\steamapps\common\Smack Studio\SmackStudio\Data\Characters_custom

Find and open up the folder of your character, open up the Projectiles folder or create one if it doesn't exist, and paste the previously copied Z_LAP inside.
Drag LAP Template(3350987324) from the workshop section into your Character_custom folder. Rename the folder if you like.

Open up Smack Studio.

Open up LAP Template in the editor and navigate to the Match entrance animation under Cinematics. Drag across all lines of frame 4 through 9, Hit Ctrl + C on your keyboard to copy.

Load up your character, select frame 4 of your Match entrance animation and hit Ctrl + V to paste. You should now have the code from the previous character. You may need to rearrange your timelines depending on how your characters set-up.

Create the following global variables:
Z_(insert your tag here) - Boolean, False
(Example: Z_Granite)
Z_LAPplayers - Integer, 0

Open up the Z_LAP projectile you had previously copied to your character.
Inside, navigate to the Events tab on the left. Open up the On Update category, select the Set Boolean action and select your Z_(insert your tag here) as the variable.
Click Accept and now navigate to the lone action on the timeline. Do the same, selecting the Set Boolean and changing its variable to Z_(insert your tag here).

If you followed these steps exactly, you now have a tag.

PART 2

In order to detect other character that have tags, you must make use of their tag boolean. For example, the trigger If Z_Spoor = True followed by your actions will create an interaction that only happens when he is in your game. Make sure that all interactions you place are after the copied LAP logic, anything that activates beforehand will not be able to make use of its knowledge.

Most likely you will want to disable regular actions from happening when facing a recognised LAP opponent. THE FOLLOWING IS SIMPLY ADVICE, and you can use your own methods if you'd prefer:

Create Booleans as a group tag for each time you may want to seperate characters. For example, a UltraGroup boolean or a DeathGroup boolean.
You can place actions down directly after your LAP machine that will set the groups true if a certain character will take part. For example, If Z_Spoor = True, Set Z_UltraGroup True.

You can lock your regular actions behind this check to disable them when a character that wishes to override it is present. For example, when Z_UltraGroup is true a character that you wish to override it, such as Spoor, is present, so you could lock your regular actions behind a If UltraGroup = False check.

This system is not linked to LAP at all, so you can add to, customise or even do your own thing as you wish. These are merely guidelines to get you started.

Once you set up the base system, interacting with other LAP users is extremely easy to do, and requires no communication with the other creator.

FINAL NOTES

I would recommend you advertise your use of LAP on your characters description, along with its tag. This will make it much easier for other creators to collab with you. You may also choose to list some names your character has special interactions with so players can make use of them.

The following is an example:




If you would like a list of characters that already have tags for you to interact with, you can check out this collection. It probably won't have every single character but hopefully most will be there.

THANK YOU

This system was created by Silver1906 with special thanks to the following people:
Laika for creating the items thumbnail
XtheGAMEmaster for discovering a breakthrough
Nullnvoid for inspiring a solution for a roadblock
Laika, NaturalGlitch, Lunchbillion and Erans for early LAP adoption and testing
Frestypants for permission to use characters for interaction testing
2 Comments
Lingweenie 8 Dec, 2024 @ 5:55pm 
This is possibly the coolest thing to exist
Erans  [developer] 27 Oct, 2024 @ 7:17am 
we are interacting with our comrades with this one