Void fog?

Started by HeroExterio on Tue, 04/05/2016 - 15:47

Topic category: Advanced modding

Last seen on 00:02, 21. Mar 2018
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Void fog?
Tue, 04/05/2016 - 15:47

OK not sure if this is the right area, but I'd like to know is there a way to add void fog to a biome? I want to make a creepy biome and with void fog I think it will add to the creepyness, I don't really want to use blindness effect sadly because it will take away from some of my blocks for example my my trees when it is day they are one block then come night time it opens up to show eyes, they will blink randomly (15% on open and about 95% on close, still in testing with that) so anyhow ea if someone can help with that i would be very thankful

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Register event handler class.
Tue, 04/05/2016 - 18:39

Register event handler class. There asign FogDensity and FogColor events , check for your biome and fog density + color in RGB.

Last seen on 00:02, 21. Mar 2018
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
RE:Register event handler class.
Fri, 04/08/2016 - 02:06

@#1 thanks, i dont supose you could also help with my custom sound problem? i saved a sound in all formats (sound, amb, and record) all ogg format to but nothing plays is there a size/time limit on sounds?

Last seen on 20:11, 2. Jul 2016
Joined Sep 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
RE:RE:Register event handler class.
Fri, 04/08/2016 - 18:30

@#1.1 actually not.

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
RE:RE:Register event handler class.
Fri, 04/08/2016 - 19:29

@#1.1 Try in the source code change the string of your sound like "mod.pistol.shot" change to the "testenvironmentmod:mod.pistol.shot"

Last seen on 00:02, 21. Mar 2018
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
RE:RE:RE:Register event handler class.
Fri, 04/08/2016 - 22:07

@#1.1.2 sadly it is reading as "TestEnvironmentMod:Spooky.Biome" but wont play anything as of yet

Last seen on 00:02, 21. Mar 2018
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
if(true){world
Fri, 04/08/2016 - 22:12

if(true){
world.playSoundEffect((double)i + 0.5D, (double)j + 0.5D, (double)k + 0.5D, "TestEnvironmentMod:Spooky.Biome", 1.0F, 1.0F);
}

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
what MC prints to the console
Sat, 04/09/2016 - 08:43

what MC prints to the console when is your sound supossed to play?

Last seen on 00:02, 21. Mar 2018
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
a whole lot of nothing lol
Sun, 04/10/2016 - 00:01

a whole lot of nothing lol

Last seen on 00:02, 21. Mar 2018
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Been having alot of problems
Sun, 04/10/2016 - 02:35

Been having alot of problems with no one to really get help from, MCreator won't recompile my mod because something is wrong and I don't know how to read the error, I set my mod blocks as tree stem and leafs (for a modded tree) and says can't do that, then I try using just the schematic and well that worked but no trees spawned when I set both it said there was something wrong again