Main Page » Codelogs


Revision as of 18:18, 2 February 2012
Armorwraith (Talk | contribs)
A Basic Projectile
← Previous diff
Revision as of 18:21, 2 February 2012
Armorwraith (Talk | contribs)
A Basic Projectile
Next diff →
Line 4: Line 4:
*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. *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.
-<span title="My Hover Description">Hover Over This Text</span>+<span title="A required header that lets the engine know we wish to create a new weapon. This tag needs to be followed by the </accessory> tag. Examine the example for further clarification."><accessory></span>
<font color=#90EE90> <font color=#90EE90>

Revision as of 18:21, 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.

<span title="A required header that lets the engine know we wish to create a new weapon. This tag needs to be followed by the </accessory> tag. Examine the example for further clarification."><accessory></span>

<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> <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