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

Members Online

»
0 Active | 59 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 : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Trap Door Hinge Direction
Twig_Masters
General Member
Since: Nov 5, 2004
Posts: 31
Last: Jul 17, 2010
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Wednesday, Jul. 14, 2010 11:15 pm
I have followed the tutorial found here.....

http://modsonline.com/Tutorials-read-658.html

It works great..... sort of. I am trying to make a trap door in the floor of a room. I have it working but it hinges the wrong way. instead of opening up or down, It slides into the floor left or right depending on the "-90" or "90" setting in the trigger.

Anyone know how to change the direction of the hinge so it will open up? Is it possible?

Thanks in advance

edited on Jul. 14, 2010 07:16 pm by Twig_Masters
Share |
TexasRebel
General Member
Since: May 1, 2006
Posts: 373
Last: Aug 20, 2013
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Thursday, Jul. 15, 2010 04:35 am
by slide do you mean it is rotating into the floor brush. (Hope drawing explains what I'm assuming)






If so you may have to try

rotatepitch ( < angle>, < time>, < accel>, < decel>)
Code:
self.doormodel rotatepitch(self.count, 2,0.5,0.5)

or

rotateroll ( < angle>, < time>, < accel>, < decel>)
Code:
self.doormodel rotateroll(self.count, 2,0.5,0.5)


instead of

Code:
self.doormodel rotateyaw(self.count, 2, 0.5, 0.5);



http://modsonline.com/Tutorials-read-121.html basic script movement tutorial
Share |
Twig_Masters
General Member
Since: Nov 5, 2004
Posts: 31
Last: Jul 17, 2010
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Thursday, Jul. 15, 2010 02:16 pm
Yes exactly [thumbs_up]

I will try editing the script like you suggest. I will let you know if it works... Thanks

edited on Jul. 15, 2010 10:21 am by Twig_Masters

Update: It works!!!!! Thanks for the help [rocking]
Share |
TexasRebel
General Member
Since: May 1, 2006
Posts: 373
Last: Aug 20, 2013
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Friday, Jul. 16, 2010 07:26 am
np, good luck with the rest of your map.
Share |
Larrabee
General Member
Since: Feb 5, 2010
Posts: 113
Last: Aug 23, 2012
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Friday, Jul. 16, 2010 10:53 am
Heres a working hinge and door:

http://modsonline.com/Forums-top-125978.html
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP 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

»