Adding a new character.

Status
Not open for further replies.
Socius Decennalis
Decennium
Joined
Jan 29, 2011
Messages
174
Reaction score
53
I'll show you how to add character ingame.
Here is a exemple of character added : (If link is dead : )
You need models for Head / Body (with legs or not) / Legs (or not if the body have legs).
First you need to make the "item" in itemdb.xml and in database (dbo.items_gear).

ItemsDB.xml :
You have to put the code between <HeroArmory> and </HeroArmory>
Code:
<Hero itemID="[COLOR="#FF0000"]UNIQUE ITEM ID[/COLOR]" category="16" Weight="0">
			<Model file="Data/ObjectsDepot/Characters/[COLOR="#FF0000"]HERONAME[/COLOR].sco" />
			<Store name="[COLOR="#FF0000"]HERONAME[/COLOR]" icon="$Data/Weapons/StoreIcons/[COLOR="#FF0000"]HERONAME[/COLOR].dds" desc="[COLOR="#FF0000"]HERODESC[/COLOR]" LevelRequired="0" />
			<HeroDesc damagePerc="0" damageMax="0" maxHeads="[COLOR="#FF0000"]X1[/COLOR]" maxBodys="[COLOR="#FF0000"]X2[/COLOR]" maxLegs="[COLOR="#FF0000"]X3[/COLOR]" ProtectionLevel="1" />
		</Hero>

UNIQUE ITEM ID : You have to use a id that no other item have.
HERONAME : the name of your character.
HERODESC : Description of the character. (useless here)
X1 : number max of usable heads
x2 : number max of usable bodys
x3 : number max of usable legs


Now you have to make it in the SQL database (WarZ).

dbo.items_gear:
ccleanerz - Adding a new character. - RaGEZONE Forums


You need the .dds to use in menu GUI.
GUI IMAGES
in the folder "Data/Weapons/StoreIcons/"
put files like :
Code:
[COLOR="#FF0000"]HERONAME[/COLOR].DDS
[COLOR="#FF0000"]HERONAME[/COLOR]2.DDS
[COLOR="#FF0000"]HERONAME[/COLOR]3.DDS
The first file is the image used in character creation (choose the character to create / unlock)
The second file is the image show next to character name (when you select a character)
The last one if show when unlock in the windows where you buy the character with GC or dollar.

You have the character item and images you need the models.

MODEL FILE
The game detect body part with the file name.

For the head:
Code:
[COLOR="#FF0000"]HERONAME[/COLOR]_head_[COLOR="#FF0000"]XX[/COLOR].sco
For the body:
Code:
[COLOR="#FF0000"]HERONAME[/COLOR]_body_[COLOR="#FF0000"]XX[/COLOR].sco
For the FPS VIEW (Hands):
Code:
[COLOR="#FF0000"]HERONAME[/COLOR]_bodyfps_[COLOR="#FF0000"]XX[/COLOR].sco
For the legs:
Code:
[COLOR="#FF0000"]HERONAME[/COLOR]_legs_[COLOR="#FF0000"]XX[/COLOR].sco

HERONAME : the name of your character.
XX : the number of the part


If you have 3 Different part of body (Like in exemple) you have change the number of part for each model.
Exemple :
Code:
[COLOR="#FF0000"]HERONAME[/COLOR]_body_[COLOR="#FF0000"]01[/COLOR].sco
[COLOR="#FF0000"]HERONAME[/COLOR]_body_[COLOR="#FF0000"]02[/COLOR].sco
[COLOR="#FF0000"]HERONAME[/COLOR]_body_[COLOR="#FF0000"]03[/COLOR].sco
Put the files in "Data/ObjectsDepot/Characters/"

For the video exemple i took those files :
ccleanerz - Adding a new character. - RaGEZONE Forums

In this character the legs are made with the body (suit) so i have to put 1 in max leg (Itemdb and sql) wihout model here.
(you need .sco file for final release)

And the last thing is the name and description (Data\LangPack).

ENGLISH.LANG
English is for the stantard language of WarZ take another one if you changed the language in settings.
Code:
[COLOR="#FF0000"]UNIQUE ID[/COLOR]_name=[COLOR="#FF0000"]HERONAME[/COLOR]
[COLOR="#FF0000"]UNIQUE ID[/COLOR]_desc=[COLOR="#FF0000"]HERODESC[/COLOR]

Exemple :
Code:
20212_name=Special Force
20212_desc=Made by CCleanerZ

BROTIP : Use -1 as weight in ItemDB and SQL to make invisible in character creation.

Sorry for my bad english,if there's any problem feel free to tell me.
 
Last edited:
Status
Not open for further replies.
Back