Hi all,
I would like to write a simple mod that changes objects properties (in example allows stacking items on top of each other: chests on top of each other, teslas on top of half walls - with allowing to build a floor on top of it, etc.). I understand that there might be a different mechanics for each of the forementioned activities (in example, simple swapping prefabs might not work).
I looked at the bundles (items) on my test dedicated server to see what kind of properties they have, but I have few questions:
1) Is there other (than the bundle files) refrence model/data that can be used?
2) How to write a simple script that will access items properties (or how just how to start?). The script doesn't need to use config, it can all be hardcoded
3) How to access building restricitions (and change them) via script?
Sorry if that seems like a lot, I'm just looking for a good starting point :)
Thanks!
I would like to write a simple mod that changes objects properties (in example allows stacking items on top of each other: chests on top of each other, teslas on top of half walls - with allowing to build a floor on top of it, etc.). I understand that there might be a different mechanics for each of the forementioned activities (in example, simple swapping prefabs might not work).
I looked at the bundles (items) on my test dedicated server to see what kind of properties they have, but I have few questions:
1) Is there other (than the bundle files) refrence model/data that can be used?
2) How to write a simple script that will access items properties (or how just how to start?). The script doesn't need to use config, it can all be hardcoded
3) How to access building restricitions (and change them) via script?
Sorry if that seems like a lot, I'm just looking for a good starting point :)
Thanks!