Hacked in some ship ranged attacks to play with.

This was SVN commit r8492.
This commit is contained in:
Michael D. Hafer 2010-10-29 22:18:25 +00:00
parent 97019c3a5a
commit fcf9fbf10d
10 changed files with 63 additions and 21 deletions

View File

@ -1,33 +1,29 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<float/>
<group>
<variant frequency="100" name="Base">
<mesh>structural/rome_qui.dae</mesh>
<texture>structural/rome_qui.dds</texture>
</variant>
</group>
<group>
<variant frequency="1" name="sail">
<props>
<prop actor="props/structures/romans/quinquereme_oars.xml" attachpoint="root" />
<prop actor="props/structures/romans/quinquereme_props.xml" attachpoint="root" />
<prop actor="props/structures/romans/quinquereme_mast.xml" attachpoint="root" />
<prop actor="props/structures/romans/quinquereme_oars.xml" attachpoint="root"/>
<prop actor="props/structures/romans/quinquereme_props.xml" attachpoint="root"/>
<prop actor="props/structures/romans/quinquereme_mast.xml" attachpoint="root"/>
<prop actor="props/units/weapons/rock.xml" attachpoint="projectile"/>
</props>
</variant>
<variant frequency="1" name="no-sail">
<props>
<prop actor="props/structures/romans/quinquereme_oars.xml" attachpoint="root" />
<prop actor="props/structures/romans/quinquereme_props.xml" attachpoint="root" />
<prop actor="props/structures/romans/quinquereme_oars.xml" attachpoint="root"/>
<prop actor="props/structures/romans/quinquereme_props.xml" attachpoint="root"/>
<prop actor="props/units/weapons/rock.xml" attachpoint="projectile"/>
</props>
</variant>
</group>
<material>basic_trans.xml</material>
</actor>

View File

@ -7,6 +7,7 @@
<mesh>structural/celt_barge.dae</mesh>
<props>
<prop actor="props/structures/celts/celt_tri1.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
</props>
<texture>structural/celt_trireme.dds</texture>
</variant>

View File

@ -9,6 +9,7 @@
<prop actor="props/structures/hellenes/hele_bir1.xml" attachpoint="props_main"/>
<prop actor="props/structures/hellenes/hele_bir2.xml" attachpoint="mast"/>
<prop actor="props/structures/hellenes/hele_bir3.xml" attachpoint="oars"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
</props>
<texture>structural/hele_bireme.dds</texture>
</variant>

View File

@ -9,6 +9,7 @@
<prop actor="props/structures/hellenes/hele_tri1.xml" attachpoint="props_main"/>
<prop actor="props/structures/hellenes/hele_tri2.xml" attachpoint="mast"/>
<prop actor="props/structures/hellenes/hele_tri3.xml" attachpoint="oars"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
<prop actor="" attachpoint="12"/>
<prop actor="" attachpoint="16"/>
<prop actor="" attachpoint="17"/>

BIN
binaries/data/mods/public/maps/scenarios/shipattacks.pmp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
binaries/data/mods/public/maps/scenarios/shipattacks.xml (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -19,15 +19,6 @@
<Health>
<Max>100</Max>
</Health>
<Attack>
<Charge>
<Hack>0.0</Hack>
<Pierce>10.0</Pierce>
<Crush>10.0</Crush>
<MaxRange>2.0</MaxRange>
<MinRange>0.0</MinRange>
</Charge>
</Attack>
<Decay>
<Inactive/>
<DelayTime>0.0</DelayTime>

View File

@ -22,10 +22,27 @@
<Pierce>15.0</Pierce>
<Crush>15.0</Crush>
</Armour>
<Attack>
<Ranged>
<Hack>0.0</Hack>
<Pierce>40.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>64.0</MaxRange>
<MinRange>10.0</MinRange>
<ProjectileSpeed>50.0</ProjectileSpeed>
<PrepareTime>2000</PrepareTime>
<RepeatTime>2000</RepeatTime>
</Ranged>
</Attack>
<GarrisonHolder>
<Max>20</Max>
<EjectHealth>0.1</EjectHealth>
<List datatype="tokens">Support Infantry Cavalry</List>
<BuffHeal>1</BuffHeal>
</GarrisonHolder>
<Sound>
<SoundGroups>
<attack_impact>attack/impact/arrow_metal.xml</attack_impact>
</SoundGroups>
</Sound>
</Entity>

View File

@ -25,6 +25,18 @@
<Vision>
<Range>160</Range>
</Vision>
<Attack>
<Ranged>
<Hack>0.0</Hack>
<Pierce>50.0</Pierce>
<Crush>100.0</Crush>
<MaxRange>100.0</MaxRange>
<MinRange>20.0</MinRange>
<ProjectileSpeed>40.0</ProjectileSpeed>
<PrepareTime>4000</PrepareTime>
<RepeatTime>4000</RepeatTime>
</Ranged>
</Attack>
<GarrisonHolder>
<Max>40</Max>
<EjectHealth>0.1</EjectHealth>

View File

@ -22,10 +22,27 @@
<Pierce>20.0</Pierce>
<Crush>15.0</Crush>
</Armour>
<Attack>
<Ranged>
<Hack>0.0</Hack>
<Pierce>50.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>80.0</MaxRange>
<MinRange>10.0</MinRange>
<ProjectileSpeed>50.0</ProjectileSpeed>
<PrepareTime>1000</PrepareTime>
<RepeatTime>2000</RepeatTime>
</Ranged>
</Attack>
<GarrisonHolder>
<Max>30</Max>
<EjectHealth>0.1</EjectHealth>
<List datatype="tokens">Support Infantry Cavalry</List>
<BuffHeal>1</BuffHeal>
</GarrisonHolder>
<Sound>
<SoundGroups>
<attack_impact>attack/impact/arrow_metal.xml</attack_impact>
</SoundGroups>
</Sound>
</Entity>