• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

turret does not need power or ammunition

Suicidasestao

New member
********** IN ENGLISH, EN ESPAرOL MAS ABAJO *********

Hi.

I would like to know if it is possible to put the autotowers so that it is not necessary to connect to the power and have unlimited ammunition.

I have tried but I do not give with it. (I admit I have no idea of code)

To not need energy, I deleted the line:

<property name="RequiredPower" value="15"/>

But it did not work, neither putting consumption 0

For the turret to fire without spending ammunition, I included the line:

Code:
		<property name="Infinite_ammo" value="true"/>
<property name="AmmoItem" value="ammo9mmBullet"/>
If, as you imagine, it does not work, it still requires ammunition and consumes it.

Can somebody help me?

********** ESPAرOL **********

Hola.

Me gustarيa saber si es posible poner las autotorretas para que no sea necesario conectarlas a la energيa y que tengan municion ilimitada.

Lo he intentado pero no doy con ello. (Admito que no tengo idea del cَdigo)

Para no necesitar energيa, borré la lيnea:

Code:
<property name="RequiredPower" value="15"/>
Pero no funcionَ, tampoco poniendo value="0" me sigue exigiendo conectarla por cable.

Para que la torreta disparara sin gastar municiones, incluي la lيnea:

Code:
		<property name="Infinite_ammo" value="true"/>
<property name="AmmoItem" value="ammo9mmBullet"/>
Si, como estaras imaginando no funcionَ, me sigue pidiendo introduzca municion y la consume al disparar.

Alguien sabe como hacer que funcione?

 
for unlimited ammo add this to it -

<property name="Single_magazine_usage" value="true"/>

<property name="Infinite_ammo" value="true"/>

 
for unlimited ammo add this to it -
<property name="Single_magazine_usage" value="true"/>

<property name="Infinite_ammo" value="true"/>
Thanks, but it seems that with that only continues without working, it is still necessary to introduce ammunition and this is consumed until exhausted, and stop firing.

try putting the figure in requirespower to 0 . thats all i can think of.
Thanks, although it is still necessary to connect them to some source of energy, they do not consume.

 
Try looking through other powered blocks and experimenting with other tags you see. The first thing I'd try is a different class (one at a time) though changing it from ranged might break it. Here are a few other tags you could try mixing and matching.

<property name="Class" value="Powered"/>

<property name="Class" value="PoweredLight"/>

<property name="Class" value="Switch"/>

<property name="PoweredType" value="Constant"/>

<property name="TriggerType" value="Switch"/>

<property name="RuntimeSwitch" value="true"/>

 
Back
Top