Hello everyone,
I am currently creating an “item_modifiers” turbo t61.
I want it to be installable only on cars.
I added a tag in my vehicles.xml
In my item_modifiers file, I did add blocked_tags="noMods,moto"
When I start the game, it doesn't work and continues to give me the option to activate the turbo on the motorcycle.
Can you help me? I've been searching everywhere for two hours.
Than you very much
I am currently creating an “item_modifiers” turbo t61.
I want it to be installable only on cars.
I added a tag in my vehicles.xml
Code:
<configs>
<append xpath="//vehicle[@name='vehicleMotorcycle']">
<property name="Tags" value="moto"/>
</append>
</configs>
In my item_modifiers file, I did add blocked_tags="noMods,moto"
Code:
<item_modifier name="modVehicleTurboT61" installable_tags="vengine" modifier_tags="speed, fuelsaver" blocked_tags="noMods,moto" type="attachment">
<property name="Extends" value="modGeneralMaster"/>
<property name="TraderStageTemplate" value="modsTier2"/>
<property name="CustomIcon" value="modVehicleTurboT61"/>
<property name="EconomicValue" value="8000"/>
<effect_group tiered="false">
<passive_effect name="VehicleMotorTorquePer" operation="perc_add" value=".30"/>
<passive_effect name="VehicleVelocityMaxPer" operation="perc_add" value=".30"/>
<passive_effect name="VehicleFuelUsePer" operation="perc_set" value=".20"/>
</effect_group>
</item_modifier>
When I start the game, it doesn't work and continues to give me the option to activate the turbo on the motorcycle.
Can you help me? I've been searching everywhere for two hours.
Than you very much