Main Page » Codelogs


Revision as of 18:22, 2 February 2012
Armorwraith (Talk | contribs)
A Basic Projectile
← Previous diff
Revision as of 18:25, 2 February 2012
Armorwraith (Talk | contribs)
A Basic Projectile
Next diff →
Line 10: Line 10:
<name>Missile</name><BR> <name>Missile</name><BR>
<armslevel>10</armslevel><BR> <armslevel>10</armslevel><BR>
-<description>A small explosive projectile weapon.</description>+<description>A small explosive projectile weapon.</description><BR>
-<icon>bmissile.bmp</icon>+<icon>bmissile.bmp</icon><BR>
-<startingnumber>-1</startingnumber>+<startingnumber>-1</startingnumber><BR>
-<activationsound>shoot/small.wav</activationsound>+<activationsound>shoot/small.wav</activationsound><BR>
-<modelscale>0.5</modelscale>+<modelscale>0.5</modelscale><BR>
-<accessoryaction type='WeaponProjectile'>+<accessoryaction type='WeaponProjectile'><BR>
-<projectilescale>0.5</projectilescale>+<projectilescale>0.5</projectilescale><BR>
-<shieldhurtfactor>0.4</shieldhurtfactor>+<shieldhurtfactor>0.4</shieldhurtfactor><BR>
-<spinspeed>1.0</spinspeed>+<spinspeed>1.0</spinspeed><BR>
-<!--<flametexture>trans</flametexture>+<flametexture>trans</flametexture><BR>
-<animateflametexture/>-->+<animateflametexture/><BR>
-<collisionaction type='WeaponExplosion'>+<collisionaction type='WeaponExplosion'><BR>
-<hurtamount>1.0</hurtamount>+<hurtamount>1.0</hurtamount><BR>
-<deform>down</deform>+<deform>down</deform><BR>
-<size>3.5</size>+<size>3.5</size><BR>
-<explosiontexture>exp00</explosiontexture>+<explosiontexture>exp00</explosiontexture><BR>
-<explosionsound>explosions/small.wav</explosionsound>+<explosionsound>explosions/small.wav</explosionsound><BR>
-</collisionaction>+</collisionaction><BR>
-</accessoryaction>+</accessoryaction><BR>
-</accessory>+</accessory><BR>
</font color> </font color>

Revision as of 18:25, 2 February 2012

Accessory File Examples

A Basic Projectile

  • Projectiles are the easiest and most abundant weapon primitive when creating weapons for Scorched 3D. Below I have attatched the a basic Missile code for you to examine. Simply hover over a code snippet to view its description.


<accessory>
<name>Missile</name>
<armslevel>10</armslevel>
<description>A small explosive projectile weapon.</description>
<icon>bmissile.bmp</icon>
<startingnumber>-1</startingnumber>
<activationsound>shoot/small.wav</activationsound>
<modelscale>0.5</modelscale>
<accessoryaction type='WeaponProjectile'>
<projectilescale>0.5</projectilescale>
<shieldhurtfactor>0.4</shieldhurtfactor>
<spinspeed>1.0</spinspeed>
<flametexture>trans</flametexture>
<animateflametexture/>
<collisionaction type='WeaponExplosion'>
<hurtamount>1.0</hurtamount>
<deform>down</deform>
<size>3.5</size>
<explosiontexture>exp00</explosiontexture>
<explosionsound>explosions/small.wav</explosionsound>
</collisionaction>
</accessoryaction>
</accessory>

Donate to Scorched3D Get it from CNET Download.com! 5 Stars