Chiko
Joined: Thu Oct 04, 2012 9:21 pm Posts: 105 Location: Chile
|
 Other resources?
Gold is like the only resource that gives money so far... Is there a way to create income from other things?
Like making a recycling digger which generates income from "digging" scrap metal and organic material from corpses?
I understand very little about this but the things I have noticed are: -You can even get money from gold particles by stepping on them or shotting them with weapons other than diggers. -The above point means there's no Gold Mining code or a string that allows a certain object to mine. -You can make an object with gold colored particles in the MAT.bmp file to turn it mine-able.
And that's about it. Another thing I have been trying is to make certain particles to generate money by not changing their materials to gold. I don't really like the idea to change all the scrap materials into gold. It will probably need .lua files... I hate those weird files...
|
Foa
Data Realms Elite
Joined: Wed Sep 05, 2007 4:14 am Posts: 3966 Location: Canadida
|
 Re: Other resources?
It's not that you get money from shooting gold materials with guns, but if the gold mopixels touch a gun that someone is holding, then the gold goes to that person's team.
Gold is definitely hard coded, but that doesn't disallow you from having a script that detects x mopixels, or y terrain, delete it somehow, and then return z amount of resources, or ounces of gold. I think there was the diggenator... part of the rock, or boulder theme modding contest which detects if an actor mines some amount of stone particles before spawning a flying boulder of doom. Cavecricket's creeper vines in his latest mod compilation thread can spawn terrain, the vines, or simply detect, and delete them, if it's the anti-creeper vines.
|