Difference between revisions of "Template:Weapon infobox"
From Valve Cut Content
oldwiki>Livelong2 (standardize images) |
oldwiki>Livelong2 (add range attribute) |
||
Line 40: | Line 40: | ||
<data style="padding: 0px" source="accuracy"> | <data style="padding: 0px" source="accuracy"> | ||
<label>Accuracy</label> | <label>Accuracy</label> | ||
+ | </data> | ||
+ | <data style="padding: 0px" source="range"> | ||
+ | <label>Maximum Range</label> | ||
</data> | </data> | ||
<data style="padding: 0px" source="firemode"> | <data style="padding: 0px" source="firemode"> | ||
Line 73: | Line 76: | ||
<data style="LINE-HEIGHT:5px" source="accuracy2"> | <data style="LINE-HEIGHT:5px" source="accuracy2"> | ||
<label>Accuracy</label> | <label>Accuracy</label> | ||
+ | </data> | ||
+ | <data style="padding: 0px" source="range2"> | ||
+ | <label>Maximum Range</label> | ||
</data> | </data> | ||
<data style="LINE-HEIGHT:5px" source="firemode2"> | <data style="LINE-HEIGHT:5px" source="firemode2"> | ||
Line 137: | Line 143: | ||
---> | ---> | ||
|accuracy= <!---(aka spread)---> | |accuracy= <!---(aka spread)---> | ||
+ | |range= <!-- Maximum range of the weapon, in HU. Generally intended for melee weapons. --> | ||
|firemode= <!---(i.e. full-auto; semi-auto; burst-fire)---> | |firemode= <!---(i.e. full-auto; semi-auto; burst-fire)---> | ||
|recoil= | |recoil= | ||
Line 148: | Line 155: | ||
|damage2= | |damage2= | ||
|accuracy2= | |accuracy2= | ||
+ | |range2= | ||
|firemode2= | |firemode2= | ||
|recoil2= | |recoil2= |
Revision as of 02:11, 20 December 2017
Example usage:
{{Weapon infobox |title1=Example<!-- Article title --> |image1=Example<!-- Viewmodel front --> |caption1=Viewmodel front |image2=Example<!-- Viewmodel side--> |caption2=Viewmodel side |image3=Example<!-- Worldmodel --> |caption3=Worldmodel <!--- Basic Information ---> |name=Example <!-- technical name --> |faction=Example <!---(combine, rebels, conscripts, etc)---> |origin=Example <!---What faction it originates from---> <!--- Technical specifications ---> |alt_fire= <!---(Yes/No) "is there altfire?"---> |fire_rate= |damage= <!--- Enter like this: *100 (To you) *20 (To enemies) ---> |accuracy= <!---(aka spread)---> |range= <!-- Maximum range of the weapon, in HU. Generally intended for melee weapons. --> |firemode= <!---(i.e. full-auto; semi-auto; burst-fire)---> |recoil= |clipsize= |clips= <!---(max qty of clips, including "active" one)---> |ammo_on_wpickup= <!---(when you pick this weapon up how much ammo do you get)---> |ammo_on_apickup= <!---(when you pick an ammopack (if applicable) up how much ammo do you get)---> |ammo_on_apickuplrg= <!---How much ammo is gained when a large ammopack for this is picked up---> <!--- Technical specifications for ALTFIRE---> |fire_rate2= |damage2= |accuracy2= |range2= |firemode2= |recoil2= |clipsize2= |clips2= |ammo_on_apickup2= <!---(when you pick an ammopack (for the altfire!) up how much ammo do you get)---> <!--- Usage ---> |ugroup1= <!---Who uses the weapon?, in "normal" circumstances? Enter like this: (bulleted list) *combine *monkey boy *shit on my floor *god damn it ---> <!--- Game Info ---> |vmodel_name=Example <!---(the .mdl file; view model)---> |wmodel_name=Example <!---(the .mdl file; world model)---> |weapon_ent_info=<!---The weapon's entity name in hammer---> |ammo_ent_info=<!---Entities related to the weapon's ammo; Enter like this: (bulleted list) *item_ammo_ar2<br>(ammo entity) *item_ammo_ar2_large<br>(ammo entity, large) *item_ammo_ar2_altfire<br>(ball ammo entity) If there's only one ammo entity, just put that one without any bulleting.---> |ammo_type=<!---What type of "leak-era" ammo it uses. Buckshot, Medium round, Small round, Sniper round, etc.---> }}