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

Members Online

»
0 Active | 54 Guests
Online:

LATEST FORUM THREADS

»
Gaming
Q4 General
eXtreme+ v2.9
CoDBO Map + Mod Releases
map loading error
CoD2 MP Mapping
Good Servers on PC
CoDBO General

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 serthy
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
Working with files
Call of Duty 2 : CoD2 Scripting
there are no more file-functions provided by CoD2 you have to write your own routines or checkout kung foo man's servers (killtube.org) he offers you full mysql support and other stuff on his CoD2 servers... [more]
8 2345 Jun 28, 2013 12:31 am
by serthy
Working with files
Call of Duty 2 : CoD2 Scripting
this reads every line in your file and every argument in the current line seperated by a comma fileID = openFile( "test.txt" , "read" ); for( elementCount = fReadLn( fileID ) ; elementCount >= 0 ; elementCount = fReadLn( fileID ) ) { for( i = 0 ; ... [more]
8 2345 Jun 27, 2013 05:25 am
by serthy
making a listen server
Call of Duty 2 : CoD2 MP Mapping
i made a HOMESERVER.cmd (.txt file and rename to .cmd) next to my cod2mp.exe with the following code: Code:start CoD2MP_s.exe +set dedicated 2 +set fs_game testmod +exec server.cfg +set developer 1 ping 172.0.0.1 -n 1 -w 3000 start CoD2MP_s.exe + conne... [more]
5 1984 Apr 15, 2013 04:37 am
by serthy
Hud images at a menu file
Call of Duty 2 : CoD2 Scripting
xf: serthy... [more]
15 1676 Mar 16, 2013 12:56 pm
by serthy
Hud images at a menu file
Call of Duty 2 : CoD2 Scripting
why are you using 1000 itemdefs?!?!?!?!??!?!?! use like i showed: style WINDOW_STYLE_DVAR_SHADER so you can do draw an image that is in your dvar! ui_image_1 white >> the image shown is the "white" image! also if you really need to have 1000 ite... [more]
15 1676 Mar 16, 2013 12:49 pm
by serthy
Hud images at a menu file
Call of Duty 2 : CoD2 Scripting
how many itemDef's are you using? keep in mind if ther is only ONE syntax error, the whole menu wont be showed! so trial'n'error every single menu, start with an almost empty menu and add step by step your items to it if you exceeded the max itemDef'... [more]
15 1676 Mar 16, 2013 12:41 pm
by serthy
Hud images at a menu file
Call of Duty 2 : CoD2 Scripting
try using macros! less code, less errors! ill give you a short example menu, cant test it by now, but this can be ur part ;) Code:#include "ui/menudef.h" //vars are case-sensitive! //you have to place a backslash \ after every row, except for th... [more]
15 1676 Mar 16, 2013 06:23 am
by serthy
setWaypoint() problem
Call of Duty 2 : CoD2 Scripting
okay it seems like either my other code is messed up or the cod2 installment is kind of damaged i noticed that the damagefeedback onetime was also moving, without having modified this.. so ill reinstall cod2 and hope it will work then cheers serthy... [more]
9 3472 Oct 25, 2012 06:35 am
by serthy
Curved trajectory
Call of Duty 2 : CoD2 MP Mapping
pseudo code (the way I would make this..): Code:time = 5.0; plane moveTo( pointA , time ); //plane moves to the starting point of your curve wait( time - 0.1 ); //wait a bit shorter to prevent a small delay of the movement plane moveCirclular( 1... [more]
11 2253 Oct 23, 2012 04:12 am
by serthy
Curved trajectory
Call of Duty 2 : CoD2 MP Mapping
Mate, can you draw me small picture to show me how you want your plane to move? I guess this wouldn't require this complex maths then..... [more]
11 2253 Oct 23, 2012 02:17 am
by serthy
Different Texture names beetwen .iwd and Radiant
Call of Duty 2 : CoD2 MP Mapping
in radiant & ingame it shows you the 'material' names, you have to look in the materials folder and open the material and therew is your .iwi reference... [more]
3 1894 Oct 22, 2012 12:38 pm
by serthy
Curved trajectory
Call of Duty 2 : CoD2 MP Mapping
to explain it a bit more: this function interpolates between an array of points an gives you the coordinates to a specific fraction of your curve: (sorry it was fast-paintned :D) ... [more]
11 2253 Oct 22, 2012 11:26 am
by serthy
Curved trajectory
Call of Duty 2 : CoD2 MP Mapping
create an array with: the first entry as your starting point the last entry as your target point the entries between as your curve point (act like 'hinges' to create the curve) call a loop to move your object to to your target end let the code recal... [more]
11 2253 Oct 22, 2012 10:24 am
by serthy
GSC Based Aimbot - How to? #2
Call of Duty 2 : CoD2 Scripting
well tbh this isnt a cheat in my eyes... this is a codscript that CAN be used as aimbot BUT also for said sentry guns, to force something to rotate in the right direction or even to get the direction between 2 points and so on (it is simple maths..) it ... [more]
22 2932 Oct 22, 2012 10:03 am
by serthy
Tutorials on some methods for managing large maps?
Call of Duty 2 : CoD2 MP Mapping
1. http://wiki.modsrepository.com/index.php/Call_of_Duty_5:_Import_Layout 2. select ur Brushes > LMB in 2D > func_group (iirc shift+alt+LMB to select your entire func_group) (search for it there are some more hints on that in the web 3. there are some t... [more]
3 2213 Oct 20, 2012 01:30 pm
by serthy
setWaypoint() problem
Call of Duty 2 : CoD2 Scripting
hell yeah, thank you, this is working! my problem now: sometimes the bar is at the wrong position and moves to the place where it should be for either the movetime or just for a frame here is my code: Code:/*>> self == trigger * * */ monitorPlaye... [more]
9 3472 Oct 20, 2012 05:50 am
by serthy
setWaypoint() problem
Call of Duty 2 : CoD2 Scripting
another problem on the HUD's: is there a way to have a loadbar that goes from the bottom to the top? its easy to manage bars that goes from the left to the right and also from the top to the bottom, but the reverse ones are nuts! the bars starts somewhe... [more]
9 3472 Oct 19, 2012 05:52 pm
by serthy
setWaypoint() problem
Call of Duty 2 : CoD2 Scripting
wow thanks again Tally! well this sucks :( but yeha, this explains it why all cod's uses shaders as waypoints (didnt think of that) this way i have to forget about some nice looking bars as waypoints, mhh damnit so i have to rethink and use some other... [more]
9 3472 Oct 17, 2012 02:25 pm
by serthy
setWaypoint() problem
Call of Duty 2 : CoD2 Scripting
Hey! I try to create a bar + background with the setWaypoint()-function. the problem is: if my HUD uses setWaypoint() it will ignore alpha, color, and the size of setShader() or scaleOverTime() also setValue() is setWaypoitn() only supporting static ... [more]
9 3472 Oct 17, 2012 10:43 am
by serthy
random teleport locations
Call of Duty : CoDUO Mapping
teleports you to different "target" positions: Code:main() { level.transporter_entries = getEntArray( "enter" , "targetname" ); level.transporters_targets = getEntArray( "target" , "targetname" ); if( isDefined( level.transporter_entries ) && is... [more]
3 1994 Oct 16, 2012 03:00 am
by serthy
New MP Map [SD Only]
Call of Duty 2 : CoD2 Map + Mod Releases
really good job for your first map!! if i remind myself on my first one... lololol :D read some tutorials around alpha blending, decals, terrain meshes and your map will be awesome!... [more]
8 2720 Oct 16, 2012 02:48 am
by serthy
maya cod tools
Call of Duty 2 : CoD2 Scripting
Yeah Stryder, its like in Resident Evil: Retribution Quote:[SPOILER]You will meet some good old Zombie-friends out there ;)[/SPOILER]... [more]
44 1978 Oct 10, 2012 04:59 pm
by serthy
MattY's Weekly COD2 Script Dump!
Call of Duty 2 : CoD2 Scripting
yh the thing was to synchronise the "tracer" and the explosion - said: the traveltime of the tracer i only know the UN-made this with a shitload of bullettraces + the speed out of the EffectsED (around 13000 irrc), so maybe i just want to know how Matty'... [more]
64 5225 Oct 9, 2012 12:28 pm
by serthy
MattY's Weekly COD2 Script Dump!
Call of Duty 2 : CoD2 Scripting
Yh, would like to see how you synchronised your AC-130 shoteffects and their collision ;)... [more]
64 5225 Oct 8, 2012 09:26 am
by serthy
Struct is not an entity... - Please help me somebody...
Call of Duty 2 : CoD2 Scripting
ask yourself: what is self here: Code:init() { while(1) { self thread noIsOnGround(); wait .05; } } what is self here: Code: if (!self isOnGround() && player isOnGround()) { self iprintlnbold("You are no is on Ground"); ... [more]
6 3173 Oct 6, 2012 02:13 am
by serthy
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

»