| Author |
Topic: guide through first steps of modding |
| serthy |
General Member Since: Sep 8, 2010 Posts: 482 Last: Jun 28, 2013 [view latest posts] |
|
|
 |
|
Category: CoD2 Scripting Posted: Sunday, Feb. 13, 2011 11:54 pm |
 |
Hey Guys!
after learning a lot of basic mapping and basic scripting stuff i really want start to learn how to mod.
i know and see that all of you guys were brilliant modders
and i ask you if it is possible to help me with modding?
i take hard looks on this forum here, iw nation and millions other forums, if there are some mod-tutorials or if there is something basic explained, but.. i failed
all of them said, add me on this messenger and ill show u this and that :(
i also downloaded 13 GB of mod-files and scripting stuff and i take a look on a lot of these mods, trying to learn it by myself
i have to say its overwhelming... what it is possible to do
i tried to do start mod some really simple files (weapon) and it worked, not perfect and with some troubles i had there, but i made it
but u all now how cheap it is, i mean, this are 'only' some simple weaponfiles, where u change some numbers and directories..
hahaha i also tried to change only 1 word in the quickmessage.menu-file its displayed the new word in MP, but then there is no sound on this quickmessage ._.
so it is much more complex i thought
ehm.. yhh
maybe if it is possible to help me and maybe other dummies (theyll NOW start mod with cod2 lol)
and so u can say me where to start with
maybe color some menu-files or sth like that
it would be great! |
|
|
|
| liltc64 |
General Member Since: Feb 12, 2007 Posts: 906 Last: Oct 22, 2012 [view latest posts] |
|
|
 |
|
|
| IzNoGoD |
General Member Since: Nov 29, 2008 Posts: 694 Last: Nov 10, 2012 [view latest posts] |
|
|
|
|
| serthy |
General Member Since: Sep 8, 2010 Posts: 482 Last: Jun 28, 2013 [view latest posts] |
|
|
 |
|
Category: CoD2 Scripting Posted: Monday, Feb. 14, 2011 11:48 am |
 |
big thanks to you guys
im glad that some of u still have fun with mod a 5 year old game
and help some newbies here out of trouble , you rock ![[rocking]](images/BBCode/smilies/rocking.gif)
i know that you can mod nearly everything
if i would know where to start :D :D
^^
okay
i have looked on how to set up custom menus, like quickchatmenu or mainmenu i think i need a bit more of skill for it xD
so i will start with something simple
lets say i want only modify the weaponnames
i found a minimod where ur smokenade is replaced with a stickynade
there is a folder localizedstrings and in it a weapon.str file
i opened it and placed infront of every weaponname my clantag, saved it as .str-file put it in localizedstringsfolder and created new zzz_mymod.iwd file into main directory of cod2, right?
maybe i forgot something, but nothing changes ingame
so i looked on thestickynade-mod-files, but there are only weaponfiles for the new weapon-nade files and new images and materials for it, actually nothing to do with the names of weapons, right?
edited on Feb. 14, 2011 05:32 pm by serthy |
|
|
|
| Xylozi |
General Member Since: Jul 12, 2008 Posts: 218 Last: Mar 1, 2012 [view latest posts] |
|
|
 |
|
Category: CoD2 Scripting Posted: Tuesday, Feb. 15, 2011 06:32 am |
 |
serthy writes...Quote: big thanks to you guys
im glad that some of u still have fun with mod a 5 year old game
and help some newbies here out of trouble , you rock ![[rocking]](images/BBCode/smilies/rocking.gif)
i know that you can mod nearly everything
if i would know where to start :D :D
^^
okay
i have looked on how to set up custom menus, like quickchatmenu or mainmenu i think i need a bit more of skill for it xD
so i will start with something simple
lets say i want only modify the weaponnames
i found a minimod where ur smokenade is replaced with a stickynade
there is a folder localizedstrings and in it a weapon.str file
i opened it and placed infront of every weaponname my clantag, saved it as .str-file put it in localizedstringsfolder and created new zzz_mymod.iwd file into main directory of cod2, right?
maybe i forgot something, but nothing changes ingame
so i looked on thestickynade-mod-files, but there are only weaponfiles for the new weapon-nade files and new images and materials for it, actually nothing to do with the names of weapons, right?
If you used the weapon.str file to alter the weapon strings, you need to compile the mod with a mod.ff, including this line:
Code: localize,weapon
An easier way to change the weapon name is to edit the DISPLAYNAME\ part of the weapon file, then you can add the modified weapons to any mod. |
 |
|
|
| IzNoGoD |
General Member Since: Nov 29, 2008 Posts: 694 Last: Nov 10, 2012 [view latest posts] |
|
|
|
|
| serthy |
General Member Since: Sep 8, 2010 Posts: 482 Last: Jun 28, 2013 [view latest posts] |
|
|
 |
|
|
| liltc64 |
General Member Since: Feb 12, 2007 Posts: 906 Last: Oct 22, 2012 [view latest posts] |
|
|
 |
|
|
| serthy |
General Member Since: Sep 8, 2010 Posts: 482 Last: Jun 28, 2013 [view latest posts] |
|
|
 |
|
Category: CoD2 Scripting Posted: Wednesday, Feb. 16, 2011 12:58 am |
 |
cool
im on the right way! ;)
if it would work... lol
im keep testing it
edit:
alright got my problem
the good old zip-rar trap :)
damn its cool, my first mod :D prints Test xD rofl but im rly happy right now! lol
edit 2nd one:
yehaa i can now call an airstrike on stockmaps with binocs |
|
|
|
| serthy |
General Member Since: Sep 8, 2010 Posts: 482 Last: Jun 28, 2013 [view latest posts] |
|
|
 |
|
Category: CoD2 Scripting Posted: Thursday, Feb. 17, 2011 02:15 am |
 |
okay guys ^.^
now i know that the whole maps/mp/gametypes stuff is serverside
and i understand where to set up some scripts in there:)
tomorrow ill try to understand the quickmasseges or the menu stuff
there are 3-4 tutorials on some webpages
okay i wrote a namechanger.gsc :
Code: renamer_init()
{
level thread onPlayerConnect();
}
onPlayerConnect()
{
wrongname[0] = "UnnamedPlayer";
wrongname[1] = "Unknown Soldier";
wrongname[2] = "Killer";
wrongname[3] = "Motherfucker";
wrongname[4] = "flick";
wrongname[5] = "flicker";
wrongname[6] = "CONSLE";
wrongname[7] = "Sex";
wrongname[8] = "Fist";
wrongname[9] = "Anal";
wrongname[10] = "cancer";
wrongname[11] = "moron";
wrongname[12] = "gay";
badname[0] = "Nazi";
badname[1] = "Hitler";
badname[2] = "Goering";
badname[3] = "Adolf";
badname[4] = "Himmler";
badname[5] = "Nigga";
badname[6] = "african american";
badname[7] = "Sieg heil";
badname[8] = "Heil";
badname[9] = "Sieg";
badname[10] = "Rommel";
badname[11] = "Jew";
badname[12] = "Racist";
badname[13] = "Stalin";
badname[14] = "Heil hitler";
rannum = randomint(999);
for(;;)
{
level waittill("connected", player);
player.renamed = 0;
for( i = 0 ; i < 13 ; i++ )
{
if(player.name == wrongname[i])
{
player setClientCvar("name","Played on ^1|^2G^1r^2Z^1|17 " + rannum );
player.renamed = 1;
wait 1;
player iprintln("You got renamed to:^7" + player.name +"\n^7Please always keep correct names in ur head !");
}
}
for( j = 0 ; j < 15 ; j++ )
{
if(player.name == badname[j])
{
player setClientCvar("name","Never used my Brain " + rannum );
player.renamed = 1;
wait 1;
player iprintlnBold("You got renamed to:^7" + player.name +"\n^7Please always keep correct names in ur head !");
}
}
}
}
it works good
with 1 issue:
it changes the name of the connecting player
but after that the player can rename himself to a badname
how can i fix that?
and 1 question:
i want the guys with badnames connect to server, rename and kick as lil judgement for it
how do i do this (kick them)?
thank youuuuuu :p |
|
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|