Real-Life Self-Destruct System

From GMod Wiki

Jump to: navigation, search
Warning 64.pngThis page needs to be edited as it contains information that is unclear or incorrect. Improvement can be discussed on the talk page. Find more pages that need work here.
Details: None given.



Contents

Self-Destruct System

Real-Life Self-Destruct System: Self-Destruct System
Page white text.png Description:A Very Little Complex Self-Destruct.
User.png Original Author:DEADORALIVE
Calendar.png Created:4/23/2009
Page white text.png Notes:You need Wire Latest


Welcome

This is a Tutorial For Self-Destruct Systems which has Hours,Minutes and Seconds Like in the Picture

The Finished Product will Look like this

A Little Advice

Before taking the Steps,

Let's list the things we need:

Requirements

Let's Begin

For A Little Modification , Go to The End of the Tutorial!

1. Spawn 3 Wire Screen with the Names : Hours, Minutes , Seconds with the following options:

2.Spawn a Timer Chip.

3.Spawn an Equal Comparison Gate

4.Spawn a Time Date Decoder

The Current Setup

5.Spawn a Round Chip.

6.Spawn a Subtract Chip.

7.Spawn a Constant Value

*This Value Represents The Time
*I Recommend 7200 , It Stands For Two Hours
*To get Seconds from Hours,1 Hour = 60 Minutes = 3600 Seconds eg. 
                2 Hours=120 Minutes=7200 Seconds

8.Spawn 3 Buttons.

*Button 3 : Toggle
*Button 2 : Toggle
*Button 1 : Untoggled

9.Spawn a Nuclear Bomb from any Nuke Packs or A Wired Nuke.

Wiring Section

1.Wire the Screens Inputs To the Respective Slots on the Time/Date Decoder.

2.Wire the Time Input of the Time Date Decoder to The Subtract Chip.

3.Wire the A of the Subtract Chip to The Constant Value.

4.Wire the B of The Subtract Chip to the Round Chip.

5.Wire the A Of the Equal Comparison Gate to The Round Chip.

6.Wire the B Of the Equal Comparison Gate to The Constant Value.

7.Wire A Of the Round Chip to the Timer.

8.Wire Detonate of the Nuclear Bomb to the Subtract Chip or Equal Comparison Gate.

9.Wire Arm of The Nuclear Bomb to The Second Toggled Button.

10.Wire Run of the Timer to the First Toggled Button.

11.Wire Reset of the Timer to the Untoggled Button.

Testing It

To Test if it Works, Try to Use the Run Button, If the Screen Decreases and Explode on 0 Then you Wired it Correctly.

The Finished Product

The Finished Product

Now you made it! Go and Kill your Friends.

Modifications

It can let you Add or Subtract Seconds.

Thank you for Reading

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox