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

Members Online

»
1 Active | 15 Guests
Online:

LATEST FORUM THREADS

»
water
CoD4 MP Mapping
Rainbow HELP....
CoD4 MP 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 kelik
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
score menu
Call of Duty 2 : CoD2 Scripting
Correct me if I'm wrong, but as far as I know, TAB menu is hardcoded in cod2. You can switch variables that are shown, for example in the place where your score is you can put any other stat, but you can't add more stats/icos/etc. to be shown. ... [more]
4 726 Dec 8, 2012 03:57 am
by kelik
Auto camper mod messages
Call of Duty 2 : CoD2 Scripting
Remember player's position, and after few seconds (might be 10 if you want) check position again. If distance between this two positions is not enough then kick player or whatever you want to do. You might want use this functions and variables: sel... [more]
2 696 Dec 8, 2012 03:46 am
by kelik
Command
Call of Duty 2 : CoD2 Scripting
I might be wrong, since I'm not well-experienced, but I think you will still need a loop which would check if there's some update need to be done. As far as I know, you can't create and use rcon commands like /rcon updatestatus, I think you need to sign a... [more]
9 480 Jul 4, 2012 02:32 am
by kelik
More values in one HUD
Call of Duty 2 : CoD2 Scripting
Aww, that's a shame. Thank you for reply. :)... [more]
6 526 Jun 20, 2012 03:08 pm
by kelik
More values in one HUD
Call of Duty 2 : CoD2 Scripting
When I was learning about HUDs I found on this forum interesting form of presentation values in HUDs: Code:string=&"You have &&1 health left"; precachestring(string); hud.label=string; hud setvalue(self.health); I was wondering, if it is possible t... [more]
6 526 Jun 20, 2012 02:51 pm
by kelik
Rank in the table
Call of Duty 2 : CoD2 Scripting
I used "search" function on this forum and found this: http://modsonline.com/Forums-top-139067-10.html... [more]
2 390 May 16, 2012 03:34 pm
by kelik
Headshot counter problem
Call of Duty 2 : CoD2 Scripting
Thank guys for help, it turned out my HUD was wrong, headshot counter was fine, serthy's advise to iPrint helped. :) Thanks again. :)... [more]
6 719 Aug 30, 2011 07:30 am
by kelik
Headshot counter problem
Call of Duty 2 : CoD2 Scripting
I have placed it in tdm.gsc in Callback_PlayerKilled, here is the code: Code:Callback_PlayerKilled(eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration) { self endon("spawned"); self notify("killed_... [more]
6 719 Aug 30, 2011 07:06 am
by kelik
Headshot counter problem
Call of Duty 2 : CoD2 Scripting
Hi there, I have a strange problem with counting headshots. Can anybody explain to my, why this 'if' is always true? Code:if(sMeansOfDeath == "MOD_HEAD_SHOT") { attacker.headshots++; } It increases 'headshots' on every kill, instead of ju... [more]
6 719 Aug 30, 2011 06:39 am
by kelik
Function that returns followed player while spectate?
Call of Duty 2 : CoD2 Scripting
Well, I want to write a script, that allows admin to kick player whose he is actually following, without id/player name. If it is a client cvar I am guessing that it is possible to write a client-side script which would help. I will search through the cli... [more]
4 704 Jan 15, 2011 12:40 pm
by kelik
Function that returns followed player while spectate?
Call of Duty 2 : CoD2 Scripting
Hi there, I was wondering if there is any function that returns followed player while we speactating him. I am sure that there have to be something like that, because when we are in spectator mode and we are following someone his/hers name is displayed on... [more]
4 704 Jan 15, 2011 10:49 am
by kelik
Controlling chat by .gsc file ?
Call of Duty 2 : CoD2 Scripting
Ehh, I thought so. Using b3 or any other possibility needs to read log file which I wanted to avoid. Anyway, thanks for replys.... [more]
8 831 Jan 4, 2011 05:37 am
by kelik
Controlling chat by .gsc file ?
Call of Duty 2 : CoD2 Scripting
Hi everyone, I would like to write a script that will be controlling in-game chat. For example if someone will use "bad word" the script will warn him. I know that b3 offers me censor plugin, but I wanted to write it on my own, so I am asking you, if ... [more]
8 831 Jan 2, 2011 04:23 am
by kelik
MODSonline.com Forums

Latest Syndicated News

»
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.
Loadout
Gun Crafting to the Max. edited on Sep. 25, 2012 06:57 pm by Morp...
Introducing the Source Fil...
Surprised this wasn't made a long time ago. Sounds like a nice little feature.
Introducing the Source Fil...
The Source Filmmaker (SFM) is the movie-making tool built and used by us he...

Partners & Friends

»