# This guy won't fire his laser

**URL:** https://discourse.cataclysmdda.org/t/this-guy-wont-fire-his-laser/5599
**Category:** The Toolbox
**Created:** [March 26, 2014, 2:38am UTC](https://discourse.cataclysmdda.org/t/this-guy-wont-fire-his-laser/5599 "2014-03-26T02:38:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Zomboner](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zomboner/32/286_2.png) [@Zomboner](https://discourse.cataclysmdda.org/u/Zomboner)
#### Post date: [March 26, 2014, 2:38am UTC](https://discourse.cataclysmdda.org/t/this-guy-wont-fire-his-laser/5599/1 "2014-03-26T02:38:35Z")

</div>

Okay, this looks to be the correct forum. Anyway, I tried my hand at adding a new creature into the game. It works, spawns as expected and seems to be all around functional but will not fire the laser. I just get the message that the barrel spins but nothing happens. Any ideas and/or did I forget to add something? Thanks in advance

The Raws:  
“type” : “MONSTER”,  
“id” : “mod\_umbra\_trooper”,  
“name”: “Umbra Trooper”,  
“species”:“MAMMAL”,  
“symbol”:"@",  
“color”:“dkgray”,  
“size”:“MEDIUM”,  
“material”:“flesh”,  
“diff”:3,  
“aggression”:100,  
“morale”:100,  
“speed”:90,  
“melee\_skill”:0,  
“melee\_dice”:0,  
“melee\_dice\_sides”:0,  
“melee\_cut”:0,  
“dodge”:1,  
“armor\_bash”:8,  
“armor\_cut”:4,  
“item\_chance”:20,  
“luminance”:0,  
“hp”:100,  
“special\_freq”:2,  
“death\_function”:[“NORMAL”, “ZOMBIE”],  
“special\_attack”:“LASER”,  
“description”:“A trooper working for the umbra corporation, tasked with sterilizing the area. He thinks you’re infected.”,  
“flags”:[“SEES”, “HEARS”, “WARM”, “BLEED”, “VIS40”],  
“categories”:[“CLASSIC”]  
},

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [March 26, 2014, 3:26am UTC](https://discourse.cataclysmdda.org/t/this-guy-wont-fire-his-laser/5599/2 "2014-03-26T03:26:34Z")

</div>

First issue is whether the trooper’s out in the sunlight: that’s the call to the solar-powered laser turret.

After that, we’d have to check monattack.cpp and see if there’s some other problem.

---

<div class="post-metadata">

### Author: ![Zomboner](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zomboner/32/286_2.png) [@Zomboner](https://discourse.cataclysmdda.org/u/Zomboner)
#### Post date: [March 26, 2014, 5:14am UTC](https://discourse.cataclysmdda.org/t/this-guy-wont-fire-his-laser/5599/3 "2014-03-26T05:14:06Z")

</div>

Yep, debugged some sunny weather and it worked. Didn’t realize it was solar powered. Thanks a bunch, I feel so smurt lol
