In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Pages: [1]   Go Down
  Print  
Author Topic: Cod uo plugins config files..  (Read 1227 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« on: May 15, 2010, 07:17:19 AM »

Hello all

in run B3 and xlrstats with this config:

http://xlr8or.snt.utwente.nl/xlrstats/index.php?option=com_content&view=article&id=133&Itemid=198

But i run cod uo with german frontmod modified with new weapons... cocktail flashbang mustard gaz etc...

for exemple name of new weapons in weapon folder:
cocktail_mp
flashbang_mp
m1carbine_gfm_mp
m39_mp
mp_mustardgas
ranger_knive_mp
etc....

and name of nade in gfm is
fraggrenade_mp
rgd-33russianfrag_mp
stielhandgranate_mp
etc...

I have to add this list of new weapon has the current list??

thank's for help

Adam
Logged


[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: May 15, 2010, 07:24:56 AM »

In the XLRstats/config folder on your XLRstats website is a file called cod1.php holding the translations of the weapon names.
The lines holding the translations look like this:
 $w['bar_mp'] = "BAR";

For each weapon you'll have to add a line with between [' and '] the name as they appear in the gamelog and between " and " the name as you want them on the XLRstats pages.

In the example above bar_mp translates to BAR on the site.

The file you are referring to in the b3/extplugins/conf folder (the xlrstats.xml file) you can add the weapons as well if you want to alter the skill calculation. It is explained here: http://xlr8or.snt.utwente.nl/xlrstats/index.php?option=com_content&view=article&id=121&Itemid=187#configurationoptions (scroll down to the [weapons] section)
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« Reply #2 on: May 15, 2010, 09:22:33 AM »

Hello xlr8or

thanks for the quick answer..

and nice explain  Smiley

i modify COD1 or CODUO php???

if i understand i add this in cod1.php

exemple:

//GFM weapons
$w['cocktail_mp'] = "molotov cocktail";
$w['m1carbine_gfm_mp'] = "m1 carabine";
etc......


and in config files


  <set name="cocktail_mp">1.0</set>
  <set name="m1carbine_gfm_mp">1.25</set>

etc....


thanks
Adam
« Last Edit: May 15, 2010, 09:32:24 AM by adam » Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #3 on: May 15, 2010, 09:45:30 AM »

My mistake, you're correct, it should be added in coduo.php, not cod1.php
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« Reply #4 on: May 16, 2010, 04:41:27 AM »

Hello and thank's mate work fine Grin


adding GFM weapons in coduo.php

Code:

//GFM EXtras WEAPONs
$w['geballte_ladung_mp'] = "geballte ladung";
$w['gfm_sherman_turret_mp'] = "german turret";
$w['greasegun_mp'] = "greasegun";
$w['leut_mp40_mp'] = "mp40";
$w['kingtiger_turret_mp'] = "kingtiger turret";
$w['kv1_turret_mp'] = "kv1 turret";
$w['leut_thomson'] = "thomson";
$w['leut_thomson_semi'] = "thomson";
$w['m10_turret_mp'] = "m10 turret";
$w['m1carbine_gfm_mp'] = "m1903";
$w['marder_turret_mp'] = "marder turret";
$w['medic_enfield_mp'] = "medic enfield";
$w['medic_kar98k_mp'] = "medic kar";
$w['medic_m1carbine_mp'] = "medic m1903";
$w['medic_mosin_nagant_mp'] = "medic mosin";
$w['medic_weapon_mp'] = "medic weapon";
$w['mg42_mp'] = "mg 42";
$w['officer_mp40_mp'] = "mp18";
$w['officer_ppsh_mp'] = "officer ppsh";
$w['officer_ppsh_semi_mp'] = "officer ppsh_semi";
$w['officer_sten_mp'] = "offficer sten";
$w['officer_sten_silenced_mp'] = "officer sten silenced";
$w['officer_thompson_mp'] = "officer thomson";
$w['officer_thompson_semi_mp'] = "officer thomson semi";
$w['pak40_turret_mp'] = "pak40 turret";
$w['pak43_turret_mp'] = "pak43 turret";
$w['panther_turret_mp'] = "panther turret";
$w['PTRS41_Antitank_Rifle_mp'] = "antitank rifle";
$w['ranger_knife_mp'] = "ranger knive";
$w['stug_turret_mp'] = "stug turret";
$w['tigerI_turret_mp'] = "tiger turret";
$w['weapon_gfmspaten_mp'] = "gfm spaten";
$w['cocktail_mp'] = "cocktail molotov";
$w['mp_mustardgas'] = "gas mustard";

and in Xlrstats

Code:
     <set name="geballte_ladung_mp">1.50</set>
<set name="gfm_sherman_turret_mp">0.8</set>
<set name="greasegun_mp">1.1</set>
<set name="leut_mp40_mp">0.80</set>
<set name="kingtiger_turret_mp">0.8</set>
<set name="kv1_turret_mp">0.8</set>
<set name="leut_thomson">0.80</set>
<set name="leut_thomson_semi">1.15</set>
<set name="m10_turret_mp">0.8</set>
<set name="m1carbine_gfm_mp">1.35</set>
<set name="marder_turret_mp">0.8</set>
<set name="medic_enfield_mp">1.35</set>
<set name="medic_kar98k_mp">1.20</set>
<set name="medic_m1carbine_mp">1.35</set>
<set name="medic_mosin_nagant_mp">1.25</set>
<set name="medic_weapon_mp">1.20</set>
<set name="mg42_mp">1.0</set>
<set name="officer_mp40_mp">0.80</set>
<set name="officer_ppsh_mp">0.80</set>
<set name="officer_ppsh_semi_mp">0.90</set>
<set name="officer_sten_mp">0.80</set>
<set name="officer_sten_silenced_mp">0.80</set>
<set name="officer_thompson_mp">0.80</set>
<set name="officer_thompson_semi_mp">0.85</set>
<set name="pak40_turret_mp">0.8</set>
<set name="pak43_turret_mp">0.8</set>
<set name="panther_turret_mp">0.8</set>
<set name="PTRS41_Antitank_Rifle_mp">1.0</set>
<set name="ranger_knife_mp">1.10</set>
<set name="stug_turret_mp">0.8</set>
<set name="tigerI_turret_mp">0.8</set>
<set name="weapon_gfmspaten_mp">1.50</set>
<set name="cocktail_mp">1.0</set>
<set name="mp_mustardgas">1.0</set>


Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal