generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Terrain question

Previous Thread :: Next Thread 
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
05 Aug 2012 12:38 AM
How do I regen terrain? I used terrain generater and change some things for a city/town like terrain, question is, how do I regen it once its destoryed?
Report Abuse
baxterknite is not online. baxterknite
Joined: 21 Nov 2008
Total Posts: 383
05 Aug 2012 12:43 AM
You can't regen it once its been destroyed but you can stop it from being destroyed. What's it being destroyed by?
Report Abuse
baxterknite is not online. baxterknite
Joined: 21 Nov 2008
Total Posts: 383
05 Aug 2012 12:51 AM
If its being destroyed by explosions this may help. I honestly have no idea whether or not it will help, because I didn't think to try it when I was having the same problem, but it should work. Probably. Maybe. Who knows. Put it in a script and put it in workspace, see what happens.

workspace.ChildAdded:connect(function(scree)
if scree.className == "Explosion" then
scree.ExplosionType = "NoCraters"
end
end)
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
05 Aug 2012 12:59 AM
I am using the new 'AirStrike' Gear item... its amazing. I want it so whenever the explosion hits, it'll do damage to everything (say, players or move some bricks that are UnAchored) but not do ANYTHING to the terrain.
It says

e.ExplosionType = 2

Thats the normal setting for the script inside it, and when I edit it to 1/2/3 it still does damage.
I can publish the tool if it'll help.
Report Abuse
baxterknite is not online. baxterknite
Joined: 21 Nov 2008
Total Posts: 383
05 Aug 2012 01:04 AM
Just change it to
e.ExplosionType = "NoCraters"
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
05 Aug 2012 01:05 AM
Okay, ima try that. Brb i'll post the results.
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
05 Aug 2012 01:09 AM
Thank you so much. Now my new war game wont end every 5 seconds since some dude would destroy the WHOLE map xD

Report Abuse
baxterknite is not online. baxterknite
Joined: 21 Nov 2008
Total Posts: 383
05 Aug 2012 01:11 AM
No problem, good luck with your game.
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
05 Aug 2012 01:12 AM
Thank you, it's just meant to be something like Battlefield,Team Fortress, and ROBLOX all in 1 Lol
If this works out, I do plan on making a few maps... Maybe even being a nuke into one lol.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image