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

Members Online

»
1 Active | 108 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:
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 2373 Dec 8, 2012 10: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 1811 Dec 8, 2012 10: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 1713 Jul 4, 2012 09: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 2282 Jun 20, 2012 10: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 2282 Jun 20, 2012 09: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 1511 May 16, 2012 10: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 1819 Aug 30, 2011 02:30 pm
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 1819 Aug 30, 2011 02:06 pm
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 1819 Aug 30, 2011 01:39 pm
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 2298 Jan 15, 2011 07: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 2298 Jan 15, 2011 05:49 pm
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 3106 Jan 4, 2011 12:37 pm
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 3106 Jan 2, 2011 11:23 am
by kelik
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

»