SPi

CoD4 MP Modding Help

4 posts in this topic

Hey all.

So as some of you may know I'm an experienced Singelplayer Mapper.

I have worked a bit on CoD4 Multiplayer, however not very much so I can say I'm skilled on it.

But the thing is I'd like to make some modifications and I don't know how.

 

I would really need your help to do the following:

 

1) I have a common problem I encountered some time ago, but I don't remember how to solve it.

Despite I put SAS and Russians, the game has marines and arabs instead. But their Logos, Team titles and announcers are correct. I know this is common but i really don't remember what I should do.

And instead of stock mptype SAS i would like to mnake my own mptype be used in SAS team.

I already made the MPTYPE file with assets manager, with the characters I want. So now I need to make the game use them instead. (After some investigation on maps/mp/gametypes I found that _team.gsc That should be the one that does it, but i don't know if i should take the risk of editing it)

 

2) Make In game UI character selection. 

I've seen this on some other mods like PeZBOT, and I would really like to do one with my own characters.

I have already made a mptype, as told above, with the characters I want, but I have no idea how to implement it in my mod.

I also have a mp_up folder in my mod ready to edit.

I would also like to have custom team title like "Task Force 99" and not "S.A.S." and custom team announcer voice (those last ones should be easier)

 

3)My custom maps visible on map list.

I'm sure this  is possible, but again I don't know how. I will have about 4 maps in my mod that I'd like them to be shown in map list. Also please remind me how to make their name in loadscreen not be "mp_mymap" but be like "School v1.0"

I can handle the loadscreen.

 

I Hope to see elaborated and helpful replies thanks. 

0

Share this post


Link to post
Share on other sites

1. See setPlayerModels() which is assigning mptype in raw/maps/mp/gametypes/_teams.gsc , you can code an override hack in playerModelForWeapon()

3. Edit raw/mp/CoD2maps.arena and include it in your mod.csv

 

2. Is a little more work to do, first head to raw/maps/mp/gametypes/_menus.gsc and see the code below this comment (since you're familiar with coding i guess I won't need to explain it and you'll figure it out instantly yourself):

// ======== catching response for create-a-class events ========

Edit the menu file raw/ui_mp/cac.inc it's very well documented and it should be no problem to add a new button & popup menu to chose model

1

Share this post


Link to post
Share on other sites

1. See setPlayerModels() which is assigning mptype in raw/maps/mp/gametypes/_teams.gsc , you can code an override hack in playerModelForWeapon()

3. Edit raw/mp/CoD2maps.arena and include it in your mod.csv

 

2. Is a little more work to do, first head to raw/maps/mp/gametypes/_menus.gsc and see the code below this comment (since you're familiar with coding i guess I won't need to explain it and you'll figure it out instantly yourself):

// ======== catching response for create-a-class events ========

Edit the menu file raw/ui_mp/cac.inc it's very well documented and it should be no problem to add a new button & popup menu to chose model

I've figured almost all out. But In game character selection.

 

What I want to do is this:

https://www.youtube.com/watch?v=etinymW_95I

 

But i still cant figure it out. IDK how this _menu will help.

 

Also do you think you have something i can use about this here? :

https://github.com/BraXi/CoD4_DeathRun_1.2_Mod

0

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now