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

Members Online

»
0 Active | 5 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 : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: coded keypad door
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Monday, Jan. 19, 2009 08:00 pm
Could that be the problem ? Hmmmm

well.. then move in ur trigger damage ?

I'm not a level design person.. So i wouldnt know too much about that.
Share |
Pedro699
General Member
Since: Jun 19, 2006
Posts: 781
Last: Dec 18, 2010
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Monday, Jan. 19, 2009 08:15 pm
Round by the bunker theres this big trigger_multiple

I moved it as it was touching / going through the damage triggers on the keypad. Whether this was the problem or not I don't know.

The best thing to do is to save the keypads as a prefab as then you can test they are working properly before inserting into the map. oh, and there are definitely two keypads in the mp_keypad2 map I hosted ;-)
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Monday, Jan. 19, 2009 08:20 pm
That sounds like the problem to me. Triggers touching/crossing over eachother.
Share |
NotDeadYet
General Member
Since: Jan 5, 2009
Posts: 52
Last: Jul 28, 2009
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Monday, Jan. 19, 2009 09:06 pm
[cry][cry][cry][cry][cry][cry]

:'( i moved the trigger multiple (btw it was for the drowing in water thing) and remade the scripts each individually. i redid the doors, i even tried the door from your map. idk whats wrong :'(. i dont get the "open the door" words, so i dont think the triggers are working. no triggers are overlapping :|

if(!isdefined(button) && i!=0) break; // no more triggers - exit setup

else if(isdefined(button)) button thread watchTrigger(i);

should the isdefined be isDefined????

edited on Jan. 19, 2009 04:12 pm by NotDeadYet
Share |
Pedro699
General Member
Since: Jun 19, 2006
Posts: 781
Last: Dec 18, 2010
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Monday, Jan. 19, 2009 09:56 pm
doesn't matter.

What happens if you delete / remove your keypad and insert the keypad prefab in my download?
Share |
NotDeadYet
General Member
Since: Jan 5, 2009
Posts: 52
Last: Jul 28, 2009
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Tuesday, Jan. 20, 2009 12:45 am
[biggrin][biggrin]IT WORKS[biggrin][biggrin]

idk what happened... i recreated all the scripts, but this time i didnt copy and past and just rename them b1, b2, b3... i did them all individually. then i moved the multiple trigger way out of the way. now it works! my map is finished, all my keypads/portals/water stuff/ slide :) all works! thank you sooo much. couldnt have done it without u! now to make the title screen.

P.S. i kinda stole your cool door and made 2 of them, so one opens, then person walks into the one person chamber, then when the first one closes, the second opens. this will stop 30 from running through :).

thanks again

-notdeadyet
Share |
Pedro699
General Member
Since: Jun 19, 2006
Posts: 781
Last: Dec 18, 2010
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Tuesday, Jan. 20, 2009 08:23 am
Awesome, glad we could help

[thumbs_up]
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

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

»