歡迎來到 Wargaming.net Wiki!
使用者頁面
討論
變換
檢視
原始碼
檢視歷史
搜尋
例如:
遊戲
戰車世界
戰機世界
戰艦世界
戰車世界:點將錄
戰車世界:閃擊戰
戰車世界:家用主機版
導覽
首頁
Wiki discussion
Purge page cache
隨機頁面
近期變動
使用說明
《戰車世界》網站
《戰機世界》網站
《戰艦世界》網站
《戰車世界:閃擊戰》網站
《戰車世界:家用主機版》網站
工具箱
連入頁面
相關頁面修訂記錄
使用者編修記錄
日誌
特殊頁面
頁面資訊
檢視 使用者:Llamaclysm:eu 的原始碼
←
使用者:Llamaclysm:eu
跳轉到:
導覽
、
搜尋
根據以下的原因,您並無權限去做編輯這個頁面:
您剛才的請求只有這些使用者組的使用者才能使用:
使用者
、
貢獻者
想要編輯頁面庫,您在 Wargaming.net 世界的遊戲戰鬥數必須不低於 100 場。
你可以檢視並複製本頁面的原始碼。
<big><big>CombatChars Syntax Matrix</big></big> '''variables'''<br /> constants<br /> ['''vehicle_code'''] [mark, shortMark, description, nation, notInShop, price, gold, level, tags, class, speedForward, speedBack, hullWeight, hullHealth, health, loadLimit, power, traverseSpeed, signalRange, viewRange, armorHullFront, armorHullSide, armorHullBack, armorTurretFront, armorTurretSide, armorTurretBack, weight, gun, turretTraverse, traverseLeft, traverseRight, elevationSpeed, maxAmmo, reloadTime, elevation, depression, penetration1, penetration2, penetration3, damage1, damage2, damage3, isTurret ] - ['''vehicle_code'''] [modulesTree] [chassis, gun, vehicle, turret, engine, radio, vehicle] [keys]<br /> - ['''vehicle_code'''] [modulesTree] [chassis, gun, vehicle, turret, engine, radio, vehicle] ['''module_code''', '''vehicle_code'''] [keys]<br /> - ['''vehicle_code'''] [modulesTree] [chassis, gun, vehicle, turret, engine, radio, vehicle] ['''module_code''', '''vehicle_code'''] [cost, parentType, parentMark]<br /> <br /> + [engine] ['''engine_code'''] [mark, description, enginetype, level, price, notInShop, power, weight, fireStartingChance]<br /> + [engine] ['''vehicle_code'''] [top, stock, '''engine_code'''] [mark, description, enginetype, level, price, notInShop, power, weight, fireStartingChance]<br /> + [shell] ['''shell_code'''] [mark, description, price, kind, caliber, gold, damage]<br /> + [shell] ['''vehicle_code'''] [top, stock, '''shell_code'''] [mark, description, price, kind, caliber, gold, damage]<br /> + [radio] ['''radio_code'''] [mark, description, level, price, weight, distance]<br /> + [radio] ['''vehicle_code'''] [top, stock, '''radio_code'''] [mark, description, level, price, weight, distance]<br /> + [turret] ['''turret_code'''] [mark, level, price, weight, health, turretTraverse, traverseLeft, traverseRight, viewRange, armorTurretFront, armorTurretSide, armorTurretBack]<br /> + [turret] ['''vehicle_code'''] [top, stock, '''turret_code'''] [mark, level, price, weight, health, turretTraverse, traverseLeft, traverseRight, viewRange, armorTurretFront, armorTurretSide, armorTurretBack]<br /> + [chassis] ['''chassis_code'''] [mark, level, price, weight, loadLimit, traverseSpeed, turningRadius]<br /> + [chassis] ['''vehicle_code'''] [top, stock, '''chassis_code'''] [mark, level, price, weight, loadLimit, traverseSpeed, turningRadius]<br /> + [fuelTank] ['''fuelTank_code'''] [mark, description, price, weight]<br /> + [fuelTank] ['''vehicle_code'''] [top, stock, '''fuelTank_code'''] [mark, description, price, weight]<br /> + [gun] ['''gun_code'''] [mark, description, level, price, weight, reloadTime, maxAmmo, aimingTime, shotDispersionRadius, elevationSpeed, elevation, depression, shell1,2,3, shellKind1,2,3, penetration1,2,3, damage1,2,3]<br /> + [gun] ['''vehicle_code'''] [top, stock, '''gun_code'''] [mark, description, level, price, weight, reloadTime, maxAmmo, aimingTime, shotDispersionRadius, elevationSpeed, elevation, depression, shell1,2,3, shellKind1,2,3, penetration1,2,3, damage1,2,3]<br /> + [gun] ['''vehicle_code'''] ['''gun_code'''] [mark, description, level, price, weight, reloadTime, maxAmmo, aimingTime, shotDispersionRadius, elevationSpeed, elevation, depression, shell1,2,3, shellKind1,2,3, penetration1,2,3, damage1,2,3]<br /> + [gun] ['''vehicle_code'''] ['''gun_code'''] ['''turret_code'''] [mark, description, level, price, weight, reloadTime, maxAmmo, aimingTime, shotDispersionRadius, elevationSpeed, elevation, depression, shell1,2,3, shellKind1,2,3, penetration1,2,3, damage1,2,3]<br /> + [gun] ['''gun_code'''] [tanks, turrets]<br /> + [gun] ['''vehicle_code'''] ['''gun_code'''] [tanks, turrets]<br /> + [device] ['''device_code'''] [mark, description, price, weight]<br /> + [equipment] ['''equipment_code'''] [mark, description, price] <br /> + [devices] [vehicle='''vehicle_code''']<br /> + [equipments] [vehicle='''vehicle_code''']<br /> - [tanks] [mark='''smth(and so on)''', shortMark, description, nation, notInShop, price, gold, level, class, speedForward, speedBack, hullWeight, hullHealth, health, loadLimit, power, traverseSpeed, signalRange, viewRange, armorHullFront, armorHullSide, armorHullBack, armorTurretFront, armorTurretSide, armorTurretBack, weight, gun, turretTraverse, traverseLeft, traverseRight, elevationSpeed, maxAmmo, reloadTime, elevation, depression, penetration1, penetration2, penetration3, damage1, damage2, damage3, isTurret ]<br /> - [arenas] [type=[summer, winter, desert]]<br /> <big><big>CombatChars - usage examples</big></big><br /><br /> <big>Command #combatchars<br /> Default values<br /> Command #combatattr<br /> Module specifications<br /> Installed module specifications<br /> Cannon specifications depending on installed turret<br /> Full spec and stock vehicle specifications<br /> Command #wotstr<br /> Command #wotlist</big><br /><br /> Syntax <nowiki>'''{{#combatchars:Ltraktor}} {{#combatattr:nation}}'''</nowiki> gives the following value: Germany<br /> Syntax <nowiki>'''{{#combatchars:T-43| modulesTree:vehicle:T-44:cost}}'''</nowiki><br /> gives the value: 93653 – this is the experience, required to unlock the T-44 through the T-43. Required experience was not available before as tanks could be unlocked through different paths.<br /> If the chassis of the T-44 are unknown, the following syntax could be used:<br /> <nowiki>'''{{#combatchars:T-44| modulesTree:chassis::keys}}'''</nowiki><br /> As it will give the following result: [T-44];[T-44Bis]<br /> (square brackets mean, that this is not a value, but a key element)<br /> <nowiki>'''{{#combatchars:T-44| modulesTree:chassis:T-44Bis}}'''</nowiki><br /> results in: 13365;chassis;T-44 <br /> Same syntax with the optional keys<br /> <nowiki>'''{{#combatchars:T-44| modulesTree:chassis:T-44Bis::keys}}'''</nowiki><br /> results in the line: [cost];[parentType];[parentMark] <br /> from this line we know which attribute to ask for in order to get the requested value.<br /><br /> Parameters available for the attributes at this moment: <br /> engine: 'mark' => 'AEC', 'description' => 'AEC_descr', 'enginetype' => 'diesel', 'level' => '3', 'price' => '1500', 'notInShop' => '', 'power' => '174', 'weight' => '331', shell: 'mark' => '_105mm_Sprg_L', 'description' => '_105mm_Sprg_L descr', 'price' => '650', 'kind' => 'HIGH_EXPLOSIVE', 'caliber' => '105', 'gold' => 0, 'damage' => '420', gun: 'mark' => '_100mm_44-100JT', 'description' => '_100mm_44-100JT', 'level' => '7', 'price' => '90000', 'weight' => '2257', 'reloadTime' => '8.0', 'maxAmmo' => '34', 'aimingTime' => '2.85714285714286', 'shotDispersionRadius' => '0.388571428571429', 'elevationSpeed' => '33.25', 'elevation' => 20, 'depression' => '7', 'shell1' => '_100mm_UBR-412training', 'shellKind1' => 'ARMOR_PIERCING', 'penetration1' => '120', 'damage1' => '160', radio: 'mark' => 'A-220', 'description' => 'A-220_descr', 'level' => '9', 'price' => '38000', 'weight' => '40', 'distance' => '600', turret: 'mark' => 'Turret_1_Ch01_Type59_2', 'level' => '8', 'price' => '28000.0', 'weight' => '8500', 'health' => '260', 'turretTraverse' => '46', 'traverseLeft' => 180, 'traverseRight' => '180', 'viewRange' => '380', 'armorTurretFront' => '200', 'armorTurretSide' => '130', 'armorTurretBack' => '60', chassis: 'mark' => 'Chassis_Ch01_Type59_2', 'level' => '8', 'price' => '30200.0', 'weight' => '7700', 'loadLimit' => '39800', 'traverseSpeed' => '46', 'turningRadius' => 'B/2', fuelTank: 'mark' => 'Average', 'description' => 'Average_descr', 'price' => '100', 'weight' => '250', device: 'mark' => 'toolbox/name', 'description' => 'toolbox/descr', 'price' => '500000', 'weight' => '100', equipment: 'mark' => 'handExtinguishers/name', 'description' => 'handExtinguishers/descr', 'price' => '3000', 'weight' => '0', Command '''#combatchars'''<br /> In order to insert the specifications of a vehicle into the syntax, the following parser command can be used with:<br /><br /> ''A request for the price of the PzKpfw V “Panther”.<br /> Command: '''<nowiki>{{#combatchars: PzV | price }}</nowiki>'''<br /> Result: 1380000<br />'' Reversed compatibility in cases when the name of a tank would change. For example the tank M2 Medium Tank was called M2 Med in the game client in the past, but after the changes to the characteristics of the vehicle in game the lines would stop working. '''Default values'''<br /> Should the requested attribute not exist, or its value not specified within the syntax, the space will display an empty value. If the space has to be reversed to default values in such cases, the following syntax should be used:<br /> ''The artillery Hummel lacks a turret, this code <nowiki>{{#combatchars:turret:Hummel::top | weight | 0 }}</nowiki> has to equal the weight for the top turret or return to 0.'' Command '''#combatattr'''<br /> Used in combination with the command #combatchars and is designed to reduce the size of text when inserting long lines of number of attributes, characteristics of a vehicle/module. Syntax:<br /> 1. In front of the command #combatattr the command #combatchars, has to be inserted as it sets the code of the vehicle/module.<br /> 2. When using the command #combatattr, command #combatchars could be used in its simplified form: : <nowiki>{{#combatchars: <vehicle_id> }}</nowiki> (without the code of the attribute).<br /> ''Line: <nowiki>{{#combatchars: Ch01_Type59 }}</nowiki>Tank <nowiki>{{#wotstr:{{#combatattr:mark}} }}</nowiki> weights <nowiki>{{#combatattr:weight}}</nowiki> kg and has <nowiki>{{#combatattr:health}}</nowiki> HP.<br /> ''Result: Tank Type 59 weights 36000 kg and has 1300 HP.''<br /> '''Characteristics of the modules'''<br /> Characteristics of the modules can be inserted by using the same commands as for the vehicles (#combatchars or #combatchars in combination with #combatattr). However, the type of the module has to be inserted into the syntax. Types:<br /> * engine * chassis * turret * gun * radio * fuelTank <br /><br /> '''Characteristics of installed modules'''<br /> For modules installed on specific vehicles, the vehicle id should be specified:<br /> <br /> '''''For the 122 mm D-25-44 the reload time could be displayed in two ways. ''Syntax:'''<br /> ''1. <nowiki>{{#combatchars:gun:_122mm_D-25-44|reloadTime}}</nowiki> sec.<br /> ''2. <nowiki>{{#combatchars:gun:T-44:_122mm_D-25-44|reloadTime}}</nowiki> sec.<br /> '''''Result:'''<br /> ''1. 15.42857142857140 sec.<br /> ''2. 19.2 sec.<br /> ''This example clearly shows that the vehicle id should be included into the line as long as the vehicle is known as the characteristics can drastically change depending on the vehicle the module is mounted.'' <br /><br /> '''Cannon specifications depending on the installed turrets''' The characteristics of the guns can change even when those are mounted on the same vehicle depending on the turret. In such cases, the code of the turret should be included into the syntax as well: '''''''Reload time for the 8,8 cm KwK 36 L/56 for the Tiger I with different turrets.''' '''''Syntax:'''<br /> ''1. <nowiki>{{#combatchars:gun:PzVI:_88mm_KwK_36_L56:PzVI_Anfangsturm|reloadTime}}</nowiki> sec.<br /> ''2. <nowiki>{{#combatchars:gun:PzVI:_88mm_KwK_36_L56:PzVI_Porsche_Turm|reloadTime}}</nowiki> sec.<br /> '''''''Result:'''<br /> ''1. 7.4 sec.<br /> ''2. 6.6 sec.<br /><br /><br />'' '''Full spec and stock vehicle specifications'''<br /> In order to display either the top or stock values of a vehicle’s module, following options could be used ::top or ::stock. In these cases, the following syntax should be used:<br /> '''''Syntax:''' Hummel’s stock engine weights <nowiki>{{#combatchars:engine:Hummel::stock|weight}}</nowiki> kg, the top engine — <nowiki>{{#combatchars:engine:Hummel::top|weight}}</nowiki>, which is heavier by <nowiki>{{#expr: {{#combatchars:engine:Hummel::top|weight}} - {{#combatchars:engine:Hummel::stock|weight}} }} </nowiki>kg.<br /> '''Result:''' Hummel’s stock engine weights 510 kg, the top engine — 580, which is heavier by 70 kg.<br /><br /><br />'' Command '''#wotstr'''<br /> Command #wotstr displays the name of the vehicle. It does automatically take the selected language setting for the Wiki into account. Use of the vehicle/module id will result in a code. That code is required if you wish to get diverse characteristics of the module. However, if you only need the name, the command #wotstr should be used.<br /> '''''Syntax''': The top gun of the[[<nowiki>{{#wotstr:M2_med }}</nowiki>]] is the <nowiki>{{#wotstr:{{#combatchars:gun:M2_med::top|mark}} }}</nowiki>.<br /> '''''Result''': The top gun of the M2 Medium Tank is the 37 mm Gun M6.<br /><br /><br /> Command '''#wotlist'''<br /> Command #wotlist results in a list which is filtered and sorted by the requested parameters.<br /> '''''Syntax:''''' <nowiki>''{{#wotlist:tanks|class=lightTank}}''</nowiki>
返回到
使用者:Llamaclysm:eu
。
您的位置:
想要登入,請選擇您帳號 所註冊的地區
歐洲
北美
亞洲
或使用 Microsoft 登入來進入 WoT XBOX 生態系統
登入
不再顯示這個對話框