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

Members Online

»
0 Active | 6 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 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:
Forum: All Forums : Call of Duty: World at War
Category: CoDWW Scripting
Scripting and coding with Call of Duty: World at War.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Weapon menu
mload
General Member
Since: Jun 24, 2006
Posts: 8
Last: Jul 26, 2009
[view latest posts]
Level 0
Category: CoDWW Scripting
Posted: Sunday, May. 3, 2009 01:50 pm
Hello together

I work straight to my Mod and want to insert new weapons in the play
New grenades and mines as I white I make only give it a Tutorial
Me shows as I the menu to change can thereby one these weapons select can?

I had times I find it found not more. [crazy]
Thanks for your assistance.

Sorry for my english


Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoDWW Scripting
Posted: Sunday, May. 3, 2009 02:56 pm
Call of Duty 5: Menu Modding Basics

this tutorial?
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Sunday, May. 3, 2009 05:06 pm
Not sure if your problem is how to get a new weapon in game? Or, you've got a new weapon (grenade) in, but cant get an image to show up for it.

I'll take it as the latter - that youve got a new grenade in, but cant get an image to show for it.

All the images for the weapons, grenades, etc, are in a stringtable - statstable.csv. The game reads from this, and finds the right image.

For example, the frag_grenade image has the number 100 assigned to it:

Quote:
100,3100,weapon_grenade,WEAPON_FRAGGRENADE,frag_grenade,1,weapon_fraggrenade,PERKS_ANTIPERSONNEL_DEVICE


In changeclass.menu, the game is told to look at the first number in the list for the image:

Quote:
#define DATA_TABLE_PRIMARY_GRENADE int(tablelookup( "mp/classTable.csv", 1, (dvarInt("ui_class_offset")+0), 5 ))


There are plenty of numbers for grenade weapons which are not in use by the game, and you can use them - numbers ranging from 106 - 109. Edit statstable.csv and add your new grenade in, and then compile the new statstable.csv into your mod.ff file:

stringtable,mp/statstable.csv

Modding the menus can be straight forward if what you want is simple, or a bloody nightmare if what you want is more complicated. I have spent the last month working on menus for my clan's mod (Demon), and I have only just got my head round it. So, be prepared for many many hours of trial and error.

edited on May. 3, 2009 01:08 pm by DemonSeed
Share |
mload
General Member
Since: Jun 24, 2006
Posts: 8
Last: Jul 26, 2009
[view latest posts]
Level 0
Category: CoDWW Scripting
Posted: Monday, May. 11, 2009 04:58 pm
Thanks for your help [wave]

I am already used to error messages with this Game [mad]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW 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

»