Sir Mephisto Posted April 7 Share Posted April 7 HI! Don't ask why but I'd like to make several in-game objects burnable such as walrus camps, obelisks etc. I've been digging through the code with the keywords "flammable" and "burnable" or even just "burn" but there is just so much that I've no idea what I'm looking for. Any suggestions and help is welcome! Thanks! Link to comment Share on other sites More sharing options...
Somnei Posted yesterday at 05:20 PM Share Posted yesterday at 05:20 PM I'd suggest to narrow your search down by thinking of already existing prefabs within the game that behave in a similar way to what you're looking for. Maybe you want the structures to behave similar to pig houses? In that case you can see how that is handled in pighouse.lua. Seems like they use the function MakeMediumBurnable from standardcomponents to make the structure burnable. (The component used is also "burnable", just like the keyword you searched for) I think you'll need to add custom graphics if you actually want it to be able to be fully burnt, like the pig houses, though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now