MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Rules
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoDWW Mapping
CoD FAQs
CoD Wiki

HL2 Mapping
L4D Mapping
HL2 FAQs

SoF1 Mapping
SoF2 Mapping
SoF2 FAQs

Crysis Mapping

Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs

UT2K3 Mapping

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
HotDog! [Forum]
Poopid [Downl]
hansgrubber [Today]

3 Members and 23 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Friday, Jul. 3rd
MODSonair Episode 186
Sunday, Jun. 28th
MODSonair 186 LIVE
Friday, Jun. 26th
MODSonair Episode 185
Monday, Jun. 22nd
Through The Fire and Flames on Drums
Sunday, Jun. 21st
MODSonair 185 LIVE
Latest Poll
Will you be switching to Windows 7?
I already pre-ordered my copy. 3.13%
Looking forward to 32 bit. 7.81%
Looking forward to 64 bit. 25%
Waiting for the everyone else to beta the new OS. 9.38%
I'm sticking with my trusted copy of XP. 53.13%
Screw Windows, I'm on [insert other OS here]. 1.56%
Read More...
7 comments

Your Membership
User Name:
Password:
Register.
In The Forums
Portal Issue...
CoD:WW Multiplay.. Posts: (3) Views: (22) by Mortician
Level Design Question
CoD 2 Level Desi.. Posts: (6) Views: (60) by GundamX
Classtable Issue !!!
CoD:WW Scripting.. Posts: (1) Views: (10) by irishstorm
ERROR!!!
CoD 4 Level Desi.. Posts: (3) Views: (59) by fredisdead
Art of War Central Quake 4 Mods for Dummies
CoDWW Download
Tutorials: HL2
Mapping and modding for Half-Life 2.
Add your tutorial (registered users)

Rating:
Awful Rating Poor Rating Average Rating Good Rating Excellent Rating
Versions: You must be logged in to view history.
Buttons
2005-01-16 17:07:23
This tutorial will show you how to make a button that will in this case open/close a door.
This tutorial will show you how to make a button that will in this case open/close a door. Thanks to phb5000 for this tutorial.

Step 1) First of all you will need a simple map, a wall, a door, and a brush with a button texture.

Step 2) Name the button (func_button). (for example Button1)

Step 3) Change any button properties that you want to change. For example, Move Direction = The direction the button moves when it is pushed, Sound = The sound played when the button is pushed, ...

Step 4) Name the door (func_door). (for example Door1)

Step 5) Change any door properties that you want to change. For example, Move Direction, Sound...
        -Changing "Delay before reset" to -1 will cause it to not close by itself
        -The flags allow you to change it so that touching doesnt trigger the door, and other properties.

Step 6) Select the button and choose the "Outputs" tab. Click "Add". In the properties change "My output named" = "OnPressed", "Targets entities named" = "Door1", "Via this input" = "Toggle"

This means that when the button is pressed it will Toggle the state of the door. (if open it will close, and if closed it will open)


And thats it

All logos and trademarks and information in this site are property of MODSonline LLC © 2009.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
MODSonline Subscriptions
Partners
XoXide
Frag Universe
Battle for Europe COD2
Call of Duty Headquarters
Bash and Slash Podcast
The Firing Box
modbase.be
CoD World Task Force
CODAddicts - Call of Duty News & Downloads
Ask About
Advertising
Friends
Great Gamer
Call of Duty Maps
Canada Kicks Ass Clan
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
Next Show
The next MODSonair show will air LIVE on:
07/05/2009 12:07 EDT

Time remaining:
We Dontated to PixelEquity
Copyright © 2009 MODSonline
Tresware Content Management System Copyright © 2009 Tresware
Website Designed and Hosted   Tresware