RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RM2K/3] Equipment-Bound Skills

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 84
puking up frothing vitriolic sarcastic spittle
This is a tutorial that will let you create skills that are only usable whilst the character has a certain weapon (or, in theory, any other type of item) equipped. This system is being heavily used in Sore Losers because I think it brings another dimension to the slightly zany, non-standard weapons you could place in a game, items like Paintball Guns and Hockey Sticks. It also adds a little strategy to item selection, meaning that this is a simple way to add a little depth to your game.

The first step is to make the weapon and the skill respectively. You do not need to do anything special here, just make the weapon and the skill as you normally would any other weapon or skill. Ideally, the skill/weapon combination should be as unique as possible so that the skill needing the weapon makes sense. For instance, using paint to blind enemies is something you require a Paintball Gun for.

The second and final step is actually coding the event. In the example here, Markus is going to learn the skill "Hooking" when he equips a "Hockey Stick". If the "Hockey Stick" is unequipped then he will forget the skill. The code is relatively simple and should be placed into the maker as a "Common Event". The event should be set as a "Parallel Process" so that it is always actively checking the equipment the character has on.

You can see the code here:



That's it. A simple system that lets you add a slight element of strategy to equipment selection.