Jump to content

Adding a gun


Werelwen

Recommended Posts

Hello everyone.

I'm trying to make a standalone version of m202 from magnumnauts for myself (possibly for public, if i'll get permission). I made weapons, ammos, items, strings, weapons_gc xml's, but it isn't show up in a game. Log file says all ok. Game works correctly, no errors, just no m202.

Where can error be?

Edited by Werelwen
Link to comment
Share on other sites

Wierd saving by Libre Office, problem solved, thx Notepad++. Now it appears it the game, but game hard crash when loading ground combat >_>

Log says failed to load and merge XML weapons_gc.

Help anyone?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Weapons>

<Modifiers xenonautAccuracyModifier="1" alienAccuracyModifier="1.25" coverModifier="0.9" />

<!-- This file controls the Ground Combat stats for all weapons and equipment -->

<!-- when adding a weapon here, remember to add its GS equivalent to weapons.xml -->

<!-- -->

<!-- Ballistic Weapons -->

<!-- -->

<Weapon MODMERGEATTRIBUTE="name" MODMERGE="insert" name="weapon.m202" bulletType="rocket" emptySound="Empty Click 1">

<props range="25" hands="2" recoil="0" weight="6" isHeavy="0" clipSize="4" reloadAPCost="40" reloadSound="Weapon Rocket Launcher Reload" reactionModifier="0.5"/>

<SingleShot sound="Vehicle Weapon Rocket Launcher 1" delay="0.7" suppressionValue="30" suppressionRadius="1">

<Set1 ap="60" accuracy="55" />

<Set2 ap="80" accuracy="75" />

</SingleShot>

<Burstfire ap="80" accuracy="25" sound="Weapon Flamethrower 1" delay="0.7" burstdelay="0" shotCount="4" suppressionValue="200" suppressionRadius="4" />

<GUIImage name="gui/weapons/m202.png" />

<GroundImage name="grounditemimages/ballistic_rocketlauncher.png"/>

<Ammos>

<Ammo name="ammo.m202_ammo" type="incendiary" damage="60" mitigation="0" isOverdamage="1" disableDamageScaling="1>

<Projectile spectre="projectiles/rocket" speed="1000" showAfterDistance="60.0"/>

<Impact Impact spectre="projectiles/robbanas/explode" radius="2" sound="weapon_hyperv_rocket_explo_1" fireChance="10" smokeChance="10" gasType="GrenadeFragSmoke"/>

</Ammo>

</Ammos>

</Weapon>

</Weapons>

Edited by Werelwen
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...