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

Members Online

»
0 Active | 89 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 crosspoland
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
level.player isThrowingGrenade()?
Call of Duty 2 : CoD2 Scripting
VISIT THIS TOPIC Here's the script working the same as isThrowingGrenade() wrote by me.... [more]
5 2094 Aug 12, 2011 09:50 pm
by crosspoland
getting scripts server-side
Call of Duty 2 : CoD2 Scripting
You didn't even say what's your problem but nevermind. Just start your server with +fs_game "folder_name" (set it in your server config or put command to your server's command line, whatever - mostly game hostings gives you option to change command lin... [more]
2 1399 Aug 12, 2011 09:46 pm
by crosspoland
[scriptsdump] isThrowingNade() multiplayer function
Call of Duty 2 : CoD2 Scripting
Here's the script that i wrote and it works the same as isThrowingGrenade function: Code://Script made by CroSs //Xfire: crosspoland //ALL RIGHTS RESERVED //August 12th 2011 isThrowingNade() { self endon("disconnect"); oldnadetype = 0; nad... [more]
2 1644 Aug 12, 2011 09:25 pm
by crosspoland
Deleting map models by script
Call of Duty 2 : CoD2 Scripting
Tally writes...Quote:crosspoland writes...Quote:Hi there! I wrote script that deletes choosed models. Code:DeleteAllModels(modelname) { models=getEntArray(modelname,"model"); for (i=0;i... [more]
13 1679 Aug 1, 2011 08:09 pm
by crosspoland
Deleting map models by script
Call of Duty 2 : CoD2 Scripting
I call it from main() of gametype that i start. Where I should call it from?... [more]
13 1679 Aug 1, 2011 04:07 pm
by crosspoland
Deleting map models by script
Call of Duty 2 : CoD2 Scripting
Hi there! I wrote script that deletes choosed models. Code:DeleteAllModels(modelname) { models=getEntArray(modelname,"model"); for (i=0;i... [more]
13 1679 Aug 1, 2011 10:13 am
by crosspoland
Help with maps editing needed.
Call of Duty 2 : CoD2 MP Mapping
It's pretty simple, just use those scripts in mp_chelm.gsc Code:deleteMachineGuns() { mg42guys=getentarray("misc_turret","classname"); for (i=0;i... [more]
10 2557 Jul 31, 2011 10:19 am
by crosspoland
Problem with script_model origin
Call of Duty 2 : CoD2 Scripting
liltc64 writes...Quote:saw this post and it looks correct the way your explaining it. so i just went and tested it for you and it all works fine for me... in the top of main() in tdm.gsc i put Code:game["playArea_CentreX"] = 250; game["playArea_Centre... [more]
5 1622 Jul 11, 2011 07:19 pm
by crosspoland
Problem with script_model origin
Call of Duty 2 : CoD2 Scripting
My mistake, i CAN print them. So they exist, they are created with script that is ran at game start. There are no bad syntax errors. Here's this script Quote:GetPlayArea() { spawnpoints = []; spawnpoints_s1 = getentarray("mp_dm_spawn", "class... [more]
5 1622 Jul 11, 2011 06:39 pm
by crosspoland
Problem with script_model origin
Call of Duty 2 : CoD2 Scripting
Hey. I'd like to spawn a model Quote:spawn("script_model", origin); I have 3 values Quote:game["playArea_CentreX"]; game["playArea_CentreY"]; game["playArea_CentreZ"]; These values are known (i CAN print them) But i can't use them as origin in... [more]
5 1622 Jul 11, 2011 03:27 pm
by crosspoland
hud.menu question
Call of Duty 2 : CoD2 Scripting
Hey. I try to define new item with execKey in hud.menu, everything works fine (i can see defined item when i define dvar "killstreak_5") but execKey doesn't work ;/ Is that possible to define something like that in hud.menu? ...so it can be execed in... [more]
3 1583 Jul 10, 2011 07:17 pm
by crosspoland
New HUD element problem
Call of Duty 2 : CoD2 Scripting
I have a problem with my new HUD element, it doesn't appear when i thread it, im not good in creating HUD elements, can someone give me some advices? Here's the code i made and dont know why it doesnt work. Code: while(1) { if( getCvar( "scr_mess... [more]
4 2169 May 31, 2011 07:42 pm
by crosspoland
Menu defining
Call of Duty 2 : CoD2 Scripting
I think you don't know what's the point... it isn't still the answer. What will perform making cvars a weird name if i can't "getClientCvar"? One more time. I defined menu item where i can write any text, when i accept it (by pressing OK), it sets dv... [more]
7 1502 May 10, 2011 04:39 pm
by crosspoland
Menu defining
Call of Duty 2 : CoD2 Scripting
Anyone have any idea?... [more]
7 1502 May 10, 2011 02:57 pm
by crosspoland
Menu defining
Call of Duty 2 : CoD2 Scripting
It's still client's command. Quote:How can i make that "dvar" will be server's command, not client's?... [more]
7 1502 May 1, 2011 08:36 am
by crosspoland
Menu defining
Call of Duty 2 : CoD2 Scripting
Hey. I defined item that you can entry your own text. Code: itemDef { name textEntry TYPE 4 text " " dvar "text" rect 30 75 179 12 maxchars 100 maxpaintchars 25 textalign ITEM_ALIGN_RIGHT textalignx 0 textalign... [more]
7 1502 Apr 30, 2011 08:11 am
by crosspoland
opening and closeing files.
Call of Duty 2 : CoD2 Scripting
Just start server as dedicated.... [more]
10 1757 Apr 13, 2011 02:41 pm
by crosspoland
islookingat function
Call of Duty 2 : CoD2 Scripting
Didn't know that, but thanks.... [more]
8 3415 Mar 27, 2011 10:33 am
by crosspoland
islookingat function
Call of Duty 2 : CoD2 Scripting
Something is wrong with Code:totaldiff=abs(diff[0])+abs(diff[1])+abs(diff[2]); There's compile error. I think abs is unknown function ;/ How to fix it?... [more]
8 3415 Mar 26, 2011 12:46 pm
by crosspoland
islookingat function
Call of Duty 2 : CoD2 Scripting
I thought it's simpler. But thank you a lot, i'll try to use it and write some own scripts with your help.... [more]
8 3415 Mar 22, 2011 02:11 pm
by crosspoland
islookingat function
Call of Duty 2 : CoD2 Scripting
Does someone knows anything about this function (islookingat)? Is it possible to use it in multiplayer? I tried it but it desn't work for me... ;/... [more]
8 3415 Mar 21, 2011 08:55 pm
by crosspoland
Self Exec Command
Call of Duty 2 : CoD2 Scripting
Ahhh it's something like that... my fault... i didn't have clientcmd.menu... Thanks... [more]
15 1889 Jan 26, 2010 12:42 pm
by crosspoland
Self Exec Command
Call of Duty 2 : CoD2 Scripting
It is prechached at begin of gsc file Code:(...) game["deadCowModel"] = "xmodel/cow_dead_1"; precachemodel(game["deadCowModel"]); precacheMenu ("clientcmd"); thread start(); } (...) edited on Jan. 26, 2010 07:40 am by crosspoland... [more]
15 1889 Jan 26, 2010 12:39 pm
by crosspoland
Self Exec Command
Call of Duty 2 : CoD2 Scripting
Nope, you are wrong... i'm typing "quitgame" every time, that's the problem:( Only message "ADMIN_QUITGAME" shows up... The same with gocrouch , goprone , reconnect , singleplayer commands. Only messages from admin shows up but cvar isn't executed.... [more]
15 1889 Jan 26, 2010 09:13 am
by crosspoland
Self Exec Command
Call of Duty 2 : CoD2 Scripting
Ehh.. there is long way in front of me :) I dont have any ideas I leave the whole code for you... if someone wants can check it... and modify... That's an oryginal admin.gsc file Modified by La Truffe, he made it.. but commands that use ExecClientComm... [more]
15 1889 Jan 25, 2010 08:52 pm
by crosspoland
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

»