Foraven -> RE: Item description (8/22/2009 11:55:29 AM)
|
quote:
ORIGINAL: wolfman391 Were do i put it to show up in game as i have new weapons and ammo but the shop just shows a blank no info. If I'v go it righ it should be in basis\locale\english\scripts\? All so how do u add ammo with out getting a error? Thanks. Small update the description are in the wrong folder. english is in the russian thats why i could not get them to work.I'v moved them to the russian folder and thay work now. All thats left is to get the ammo to work with out the crash. There are several things to do to get new weapons and ammos in game. You have to edit several xmls first, like weapons, caliber and ammos (do for one difficulty level at first, then duplicate the file when you are satisfied with the results). In weapons you have to define the weapons and assign wich caliber of ammos goes with it. In caliber you define what ballistic effects you new caliber has. In ammos, you define the caliber contained in the ammo clips/mags, have them use ammo count that mirror the amounts your weapons can have or else you won't be able to unload them. And last, you have to add new entries in your localized language, new xmls for each weapons and ammo clips size, and an entry in AMMO and WEAPONS xmls files so when you move your mouse over the new items, their name are displayed. You must have noticed weapons and ammo directories have duplicates in the shop dir; the main descriptions are what you can read everywhere in the game, the shop is what you read when you try to pick new items in the shop. In my mod i made them identical because it was too tedious to have them different. Foraven
|
|
|
|