Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Rock

Pages: [1] 2 3 ... 68
Creative Features / [Scripts] Re: Help Needed: a script that can detect a specified block
« on: March 01, 2018, 04:37:04 PM »
I'm not sure how practical it would be with scripts.

An entire map is 1024x1024x512 blocks = 536 million blocks.
Testing each block in a loop, including script latency is going to take probably 2 millisecs per block = 1 billion ms = 1 million secs = 280 hours.

There are some optimizations you could do such as testing several blocks per loop, and only testing a smaller vertical band on the map (say sea level +-50 blocks) but it's still going to take hours.

You could do it manually in regions of 500,000 and use replace npcblock with say, cherry metal to help you locate where they are/were then replace them with npc blocks and write down the co-ordinates so you know in future. You'd still need to do this 1,072 times.

That's if they could be at all levels though.

If all your npc blocks are at surface level or -/+ 3 blocks then this would be reduced to 4 or 28 times respectively.
Thank you!  I'll try this. Hopefully it works even though my npc blocks are underground (I'll have to replace npc spawns with air or invisible blocks)

Creative Features / [Scripts] Help Needed: a script that can detect a specified block
« on: February 28, 2018, 07:04:17 PM »
I made a mod request topic about this (a mod that would sort of do what this script I am requesting would do) and someone did respond to that topic with a link for learning CS which is nice and if it comes down to it, I'll turn to that link.  Before I do that I wanted to see if there was an easier way first.  I wanted to know if I could make a script in-game that detects for every "NPC spawn block" in my world and for each NPC spawn block is detects it'll place a particle emitter underneath the NPC spawn block which will make a large particle that beams into the sky so I can find my NPC spawn blocks.

Anyone know how to do this?

Mods / [Other] Re: Mod Request: Can someone make a mod that highlights NPC Spawn blocks...
« on: February 28, 2018, 06:45:46 AM »
Thanks but that's not exactly what I was looking for. know what?  I guess it's time to learn some CS.  Best answer.  Thank you for this.

Mods / [Other] Mod Request: Can someone make a mod that highlights NPC Spawn blocks...
« on: February 27, 2018, 03:03:49 PM »
Mod Request:  Can someone make a mod that highlights NPC Spawn blocks whenever the player no clips?  I have a bunch of NPC Spawn blocks all over my map but can't find them all.  Also, whenever the behavior is changed from default behavior I'd like the highlight color to change.

You know what?  Don't make the mod.  I'll make it.

Contests / Re: New Years Giveaway
« on: January 11, 2018, 04:20:35 PM »
Thank you Bob!   I appreciate this giveaway!   2018 is looking great!

Fun House / Re: You get a million dollars but...
« on: January 09, 2018, 04:12:52 PM »
You get a million dollars, but you become an animal.
Depends on the animal, because if it's something friggin sweet... I won't give a damn about the money!

You get a million dollars, but you can ONLY spend it on things you don't want/need.
Take it. I can spend it on stuff that other people want/need. I'd be set every birthday or Christmas for the rest of my life, wouldn't have to budget to afford gifts.

You get a million dollars, but so does everyone else, making the money worth less.

Take it, worthless or not I could officially call myself a millionaire lmao

You get a million quid but you have to become a soldier, meaning you have no interaction with civilian life except for on your breaks and you're constantly putting your life at risk.
Leave it, I'd rather not risk my life and I'd rather not lose interactions with civilians.

You get a million dollars, but you have a 0.001% chance of dying each hour of your life.

Contests / Re: New Years Giveaway
« on: December 31, 2017, 05:18:32 PM »
Count me in.

Ideas / Re: Default NPC Behavior
« on: December 30, 2017, 04:27:10 AM »
All you have to do is make a new behavior, and place the "StandStill" node there.
Or just use the default system behavior "Statue"
Yes, just noticed that, but this idea is a lot of not needed work for something that can already be done.
That's not my idea at all. I know the statue behavior exists and that the standstill node exists (why point them out anyway, completely irrelevant to my main points).  My idea is when you convert a world from xbox to pc, npc spawns converted will automatically convert with statue/stationary behavior and mob spawns will convert into npc spawns with enemy behavior depending on the mob type (spiders in mob spawns will default to spider behavior because they're spider enemies, etc.) 

Ideas / Re: Default NPC Behavior
« on: December 30, 2017, 12:43:56 AM »
change all npc spawns to use their original behavior
NPC's didn't have any behaviour.
I know but what I meant by behavior is how npcs would fight you in Xbox (using mob spawn of course) (dryad, goblin, zombie..etc) and how other npcs would remain static in Xbox (using npc spawn) (boy, girl, girl3, trollboy, etc) That's what I meant by original behavior.  Or maybe in the process of converting a world the game would detect mob spawns and the mob type used (zombie in a mob spawn gets converted to zombie in an npc spawn with zombie behavior) while npc spawns that get detected would change all npcs behavior to stationary.

Ideas / Re: Default NPC Behavior
« on: December 29, 2017, 10:43:01 PM »
It already does this I thought.
Well if you convert worlds all npcs in your converted world (monsters, nonmonsters) will use the "default" behavior so I thought having an option to change all npc spawns to use their original behavior would be useful ((ex. zombies' default behaviors would be changed to zombie behavior, and trollgirl, policeman...(other nonmonster npcs) would use stationary behavior))

(not sure about freshly placed npc spawns yet as I didn't check for that)

Ideas / Default NPC Behavior
« on: December 29, 2017, 04:38:16 PM »
My idea is to have a new option in the creative menu called "Default NPC Behavior: Classic Behavior (New NPC Spawns Only)."  Enabling this option would change the default behavior of all npcs (only for NPC Spawns placed after this option is enabled). Here's an example: All zombie npcs will default to the zombie behavior, and all diablo npcs will default to the diablo behavior...same goes for spiders, orcs, trolls, and etc.  Also, any npcs that doesn't naturally spawn (aka NOT mobs) would default to the stationary behavior if this option is enabled (like Xbox TM).

My other idea is to have another option which would do the exact same thing as stated above except enabling this option would change all existing NPC Spawns in the map (like giving diablos the diablo behavior, etc.) instead of changing NPC Spawns placed after the option is enabled. This option would be called: Change All NPC Behaviors: Classic Behavior.

I've been loving the new update for NPC's but I have one question:  How do I prevent items that I put in an enemy's inventory slot from dropping?  I want enemies to hold items but I don't want those enemies to drop their items.

Bug Reports [Retail] / Blue Screen (PC)
« on: December 25, 2017, 03:01:20 PM »
Total Miner: Forge.  Please take a photo of this screen and post it on, so that we can fix it. Thank you.

System.NullReferenceException: Object reference not set to an instance of an object.
   at StudioForge.Engine.GameState.MenuScreen.UnloadContent()
   at StudioForge.TotalMiner.Screens.BlockMenuScreen.UnloadContent()
   at StudioForge.Engine.GameState.ScreenManager.UnloadContent()
   at Microsoft.Xna.Framework.DrawableGameComponent.Dispose(Boolean disposing)
   at Microsoft.Xna.Framework.GameComponent.Dispose()
   at Microsoft.Xna.Framework.Game.Dispose(Boolean disposing)
   at Microsoft.Xna.Framework.Game.Dispose()
   at StudioForge.Engine.Game.BaseGame.Run[T]()

Creative Features / [Scripts] I need a script that detects when the player is standing still
« on: December 17, 2017, 09:12:37 PM »
I have a challenge map and I want a script that teleports the player out of the challenge area if they stop moving.  How can I do this?

Total Miner Discussion / [PC] Re: Total Miner: Forge PC Edition - Discussion
« on: December 01, 2017, 06:14:34 PM »
Are most of the corruption glitches going to be fixed?  (Ex.  Half world missing corruption glitch, all world missing corruption glitch)
Yes I'm 95.4% certain all the file storage glitches were Xbox related.
If I transfer my worlds to pc that have been corrupted on Xbox will those same corrupted worlds be fixed?

Pages: [1] 2 3 ... 68