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

Members Online

»
0 Active | 87 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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: trigger rotation?
Ragnarok775
General Member
Since: Jul 8, 2004
Posts: 33
Last: Jul 27, 2004
[view latest posts]
Level 2
Category: SoFII Mapping
Posted: Saturday, Jul. 10, 2004 03:03 am
ok i just started working on a map just now, and i was wondering if i cud make a trigger to open a door.....but not a regular sliding door. more like a door on hinges. that wud have a rotate function on the corner.

just an idea

is it possible?
Share |
Ragnarok775
General Member
Since: Jul 8, 2004
Posts: 33
Last: Jul 27, 2004
[view latest posts]
Level 2
Category: SoFII Mapping
Posted: Saturday, Jul. 10, 2004 03:25 am
......anyone?
Share |
Ragnarok775
General Member
Since: Jul 8, 2004
Posts: 33
Last: Jul 27, 2004
[view latest posts]
Level 2
Category: SoFII Mapping
Posted: Saturday, Jul. 10, 2004 03:27 am
Never mind....i just realized that wudnt work........sry....hehe................................im an idiot......
Share |
Shotgun
General Member
Since: Feb 4, 2004
Posts: 50
Last: Oct 4, 2004
[view latest posts]
Level 2
Category: SoFII Mapping
Posted: Saturday, Jul. 10, 2004 03:33 am
door()
{
// get the trigger
trig = getent("door_trigger", "targetname");
// tell it to wait
trig waittill("trigger", player);

// you assigned an origin key to the door brush right?
org = trig getorigin();

// you need to assign a sound file
//trig playsound("door_sound", org);

// depending which axis the brush is on
trig rotateroll(90, 1.5, 0, 0);
//trig rotatePitch(90, 1.5, 0, 0);

wait (2.5);

// closes it again
trig rotateroll(-90, 1.5, 0, 0);


// put the trigger waiting again
thread door();
}


you could also download Shotguns_Rooms, it has doors and alot more, or Zielgle
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

»