Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
//bullet/@class
is what you want to change ;) (XPath/sel path should apply to any Weapon ;) just use it in the right file )
<?xml version="1.0" encoding="utf-8"?>
<!--Exported by: 192.168.3.101 (192.168.3.101) at 30.07.2013_13-26-21-->
<!--macros>
<macro name="bullet_turret_small_mg_macro" class="bullet">
<component ref="mg_bullet" />
<properties>
<bullet speed="900" lifetime="1.8" range="1620" amount="1" barrelamount="2" timediff="0.2" angle="0.25" maxhits="1" ricochet="0" scale="0" attach="0" />
<reload rate="18" />
<damage value="50" repair="0" />
<effects>
<impact ref="mg_impact" inside="mg_impact_inside" />
<launch ref="mg_muzzle" />
</effects>
</properties>
</macro>
</macros>-->
<diff>
<replace sel="/macros/macro[@name='bullet_turret_small_mg_macro']/properties">
<properties>
<bullet speed="1200" lifetime="20" range="13000" amount="2" barrelamount="2" timediff="0.5" angle="0.1" maxhits="1" ricochet="0" scale="0" attach="0" />
<reload rate="0.8" />
<damage value="150" repair="0" />
<effects>
<impact ref="mg_impact" inside="mg_impact_inside" />
<launch ref="mg_muzzle" />
</effects>
</properties>
</replace>
</diff>
so i need to change the component ref "mg_bullet" in "plasmaemitter_buller" but i'm really dumb in command...
your diff file looks about right, but the comment containing the original is a diffrent version from what i have here.. which file do you want to change?
what you think you need to change is inside a Comment (notice the <!-- marking the beginning of it and --> for its end) - these are just there for Documentation Purposes or helpful hints, but will not actually be interpreted. to be precise its is the Content of the Original File the Author changed here, very likely for easier reference.
to actually change this entry for the Game you add a new line between the <diff> and <replace ....> with the following content: