Conker SMG

Type: Prop Brain
Level: not in gallery
Pages: 1
Description: This is the brain of the SMG (sub machine gun). Its purpose is to create bullet casings when the gun is fired.

Kode

  1. WHEN [not equipped][and][not attached]
  2. …WHEN [interacted] DO [it][equip][me]
  3. WHEN DO [vectorvr:Casing spawn][equals][position]
  4. WHEN DO [vectorvar:Casing spawn][x][equals][position][x][plus][(][0.05][multiplied by][scale][)]
  5. WHEN DO [vectorvar:Casing spawn][y][equals][position][y][plus][(][0.3][multiplied by][scale][)]
  6. WHEN [owner][shooting]
  7. …WHEN [countdown timer][(][1][divided by][shoot frequency][)][loop][trigger on start]
  8. …/…WHEN [started to]
  9. …/…/…WHEN DO [objvar:bullet casing][equals][create][bullet casing][at position][vectorvar:Casing spawn]
  10. …/…/…WHEN DO [objvar:bullet casing][push brain][brain:Timed Destroy]
  11. …/…/…WHEN DO [objvar:bullet casing][scale][equals][scale][multiplied by][0.3]
  12. …/…/…WHEN DO [objvar:bullet casing][forward][equals][forward]
  13. …/…/…WHEN DO [objvar:bullet casing][physics][equals][tumbling]
  14. …/…/…WHEN DO [objvar:bullet casing][velocity][equals][velocity]
  15. …/…/…WHEN DO [objvar:bullet casing][gravity factor][equals][0.3]
  16. …/…/…WHEN DO[push] [objvar:bullet casing][in direction][up][plus][(][right][multiplied by][2][)][strength][1.5]
  17. …/…/…WHEN DO [objvar:bullet casing] [yaw][random number][-25][to][25]
  18. …/…/…WHEN DO [objvar:bullet casing][pitch][random number][-25][to][25]
  19. …/…/…WHEN DO [objvar:bullet casing][roll][random number][-25][to][25]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: