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
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
sh1thead [Today]
SniperDead [Downl]
botskiller15 [Downl]
2krzychu [Downl]

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

download TeamSpeak

In-The-News
Sunday, Aug. 17th
MODSonair 141 LIVE
Saturday, Aug. 16th
Crysis Warhead - World Exclusive Trailer
Friday, Aug. 15th
MODSonair Episode 140
Sunday, Aug. 10th
MODSonair 140 LIVE
Friday, Aug. 8th
MODSonair Episode 139
Latest Poll
Want a MODSonline Wiki for various games?
I think a Wiki would be a great addition to MODSonline. 77.78%
I could see a benefit of a Wiki. 4.09%
I think it would take away from the community. 4.68%
Wiki sites are never good. 2.92%
Wiki... isn't that Buck Roger's robot slave? 10.53%
Read More...
13 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
Creating Models
CoD 4 Level Desi.. Posts: (8) Views: (56) by AusFastBowler
Walking through a(temp) terrian brush?
CoD Level Design.. Posts: (2) Views: (18) by The_Caretaker
Compile Reflections no longer works...
CoD 4 Level Desi.. Posts: (7) Views: (53) by The_Caretaker
Question
CoD 4 Level Desi.. Posts: (3) Views: (32) by amazingmilanvdv
Art of War Central Quake 4 Mods for Dummies
Typhoon Servers
Forums
MODSonline.com 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:
Latest Posts by (VM)Monkey
These topics are the latest to have been updated with new posts.
Show me more: 50 100 150
MODSonline.com Forums
Latest Posts
Subscribed Posts
Search
  Topic Replies Views Last Post
water ... please !!
Call of Duty 4 : CoD 4 Level Design
After you put in the water brush, you need to place a reflection probe above the water, and compile reflections.... [more]
17 282 Mar 24, 2008 03:49 pm
by (VM)Monkey
tunnels now working !! :(
Call of Duty 4 : CoD 4 Level Design
Also, make sure that your grass texture isn't a blend/alpha texture.... [more]
8 189 Jan 23, 2008 01:16 pm
by (VM)Monkey
backlot map loading instead of the compiled map
Call of Duty 4 : CoD 4 Level Design
Shimi writes...Quote:after backlot loads type /set sv_mapRotation "" in console and then try to load your map again with /devmap command. When there is an error the server automatically switches to map rotation, but when there isn't any map rotation, then... [more]
7 177 Jan 22, 2008 02:50 pm
by (VM)Monkey
Multiple Floor Elevator Script
Call of Duty 2 : CoD 2 Level Design
Sorry for digging up this old thread, but I noticed somebody else linked to it, so I needed to post an update. This script may work best for SP only (I can't verify that though). With the three elevators I had running, and an otherwise average scripted... [more]
6 361 Nov 23, 2007 03:01 pm
by (VM)Monkey
Complex Elavator . . .
Call of Duty : CoD Level Design
The last two numbers on the move/rotate commands are the amount of time it takes to get up to speed, and to slow down. So a movez(136, 4, 1, 1); would take 1 second to get up to speed, travel 2 seconds at full speed, and take another second to slow ... [more]
17 180 Nov 23, 2007 02:58 pm
by (VM)Monkey
help with defining variable
Call of Duty 2 : CoD2 Scripting
Sorry it took so long to respond. The best way I can explain it is to consider the brackets ({ and }) as a sort of box. Anything between { and } is inside that box. The if, else, while, for, etc statements only run the next command. Think of them as... [more]
8 216 Nov 17, 2007 01:26 am
by (VM)Monkey
help with defining variable
Call of Duty 2 : CoD2 Scripting
I just tried this and it worked: Code: main() { trigs = getentarray("shoot_trig", "targetname"); for(i=0;i... [more]
8 216 Nov 15, 2007 11:20 am
by (VM)Monkey
help with defining variable
Call of Duty 2 : CoD2 Scripting
If you type /developer 1 in the console before you run your map, and then bring up the full console (shift+~), where it tells you that you have an uninitialized variable, it should show you the line it's from and put an asterisk underneath the variable th... [more]
8 216 Nov 15, 2007 11:09 am
by (VM)Monkey
help with defining variable
Call of Duty 2 : CoD2 Scripting
The unitiliazed variable is cybershot. What you're trying to do is compare it to a string, in which case it should be if (player.name == "cybershot") As far as the return true; part, that depends on what you're trying to do. for any if statement... [more]
8 216 Nov 15, 2007 03:45 am
by (VM)Monkey
script for elevator with 2 switches
Call of Duty 2 : CoD2 Scripting
The problem in the script is that you have to activate elevatorswitch before you enter the if/else. The waittill for the elevatorswitch2 is in the else part. So right now, if the level.counter_num does not equal one, you have to press elevatorswitch befor... [more]
5 219 Oct 29, 2007 03:38 pm
by (VM)Monkey
movex-problem
Call of Duty 2 : CoD2 Scripting
If I remember exactly, rotateyaw rotates around the Z axis, rotateroll rotates around the Y axis, and rotatepitch rotates around the X axis. If you do not have an origin brush as part of your script brushmodel, it considers the origin to be (0,0,0), so... [more]
16 237 Oct 10, 2007 02:19 am
by (VM)Monkey
Is it possible to overscript a map?
Call of Duty 2 : CoD2 Scripting
This all was with no effects running. One guy was hiding, nothing was being run or moving, I threw a grenade, got the animation, but no grenade spawned. And I'm not an idiot script-kiddie, 94sniper. I know the script works. I've tested it non-stop for ... [more]
11 250 Oct 5, 2007 04:30 pm
by (VM)Monkey
Is it possible to overscript a map?
Call of Duty 2 : CoD2 Scripting
For the past several months, I've been working on my personal masterpiece. I've tried to make it more dynamic than your average map. There are 5 elevators, 3 of which are the multi-floor modern elevators that I've posted about before. There's a controllab... [more]
11 250 Oct 5, 2007 03:31 pm
by (VM)Monkey
Looping music doesn't loop
Call of Duty 2 : CoD2 Scripting
Thanks OLD_MAN. The .wav file works perfectly. I just left it on "voice" because I tested every possible entry there. The problem with "local", and I think "auto" too, is you hear it throughout the map, no matter where you are, which is not what I was ... [more]
7 197 Oct 2, 2007 03:51 pm
by (VM)Monkey
Looping music doesn't loop
Call of Duty 2 : CoD2 Scripting
Ok, the search function doesn't seem to be working for me, so I'm sorry if this is covered elsewhere. In my elevators, I want some annoying elevator music to play. On the ceiling of my elevator cab, I have a bunker light model. The model was then link... [more]
7 197 Sep 30, 2007 04:40 pm
by (VM)Monkey
mp triggers help
Call of Duty 2 : CoD2 Scripting
Ahh. I see. I was just coding it as a one shot thing, just to give you an idea. I was tempted to do it the other way, but I wasn't sure if that was what you wanted. This might work better for you. Code: firsttrigger() { trig = getent("first... [more]
7 188 Sep 18, 2007 03:40 pm
by (VM)Monkey
mp triggers help
Call of Duty 2 : CoD2 Scripting
in your main(): Code: level.second_activated = false; thread firsttrigger(); thread secondtrigger(); then: Code: firsttrigger() { trig = getent("firsttriggername", "targetname"); trig waittill("trigger", player); if... [more]
7 188 Sep 18, 2007 02:28 pm
by (VM)Monkey
elevator with doors trigger questions
Call of Duty 2 : CoD 2 Level Design
This part: Code: level.liftmoving = false; level.direction = 553; thread lift(); trig = getentarray("verzoektrigger", "targetname"); for (i=0; i < trig.size; i++) { trig[i] th... [more]
39 238 Sep 13, 2007 03:13 pm
by (VM)Monkey
elevator with doors trigger questions
Call of Duty 2 : CoD 2 Level Design
Not sure exactly what you mean. Can you post your .gsc?... [more]
39 238 Sep 13, 2007 01:29 pm
by (VM)Monkey
elevator with doors trigger questions
Call of Duty 2 : CoD 2 Level Design
Glad you got it working. You can use the same targetname for more than one entity, but you have to use getentarray() and usually a for() loop. Good luck with the outside doors, I'm sure you'll get it. The hard part will be making sure that the door... [more]
39 238 Sep 13, 2007 12:41 pm
by (VM)Monkey
elevator with doors trigger questions
Call of Duty 2 : CoD 2 Level Design
Macklebee beat me to it. As far as the verzoek trigger, I guess I really need to ask how you have it set up. On mine, there are buttons outside the elevator that call the elevator to the floor, so those are stationary, and you will need one on each flo... [more]
39 238 Sep 13, 2007 10:43 am
by (VM)Monkey
elevator with doors trigger questions
Call of Duty 2 : CoD 2 Level Design
I've found the easiest way to code is to keep it as simple as possible. Try something like this: Code: main() { maps\mp\_load::main(); // setExpFog(0.0001, 0.55, 0.6, 0.55, 0); setCullFog(0, 10000, 0.55, 0.6, 0.55, 0); game["allies... [more]
39 238 Sep 13, 2007 02:24 am
by (VM)Monkey
elevator with doors trigger questions
Call of Duty 2 : CoD 2 Level Design
As far as the first question, I have no idea. My triggers have been doing that for a while, and I haven't figured out why. For the second question, yes, you will need another trigger to call the elevator to the floor you are at. You should be able to j... [more]
39 238 Sep 12, 2007 04:29 pm
by (VM)Monkey
elevator with doors trigger questions
Call of Duty 2 : CoD 2 Level Design
Sorry, I sent you a whole huge message on youtube, since I can't access ModsOnline from work. To get the trigger to move with the elevator, after your "getent" statements, add the following: Code: trig enableLinkTo(); trig linkTo(lift); That ... [more]
39 238 Sep 12, 2007 02:34 pm
by (VM)Monkey
elevator with doors trigger questions
Call of Duty 2 : CoD 2 Level Design
Doh! Sorry, I was rushing to get ready for work and missed that. Code: lift= ("lift", "targetname"); deurrechts= ("dr", "targetname"); deurlinks= ("dl", "targetname"); trig= ("triggerlift", "targetname"); should be Cod... [more]
39 238 Sep 11, 2007 04:23 pm
by (VM)Monkey
MODSonline.com Forums
All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
Art of War Central
Partners
Call of Duty Headquarters
modbase.be
Frag Universe
Battle for Europe COD2
My Topsites List
The Firing Box
XoXide
Ask About
Advertising
Friends
After Life Gaming
ModTheater
Great Gamer
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.
MODSonair Releases
MODSonair Episode 140
MODSonair Episode 139
MODSonair Episode 138
MODSonair Episode 137
MODSonair Episode 136
Next Show
The next MODSonair show will air LIVE on:
08/24/2008 11:00 EDT

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware