| Category | Farming Simulator 25 |
| Created | 02.11.2025 22:04 |
| s2k90 | 02.11.2025 22:04 |
|---|---|
| Good day, I have created my first lamp mod (which kind of works) but i am not able to make the lamp clickable and sellable. My i3d contains 2 root elements, a bulb with a light under it and a housing. I made the housing a rigid body with these options: Type: static Collision: yes Preset: PLACEABLE_BUILDING Collision filter group: 1034 Collision filter mask: fffffbff Shape: Cast shadowmap: yes Receive shadowmap: yes Distance blending: yes Rendered in viewport: yes Tangents: yes These values are copied from a downloaded lamp mod that is sellable. I also created a group with a startNode en under it an endNode that is placed under and above my bulb. I dont know if it is correct but i cannot find information about it and i also copied what another lamp did. Here is my lamp.xml: <?xml version="1.0" encoding="utf-8" standalone="no" ?> <placeable type="placeable" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd"> <storeData> <name>Ground spot</name> <functions> <function> <en>Spot turns on and off automatically</en> </function> </functions> <image>ground_spot.dds</image> <price>250</price> <dailyUpkeep>0</dailyUpkeep> <lifetime>1000</lifetime> <rotation>0</rotation> <canBeSold>true</canBeSold> <showInStore>true</showInStore> <brand>NONE</brand> <species>placeable</species> <category>floodLighting</category> <brush> <type>placeable</type> <category>decoration</category> <tab>lights</tab> </brush> <vertexBufferMemoryUsage>7424</vertexBufferMemoryUsage> <indexBufferMemoryUsage>2304</indexBufferMemoryUsage> <textureMemoryUsage>1376256</textureMemoryUsage> <audioMemoryUsage>0</audioMemoryUsage> <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage> <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage> </storeData> <base> <filename>ground_spot.i3d</filename> <boughtWithFarmland>true</boughtWithFarmland> </base> <placement useRandomYRotation="false" useManualYRotation="true"> <sounds> <place template="smallImp" /> </sounds> <testAreas /> </placement> <clearAreas /> <leveling requireLeveling="false"> <levelAreas /> <paintAreas /> </leveling> <ai> <updateAreas> <updateArea startNode="3>0" endNode="3>0|0"/> </updateAreas> </ai> </placeable> What am i missing or doing wrong? |
|
Note: Log in to post. Create a new account here.