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

Members Online

»
0 Active | 38 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 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 3161 Jun 28, 2013 07: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 3161 Jun 27, 2013 12:25 pm
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 2873 Apr 15, 2013 11:37 am
by serthy
Hud images at a menu file
Call of Duty 2 : CoD2 Scripting
xf: serthy... [more]
15 5821 Mar 16, 2013 07: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 5821 Mar 16, 2013 07: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 5821 Mar 16, 2013 07: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 5821 Mar 16, 2013 01:23 pm
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 4577 Oct 25, 2012 01:35 pm
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 3000 Oct 23, 2012 11: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 3000 Oct 23, 2012 09: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 2724 Oct 22, 2012 07: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 3000 Oct 22, 2012 06:26 pm
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 3000 Oct 22, 2012 05:24 pm
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 3789 Oct 22, 2012 05:03 pm
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 3193 Oct 20, 2012 08: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 4577 Oct 20, 2012 12:50 pm
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 4577 Oct 20, 2012 12:52 am
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 4577 Oct 17, 2012 09: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 4577 Oct 17, 2012 05:43 pm
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 2698 Oct 16, 2012 10: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 3961 Oct 16, 2012 09: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 2400 Oct 10, 2012 11: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 6338 Oct 9, 2012 07: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 6338 Oct 8, 2012 04:26 pm
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 4265 Oct 6, 2012 09: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

»