Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 7 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Soldier of Fortune
Category: SoFII Mapping
Mapping, modeling, scripting, skinning and all forms of editing for the game Soldier of Fortune II
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Question, not had one in a while :D
Raslin
General Member
Since: Mar 5, 2005
Posts: 30
Last: Feb 24, 2006
[view latest posts]
Level 2
Category: SoFII Mapping
Posted: Thursday, Feb. 23, 2006 04:49 pm
I haven't posted in along while but it shows theres always something sometime that has to be awkward. Besides, i had to stop for a long whlie so i forgot a few things [sad]

I have been making my map for a little while now and i wanted to add in a little effect for fun. Now, i made a eletric chair and wanted to make it so that when i activate a switch you will die if your sat in the chair. So if theres a tutorail you can direct me to or if you can explain it to me, it would be very helpful.

Thanks :D
Share |
narc
General Member
Since: Dec 1, 2001
Posts: 1204
Last: Dec 31, 2006
[view latest posts]
Level 8
Category: SoFII Mapping
Posted: Friday, Feb. 24, 2006 10:22 pm
draw out a brush and make it a trigger_hurt, add a dmg key to it with any value you like, give it a targetname, set a damageType on it. spawnflags 1, so it starts off. target it with a trigger_multiple or func_button. thats about all there is to it. you can make it kill slow or fast or instantly depending what settings you use.


Code:

// entity 0
{
"classname" "worldspawn"
}
// entity 1
{
"targetname" "t1"
"dmg" "500000"
"damageType" "3"
"spawnflags" "1"
"classname" "trigger_hurt"
// brush 0
{
( 56 64 0 ) ( -168 64 0 ) ( -168 -128 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( -168 -128 64 ) ( -168 64 64 ) ( 56 64 64 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( -168 -128 8 ) ( 56 -128 8 ) ( 56 -128 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( 0 -152 8 ) ( 0 40 8 ) ( 0 40 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( 56 64 8 ) ( -168 64 8 ) ( -168 64 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( -192 64 8 ) ( -192 -128 8 ) ( -192 -128 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
}
}
// entity 2
{
"target" "t1"
"classname" "trigger_multiple"
// brush 0
{
( 136 -120 0 ) ( 120 -120 0 ) ( 120 -128 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( 96 -128 64 ) ( 96 -120 64 ) ( 112 -120 64 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( 120 -128 8 ) ( 136 -128 8 ) ( 136 -128 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( 192 -144 8 ) ( 192 -136 8 ) ( 192 -136 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( 160 -64 8 ) ( 144 -64 8 ) ( 144 -64 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
( 128 -48 8 ) ( 128 -56 8 ) ( 128 -56 0 ) radiant/notex 0 0 0 0.125000 0.125000 0 0 0
}
}
Share |
Raslin
General Member
Since: Mar 5, 2005
Posts: 30
Last: Feb 24, 2006
[view latest posts]
Level 2
Category: SoFII Mapping
Posted: Friday, Feb. 24, 2006 11:23 pm
Ah yes, i remember when you showed me this ages ago. Thanks for jogging my memory mate, much appreicated :D
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»