Is there a way to do this? Everytime I tried, hammer just crashed without error message. Could this be caused by particular entities? Thanks in advance!
did you decompile the sandbox map? when is it crashing?
converting any map to ttt is as simple as deleting any gamemode-specific entities (sandbox doesn't have any afaik) and adding enough spawns, weapons, ammo, etc. then just changing the name to have a ttt_ prefix
I took the .vmf from my sandbox map and tried to load in the necessary ressources (so I never really had to decompile the map in the first place). When I tried editing the map (e.g. placing weapon spawns etc.) it worked for a few minutes and then hammer just closed.
ttt.fgd crashes some maps, unload it if possible
Well, don't I need it if I wanted to make a ttt map? I mean where can I get the necessary entities and such then?
FGD is just a reference file, you can place the needed entities with SmartEdit turned off, assuming that you know the needed entity's name and its keyvalues. You can check these by opening the FGD in a text editor.
Got it, thanks! I'll give it a try.
Ok, I looked at the FGD in Notepad++ but don't really know what parts I need if you know what I mean...? Would it be enough to simply copy the key values from the needed entity with the FGD loaded? Because when I did this it didn't work. It didn't show up in game. What am I doing wrong? In my case it's the ttt_random_weapon entity I can't seem to recreate without the FGD.
It's hard to say for sure since I can't visually see what you've tried, so I'll just link the needed info to get you going:
https://developer.valvesoftware.com/wiki/FGD
Hammer Object Properties Dialog
Alright, this is the line in the FGD defining the entity:
@PointClass base(Item) studio("models/weapons/w_shotgun.mdl")= ttt_random_weapon : "Random weapon"
My question now is essentially what this tells me about the key values I need to specify to make the entity actually work as such. In short: what necessary information does it give me? I don't know if you have ever seen the ttt FGD in a text editor but I would guess that you at least know the structure of a FGD file. And in that case: is this line even enough to replicate the entity in the editor? I just don't get the whole thing with creating the entity without the FGD file. You know I basically first loaded in the ttt.fgd, then placed the entity, unloaded the FGD again and that's it. But, well, it doesn't work. In my opinion this is what you told me to do in your previous post (appreciate the effort btw.)...? Do you see now what my problem is?
If you really did place your entity with the fgd loaded then it should work correctly and the problem is somewhere else.
So it should have worked, right? I slowly get the feeling this is getting more and more complicated. Great.
Sorry, you need to Log In to post a reply to this thread.