RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

[SOLVED] Calls not showing up
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=7&t=3389
Page 1 of 1

Author:  Communist Husky [ Sun Nov 05, 2017 4:02 am ]
Post subject:  [SOLVED] Calls not showing up

My custom call is not showing up in the calls menu.
My calls are located in media/packages/tsuaeffp/calls/
Here is my all_calls.xml file:

<?xml version="1.0" encoding="utf-8"?>
<calls>
<call file="mortar1.call" />
<call file="mortar2.call" />
<call file="paratroopers1.call" />
<call file="paratroopers2.call" />
<call file="artillery1.call" />
<call file="artillery2.call" />
<call file="cover_drop.call" />
<call file="rubber_boat.call" />
<call file="humvee.call" />
<call file="tank.call" />
<call file="buggy.call" />
<call file="supply_quad.call" />
<call file="bomb1.call" />
</calls>

(the bomb1.call is my new one)

Here is my bomb1.call file:

<?xml version="1.0" encoding="utf-8"?>
<call name="bombing" key="bomb1.call"
initiation_comment1="tactical bombing"
initiation_comment2="drop 4, any altitude"
acknowledge_comment="Roger. Wait four."
acknowledge_time="1.0"
launch_comment="Bomber en-route.">

<round instances="16"
instance_class="grenade"
instance_key="artillery_shell.projectile"
instance_spread="15 15 15"
common_spread="20 0 20"
launch_time="5.0"
spawn_time="8.0">
<effect class="launch" ref="ShadowAirplaneFlyby" shadow="1" />
<sound class="launch" fileref="plane_flyby.wav" />
<sound class="spawn" fileref="woosh1.wav" volume="0.2" />
</round>

<round instances="16"
instance_class="grenade"
instance_key="artillery_shell.projectile"
instance_spread="15 15 15"
common_spread="20 0 20"
launch_time="7.0"
spawn_time="10.0">
<sound class="launch" fileref="artillery_barrage_1.wav" volume="1.0" />
<sound class="launch" fileref="artillery_barrage_2.wav" volume="1.0" />
<sound class="spawn" fileref="woosh1.wav" volume="0.2" />
</round>

<hud_icon filename="hud_artillery1.png" />
<capacity value="0" source="rank" source_value="0.0" />
<capacity value="100" source="rank" source_value="0.4" />
<inventory encumbrance="0.0" price="1.0" />

</call>

Any help?

Author:  The Soldier [ Sun Nov 05, 2017 4:08 am ]
Post subject:  Re: Calls not showing up

Add it to the bottom of the common.resource faction file. All weapons, calls, and vehicles have to be added to one of the faction resource files, or to the common resource file, to show up in the armory or show up on vehicles.

Author:  Communist Husky [ Sun Nov 05, 2017 4:15 am ]
Post subject:  Re: Calls not showing up

The Soldier wrote:
Add it to the bottom of the common.resource faction file. All weapons, calls, and vehicles have to be added to one of the faction resource files, or to the common resource file, to show up in the armory or show up on vehicles.


I knew the vehicles and weapons part , but not the calls. Thanks a ton! Wasn't expecting such a quick response!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/