Previewing models in the official (obsolete) Hammer? Created 5 years ago2019-08-31 21:34:41 UTC by MOCOLONI MOCOLONI

Created 5 years ago2019-08-31 21:34:41 UTC by MOCOLONI MOCOLONI

Posted 5 years ago2019-08-31 21:34:41 UTC Post #343088
I've never been a fan of community Hammers such as Sledge or J.A.C.K., so I'm using Half-Life SDK's one with a tweaked halflife-cs.fgd that I made. However, one of the things I never found out is the ability to enable model previews on entities such as cycler_sprite, and I don't know if it's related to the FGD or Hammer itself. If the former, what should be done? The only workaround for me right now is play with the entity until achieving the desired position in the map, which is somewhat time-consuming.
MOCOLONI MOCOLONIinfo_player_mocoloni
Posted 5 years ago2019-08-31 22:19:01 UTC Post #343089
In the FGD entity definition, add studio().
@PointClass base(Target) studio() = env_something
Not sure if you gotta make the following change as well, but:
model(string) : "Model" should he changed to:
model(studio) : "Model"
Note: this is just an example, there is no env_something. :)

Hammer 3.4 doesn't support models, if I recall correctly. 3.5.2 beta does, however.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 5 years ago2019-09-01 09:57:05 UTC Post #343090
VHE 3.5 (the last official by Valve) supports it, and needs something in the .fgd like Admer mentioned
Posted 5 years ago2019-09-01 12:20:26 UTC Post #343091
Right.
In case you don't have Hammer 3.5 and the fgd file, here you go:

Hammer 3.5 (executable only)
Hammer 3.5 fgd file
Counter-Strike expert fgd file for Hammer 3.5
Posted 5 years ago2019-09-02 18:54:13 UTC Post #343092
Admer456 said:In the FGD entity definition, add studio().
@PointClass base(Target) studio() = env_something
Not sure if you gotta make the following change as well, but:
model(string) : "Model" should he changed to:
model(studio) : "Model"
Note: this is just an example, there is no env_something. :)

Hammer 3.4 doesn't support models, if I recall correctly. 3.5.2 beta does, however.
Alright, thank you.
I also took a look at an exemplary FGD and noticed that some of them also have 'Sequence' for studios with models - are those for models with animations?
Bruce said:VHE 3.5 (the last official by Valve) supports it, and needs something in the .fgd like Admer mentioned
I'm no expert, but it makes me wonder if 3.5 is actually a Valve product as it can't be found anywhere 'officially'.
The Mad Carrot said:Right.
In case you don't have Hammer 3.5 and the fgd file, here you go:

Hammer 3.5 (executable only)
Hammer 3.5 fgd file
Counter-Strike expert fgd file for Hammer 3.5
Is there something like an official hosting for Hammer 3.5?
MOCOLONI MOCOLONIinfo_player_mocoloni
Posted 5 years ago2019-09-02 19:27:15 UTC Post #343093
MOCOLONI said:I also took a look at an exemplary FGD and noticed that some of them also have 'Sequence' for studios with models - are those for models with animations?
It's used for previewing model animations in Hammer. You put in the number of the sequence (as defined in the model, you'll have to use a model viewer or decompile to model to find a list of all animations for a model) and the entity will play that animation in the 3D viewport.
MOCOLONI said:I'm no expert, but it makes me wonder if 3.5 is actually a Valve product as it can't be found anywhere 'officially'.
It is made by Valve, but it isn't officially supported as it was only released as a beta. I believe it was only ever released on the old VERC website, which has been defunct for years, which is why it can't be found "officially" anywhere anymore.
Dr. Orange Dr. OrangeSource good.
Posted 5 years ago2019-09-02 22:42:56 UTC Post #343094
The 3.5 beta was posted on VERC only - it's a build from Valve, but they never "finished" the release so it's not included in the official SDK. See the page on our VERC mirror at VERC: Hammer Beta, which is the closest you could get to an "official" download now that VERC is offline.
Penguinboy PenguinboyHaha, I died again!
Posted 5 years ago2019-09-02 23:00:47 UTC Post #343095
Dr. Orange said:It is made by Valve, but it isn't officially supported as it was only released as a beta. I believe it was only ever released on the old VERC website, which has been defunct for years, which is why it can't be found "officially" anywhere anymore.
Thanks a bunch! Edit: removed my propaganda link. I'm sorry if the edit bumped the thread...
MOCOLONI MOCOLONIinfo_player_mocoloni
You must be logged in to post a response.