Quote: "So i have decided to try my hand at a survival Game.
So i got it right for the player to pickup rocks and to place down a fire pit when player has the correct amount of rocks , but how can i get the Grass to automatically be removed when the player place the fire pit on the ground so that is does not look like this.: "
Would will need to be good at scripting and good with limbs. I am not sure classic or max has the ability to hide limbs and show them when a task is completed.
But essentially what you will need to do an easier method
1. Paint the grass around the firepit but not on the firepit.
2. Go to the grass bank as select the grass texture you just painted and create a grass entity that can be destroyed and place them around the firepit.
3. Make a premade firepit entity and place it where it needs to be, don't let it spawn at the start use the if field and if that condition is met by placing a rock as an example it will spawn the firepit and destroy the grass decals you have placed.
4. Place a fire decal and wood but don't let it spawn at start and use the if field for a branch as the key that will spawn the animated fire decal.
Quick and dirty there is probably some inaccuracies some else can probably explain it better than me.
If you great at scripting you can then script how many rocks and branches needs to be collect to spawn the firepit, and how many branches to spawn the animated fire decal even a smoke decal ect as well as how the fire last if for example more branches isn't placed in the fire at x amount of time ect.
You can then also place additionally unspawned entities as well as destroy previous entities like a spit if you collect food by killing rabbits, you could essentially build various firepit designs based on the progress the player makes.
Lua is limited I don't see a way to randomly being able to create a firepit anywhere on the map, so you will need additional scripts to tell the player exactly where to build the firepit ect.
So it can be done just requires some effort.
Win10 Pro 64bit----iCore5 4590 @ 3.7GHZ----AMD RX460 2gb----16gig ram