GTX0 AnnouncementsFeedbackHelp | SandboxNewest Posts | Replies | Hottest
NIFE UpdatesRoadmapRequests | HelpDiscuss Game Worlds


Machine Custom Actions + Machine Cost plugin
Posted: Posted April 6th
Edited April 6th by Xhin

This introduces a couple of changes to the Machines plugin:

Machines Custom Actions

This allows you to give buttons custom actions rather than just having them say "Press X".




If the action has a $1 in it, it will appear as a select box that lets you pick between stuff with the same action. Otherwise it'll appear as a checkbox.

The "Action Done" setting will set what the action says after you perform it (and what other players see as well). Note that these can be different even if the actions are the same.



If I had done waterball instead, it would say "Somehow, You cast Waterball".

I'd like to extend this to other machine types, but for now it only works with buttons and the upcoming Tech machine type.

Machine Cost Plugin

This is a plugin that will let you give machines a "cost" in order to use them, much like they were magic attacks or summons. Sometime soon this will go in the "subplugin" section, but for the time being, just install the plugin via the main Plugins menu.



You can then adjust how much of what stat the machine costs to use.



If you have enough of the stat, the option will appear in your actions, otherwise it won't.

settingsOptions
There are 3 Replies

@Moonray: The portal gun for example you could set:

Portal Mouth -- Shoot $1 here
Portal Exit -- Shoot $1 here

Or alternately use checkboxes:

Portal Mouth -- Create Mouth Portal
Portal Exit -- Create Exit Portal

Edited April 6th by Xhin
Xhin
Fractal icious

Bah, my portal gun is free to use.

Though I think having machines have a cost may provide a solution for something i was trying to do.

Posted April 6th by Moonray
Moonray
 

Well I meant more setting the custom actions for it so it would say "Shoot [ Portal Mouth / Portal Exit ] Here" instead of "Press [Portal Mouth / Portal Exit ] " :)

The Cost thing might also be useful elsewhere.

Posted April 6th by Xhin
Xhin
Fractal icious
Reply to: Machine Custom Actions + Machine Cost plugin
Enter your message here

Site Rules | Complaints Process | Register Complaint Facebook Page
GTX0 © 2009-2017 Xhin GameTalk © 1999-2008 lives on