Author Topic: Objects Not Showing In-Game? Look Here!  (Read 6177 times)

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Objects Not Showing In-Game? Look Here!
« on: September 15, 2016, 10:25:12 pm »
I've seen that a few users have been having issues with this lately,
and I've been leaving the same answer on multiple threads, so I figured I
might as well post it as a tutorial for everyone to access a bit easier.
-
EXPLANATION
This issue stems from when you save new objects into any of the groups that come with FH:

Backdrop
Collisions
Default
Miscellaneous
MyGrass
MyMountains
MyParticles
MyPlants
MyRocks
MyShapes
MySounds
MyStructures
MyTrees
MyWater

Even after these are exported, the objects will not show in-game. This is because they are conflicting with the pre-exported versions of them, that are found within the media > objects directory.
-
FIX
To fix this, you will need to follow these steps. Before doing so, however, I recommend making a backup of your map in its current state, should you mess something up during this procedure. That way, you will be able to revert back, should you need to.

Go to Object Maker, load up the objects you are using one by one, and save them to their own object group. I usually just save them under a group with the same name as the map, and then the "-Objects" suffix. Ex: if the map was Temple -> TempleObjects
*Leave the actual object NAMES the same.
**To reduce the risk of conflicting with other users' maps, add your username to the object group(s) name(s), as well as your map. This way, if two people create a map with the same name, yours will still be different, and users will be able to use both.
Ex: If two users make a map called Forest, the files will come out as Forest.fhm, and ForestObjects.fho for both users, meaning that others will only be able to use one map at a time since you cannot have duplicate file names.
Ex2: If my map name is Temple, and my username is Phloxenfree, I would call the map PhloxenfreeTemple (you can leave the Display Name as just Temple though!) and the object group PhloxenfreeTempleObjects. Now all of your files are unique.


Now, you can go through media>terrains>Temple (or whatever your map is actually named) and open TempleObjects.cfg (or again, whatever your map is actually named, "-Objects.cfg").

Inside is a list of all placed objects and their location, and each section is headed with the syntax of
[ObjectGroup/ObjectName]

Use Ctrl + H (or go to Edit... -> Replace)
Replace the old Object Group name(s) with your new one(s).

Save that, relaunch the game, load up the map, and export it then.
With everything in it's own group, the map should work fine now.

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Objects Not Showing In-Game? Look Here!
« Reply #1 on: September 15, 2016, 10:30:18 pm »
Oh my gosh, thanks ^^. I've been seeing the problem a lot recently amongst the mapmakers. I haven't made a map for a long time but have been thinking about getting back into it and knew that at some point I was going to run into the same problems they were facing.

I really like the recommendations you made about saving them in their own group and adding your username to the ends of the names of your maps. 
+floof You explained it really well. Thanks you so much
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


ArcticGalaxy

  • Guest
Re: Objects Not Showing In-Game? Look Here!
« Reply #2 on: September 15, 2016, 10:32:28 pm »
Great tutorial Phloxenfree! I may not make maps, but who knows, maybe this will come in handy if I have a huge creative streak! Thank you so much for this! ^^

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Objects Not Showing In-Game? Look Here!
« Reply #3 on: September 15, 2016, 10:49:26 pm »
Oh my gosh, thanks ^^. I've been seeing the problem a lot recently amongst the mapmakers. I haven't made a map for a long time but have been thinking about getting back into it and knew that at some point I was going to run into the same problems they were facing.

I really like the recommendations you made about saving them in their own group and adding your username to the ends of the names of your maps. 
+floof You explained it really well. Thanks you so much
Aaa, I know, right? This issue has been popping up a lot recently. Figured it would save people time to just be able to link a thread rather than re-explaining every time, or going through and trying to find older threads/quotes. ((And you can't quote locked threads, so that makes it hard to quote my previous answers... //coughcough))

Yeah, I see a lot of generic mapnames, and I've seen a few people get disheartened that if they want to use a map their friends or group is using, they have to clear out one of their own or something. Tagging it with something unique will easily prevent that, and what better than your own username? A signature, almost. cx
Merci! (also +floofback, since I've been running into you a few times today, yeah?)
And, it was my pleasure!

Great tutorial Phloxenfree! I may not make maps, but who knows, maybe this will come in handy if I have a huge creative streak! Thank you so much for this! ^^
Thank you! Is always my pleasure to provide something useful. ^^

-

And, I encourage both of you to give maps a try. There's always something to be learned from it, and it's usually been a rather fun experience for me. You can get pretty crazy with what you do.
See: Rainbow Land
Haha.?

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Objects Not Showing In-Game? Look Here!
« Reply #4 on: September 15, 2016, 10:58:19 pm »
Aaa, I know, right? This issue has been popping up a lot recently. Figured it would save people time to just be able to link a thread rather than re-explaining every time, or going through and trying to find older threads/quotes. ((And you can't quote locked threads, so that makes it hard to quote my previous answers... //coughcough))

Yeah, I see a lot of generic mapnames, and I've seen a few people get disheartened that if they want to use a map their friends or group is using, they have to clear out one of their own or something. Tagging it with something unique will easily prevent that, and what better than your own username? A signature, almost. cx
Merci! (also +floofback, since I've been running into you a few times today, yeah?)
And, it was my pleasure!
-
And, I encourage both of you to give maps a try. There's always something to be learned from it, and it's usually been a rather fun experience for me. You can get pretty crazy with what you do.
See: Rainbow Land
Haha.?

I know what you mean with the generic mapnames. I used to have to make a subfolder in exports or somewhere on my computer with duplicate named map files when I wanted to install another map that happened to have the same name without completely removing it. Also, the slight fear I get that people's object groups (i.e. "WombatAnimalPack.fho") aren't the same as other people's and might mess up previously installed maps' objects.

The problem is solved when people do what you suggest and make their names unique and save their own object groups.

It's also easier to uninstall maps when you see an object file with the same name as its map.

Hope people find this. Really useful information you have here.
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Warriorstrike

  • . "The truth is often what we make of it; you heard what you wanted to hear, believed what you wanted to believe."
  • Ancient Silver Mane
  • *****
  • Posts: 4,221
  • Country: us
  • Floof-O-Meter: 346
  • . Remember… the Force will be with you. Always.
    • warriorstrike
    • warriorstrike
    • View Profile
    • My Tumblr
Re: Objects Not Showing In-Game? Look Here!
« Reply #5 on: September 16, 2016, 09:33:06 pm »
Thank you for putting this little guide together and sharing it with the community. I'm sure this will be very helpful for those who are experiencing these problems in the future or perhaps those who are viewing this thread right now and finding a solution. Saving objects can be tricky if you don't know how to do it, but you've made it nice and clear here, which I'm sure many will appreciate.

If you define yourself by the power to take life, the desire to dominate, to possess… then you have nothing.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Objects Not Showing In-Game? Look Here!
« Reply #6 on: September 17, 2016, 02:29:11 am »
I know what you mean with the generic mapnames. I used to have to make a subfolder in exports or somewhere on my computer with duplicate named map files when I wanted to install another map that happened to have the same name without completely removing it. Also, the slight fear I get that people's object groups (i.e. "WombatAnimalPack.fho") aren't the same as other people's and might mess up previously installed maps' objects.

The problem is solved when people do what you suggest and make their names unique and save their own object groups.

It's also easier to uninstall maps when you see an object file with the same name as its map.

Hope people find this. Really useful information you have here.
Aaa, thanks. I appreciate it.
Link all your friends. Or anyone really. cx

Thank you for putting this little guide together and sharing it with the community. I'm sure this will be very helpful for those who are experiencing these problems in the future or perhaps those who are viewing this thread right now and finding a solution. Saving objects can be tricky if you don't know how to do it, but you've made it nice and clear here, which I'm sure many will appreciate.
My pleasure!~?