Community Forum

Created Super Silo like Western Canada

Forum Overview >> Editor

CategoryEditor
Created25.03.2013 02:27


Anthony Hawksley (Unknown) 25.03.2013 02:33
Former 3d modeler here. I have created the Silos with textures, it works when you buy it in the game. However I tried last few hours on the unloading Trigger and will not function! ARGH.. I haven't even start the loading trigger.

In the User Attributes. I'm having a hard time which Type to use.

Like "fruitType" - Should I use String or Script callback

same as "onCreate", "priceMultipiers","triggerWidth"

I would love to get my silo working and start on my other projects. :)



Marcus H (Xentro) 25.03.2013 18:04
These are taken from the default map and is the farm triggers

Unload trigger
<UserAttribute nodeId="">
<Attribute name="appearsOnPDA" type="boolean" value="false"/>
<Attribute name="fruitTypes" type="string" value="wheat barley rape maize"/>
<Attribute name="isAreaTrigger" type="boolean" value="true"/>
<Attribute name="isFarmTrigger" type="boolean" value="true"/>
<Attribute name="onCreate" type="scriptCallback" value="TipTrigger.onCreate"/>
<Attribute name="priceMultipliers" type="string" value="1.0 1.0 1.0 1.0"/>
<Attribute name="triggerWidth" type="float" value="2.5"/>
</UserAttribute>

Loading trigger
<UserAttribute nodeId="">
<Attribute name="fruitType" type="string" value="wheat"/>
<Attribute name="onCreate" type="scriptCallback" value="SiloTrigger.onCreate"/>
<Attribute name="particlePosition" type="string" value="-0.05 0.15 0.05"/>
</UserAttribute>

Anthony Hawksley (Unknown) 26.03.2013 01:20
Sweet, thanks Bud! Once I tested it out and get the bugs out. I send you a copy.



Note: Log in to post. Create a new account here.