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

Members Online

»
0 Active | 50 Guests
Online:

LATEST FORUM THREADS

»
Unity Vacant Remake
CoD4 MP Mapping
COD 4 Compile Error
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:
Latest Posts by playername
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
Confused
Call of Duty 4 : CoD4 MP Mapping
Is it only doing this on your map? If it does it for all maps, chances are there is a mod or setting on the server somewhere that is causing this to happen.... [more]
11 1809 Apr 15, 2011 02:45 pm
by playername
Advanced Programming In Cod2
Call of Duty 2 : CoD2 Scripting
Haha, Call of Duty 2 scripting is simply that: scripting. Scripting basically means you should never have to mess with memory at all. That includes anything dealing with pointers, allocating memory, and releasing that memory. Scripting just allows dynamic... [more]
7 2850 Feb 14, 2011 06:03 pm
by playername
Tutorial about some scripting stuff
Call of Duty 2 : CoD2 Scripting
Great post IzNoGoD! I liked the "switches from 'John has to do this' to 'I have to do this'" because, more or less, that's what self is. However, I would add something in saying it does not only have to be the player, it can be any game object/entity (a t... [more]
3 4207 Feb 14, 2011 05:26 pm
by playername
Grenades
Call of Duty 4 : CoD4 Scripting
Converted to memory :P I did not know of this function since I do not map for CoD4. I have found there are more useful functions avaliable than there were CoD2. Thanks for the find BraX!... [more]
5 1709 Mar 16, 2010 06:11 am
by playername
Grenades
Call of Duty 4 : CoD4 Scripting
Samuel, I am sorry to say this, but I do believe all of the gernade code is handled through the engine itself. I have never seen anything in script about grenades before (other than giving them in loadouts and stuff like that). The only way would be to m... [more]
5 1709 Mar 15, 2010 06:22 am
by playername
Localized Strings - how do they work?
Call of Duty 2 : CoD2 General
I do believe you have to have different versions of an *.iwd file. I say this because if you look at any "main" folder, you have files named "localized_[language]_iw*.iwd" which has the localized strings and sounds for that language. However, I am not ful... [more]
2 1742 Mar 11, 2010 06:49 am
by playername
Does exploder script work on prefabs
Call of Duty 2 : CoD2 MP Mapping
In your main() function, add this before your level._effect definitions. maps\mp\_load::main();... [more]
12 1402 Mar 5, 2010 07:11 am
by playername
Gerrrrrr new prob zombies stop spawning
Call of Duty: World at War : CoDWW Zombie/Co-Op Mapping
Just an idea, does the spawners have a key and value of: count 9999 Make sure count is set to four 9s.... [more]
3 1876 Mar 2, 2010 07:11 am
by playername
ScriptSearch AFK
Call of Duty 2 : CoD2 Scripting
Hmm, does it drift? I have never noticed any spectator camera drift before. Makes me curious. I think I might just constantly print the origin of a spectator camera to be sure, but as long as it isn't getting input from the client/player, it's origin shou... [more]
5 1957 Mar 1, 2010 07:07 am
by playername
moving brushes error
Call of Duty 2 : CoD2 MP Mapping
Hello mk3y20 and welcome to MODSonline! There are a few things that needs to be fixed. First, you can get rid of the function "start()" If you are trying to get it to loop multiple times, just call "move()" at the bottom of the actual function to loop... [more]
5 1474 Mar 1, 2010 06:58 am
by playername
ScriptSearch AFK
Call of Duty 2 : CoD2 Scripting
Hi Hyper, There is a way. I guess the simpliest would be to see if the player's origin is changing. If the origin is the same, then he must be AFK. Code:checkInactivePayer() { // If they disconnect or die, we need to end the loop. self endon("dis... [more]
5 1957 Feb 26, 2010 08:34 am
by playername
allies dying
Call of Duty 4 : CoD4 SP Mapping
For the first part, you are going to have to to have a checker that checks for the amount of allies alive. Here is a quick example. Code:main() { // What I am going to do here is: // 1. Setup our objective // 2. watch for dead AI and end the mis... [more]
13 1776 Feb 24, 2010 08:52 pm
by playername
Search & Destroy Issues
Call of Duty : CoD Mapping
The error you are getting is due to a script runtime error. What is happening is the script that was running found a place where a loop could potentially run forever freezing the game. However, if you do like techno said, you should get just a little more... [more]
17 1393 Feb 22, 2010 09:59 pm
by playername
cod2 server anticrash
Call of Duty 2 : CoD2 General
You could modify every gametype so that the name mode is the manual_change (like it is for Search and Destroy). In every gametype script, there is the function, setClientNameMode. This can either be "manual_change" or "auto_change". Manual change me... [more]
3 3114 Feb 20, 2010 04:07 pm
by playername
Calculator?
Call of Duty 2 : CoD2 Scripting
Just replace the if part with this. Code:if(isDefined(inc) && inc == true) level.sum += 10; else level.sum -= 10; ... [more]
5 1628 Dec 22, 2009 09:00 am
by playername
Calculator?
Call of Duty 2 : CoD2 Scripting
Hello Zelzahim! In order for "sum" to increase, you need to add somewhere the addition operator to tell "sum" to increase: sum++; OR sum += 1; OR sum = sum+1; As for having two triggers to do this, try this script (untested)! I used two trigger_uses ... [more]
5 1628 Dec 22, 2009 08:39 am
by playername
Play Music at start of map request
Call of Duty 2 : CoD2 MP Mapping
It depends exactly how you want to do it. Do you want it to play when the client connects so that they only hear it? If so, try something like this (Not tested). Code:main() { thread onClientConnect(); } onClientConnected() { while(1) { ... [more]
2 1820 Dec 2, 2009 07:13 am
by playername
How to resize a model?
Call of Duty 4 : CoD4 MP Mapping
In Radiant, you can set a key/value on a misc_model. Key: model_scale Value: [scale #] A scale of 2 is 2 times bigger than the orginal, 3 is 3 times, etc.... [more]
8 1773 Nov 24, 2009 06:52 am
by playername
What is wrong with this .gsc??!
Call of Duty 2 : CoD2 SP Mapping
DemonSeed hit it right on the nail. setTurretTargetEnt() uses an entity directly. If you wanted to do it the other way, you would have to do it like this: setTurretTargetEnt(getEnt("tank_shoot", "targetname"));... [more]
19 1741 Nov 24, 2009 06:42 am
by playername
pitch black rooms
Call of Duty 2 : CoD2 MP Mapping
Worldspawn settings are set for the WHOLE world! Meaning the light settings will be applyed to every brush that isn't a script_brushmodel (all entites with a classname other than worldspawn will not have them). Worldspawn settings are used to set a global... [more]
7 1790 Nov 23, 2009 07:09 am
by playername
Rcon login in quickmenu
Call of Duty 2 : CoD2 Scripting
From looking at Demon's code, you would have them all in one Cvar. You could separate the GUIDs by anything: space, comma, semicolon, etc.... [more]
27 1890 Nov 23, 2009 06:56 am
by playername
Left 4 Dead 2. Your thoughts?
General Gaming Topics : General Gaming
I will have to say, I like it better than the first. I think it might be the campains that run right into one another or the new weapons. Also, I like some of the new SI. I have yet to play Vs. or survival, but am looking forward to! However, I still thin... [more]
9 2232 Nov 20, 2009 06:40 am
by playername
How does the pointfile work, and how to fix it
Call of Duty 4 : CoD4 SP Mapping
Like he said earlier, if you have portals in your map, it could just be a portal. Also, paste your compile log if you can. Check all portals and all sky box joints to make sure they are not leaking without your knowledge. If you still keep getting the ... [more]
5 1976 Nov 19, 2009 09:39 am
by playername
CoD To Get new developer.
General Gaming Topics : General Gaming
Personally I believe that Treyarch has treated us better than IW at the momment. Yes, there were many issues with the game at first, but they still supported us and kept fixing those issues. They kept coming out with patches including map-packs that would... [more]
23 2214 Nov 19, 2009 06:43 am
by playername
Cant wait anymore...
Call of Duty 2 : CoD2 SP Mapping
Yeah, sorry Ivan... I don't know what is with me today. I did forget a semicolon after vehicle = level.vehicle;.... [more]
14 1260 Nov 15, 2009 11:36 am
by playername
MODSonline.com Forums

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

»