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

Members Online

»
0 Active | 83 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:
Forum: All Forums : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Change Attachment name in MP Menu
franky500
General Member
Since: Aug 31, 2015
Posts: 2
Last: Sep 13, 2015
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Saturday, Sep. 12, 2015 09:36 pm
attachment: image(100.1Kb)
Hi Guys,

Sounds like a simple request but i'm pulling my hair out trying to find a way to change the names of the attachment in the class menu,

Simply put i want to rename all of the attacments, So for example instead of displaying the attachment name "Red Dot Sight" i want it to display "Scope 4" (can you tell its for a sniper focussed mod!)

I've already sorted the weapon files to use different scope overlays depending on the attachment you pick, but can't figure out how to change the display name.

Any pointers would be great! Cheers guys.
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 Scripting
Posted: Sunday, Sep. 13, 2015 09:54 am
You need to edit the localized file responsible for these names

That is mpui.str located in cod4/raw/english/localized/mpui.str
make a backup of it before you do any changes.

To successfully apply any changes of it on your mod you dont need to edit the mpui.str located in cod4/raw/english/localized/mpui.str

Copy the mpui.str then go to your cod4/mod/yourmod folder
create a folder called english and inside that one an other one called localizedstrings and paste it there.

Now if you know how to add files in the mod.ff add that file into it.

If you dont here is a short explanation.
In your mod folder create a mod.csv file
if you dont know how to edit a csv file just open it with text editor
and add this line
localize,mpui
Then you have to build your mod and make a mod.ff
If you dont know how search for tuts its too hard for me to explain.
Its the final step so it wont be hard if you do all the previous stuff.
But your main issue should be solved with the info i provided.
Good luck [thumbs_up]
Share |
franky500
General Member
Since: Aug 31, 2015
Posts: 2
Last: Sep 13, 2015
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Sunday, Sep. 13, 2015 01:06 pm
SPi, I could kiss you right now (or find an attractive young lady to kiss you on my behalf...)

The modding of the weapon files was no problem, The changing the weapon names was no problem! so i found the string references for the attachments and thought.. that'll be it!

I was doing the localization for the attachments but i was putting those references in the Weapons.str

Very new to the modding and did not even consider the string file would matter as long as the references were in one that was loaded. Now i know!

You're a star mate, Cheers for the help. Like i say i'm new to the modding bit but understand how most things work, Along with the help from tutorials and downloads and other posts around here i'm making good progress. So Thanks again!
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

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

»