Creating new entities in radiant?


(G0-Gerbil) #1

I’m working on a .map parser that takes custom entities and converts them into the proper ET entity / prefab versions.
One of the things I want to do though is have a custom entity that shows the directional arrow, but I don’t see any settings for it.
Are these hardcoded, IE any new ones won’t have it (nor can you choose from the shapes, eg spawn blocks, light diamonds etc).

To specify exactly where I’m at - I can create custom entities and have them show up in radiant, but they are just a plain block - setting angles doesn’t make them ‘point’ :frowning:


(SCDS_reyalP) #2

yes, this is in the editor code. The .def format is quite limted in what it can describe.
See radiant/eclass_def.cpp in the gtkradiant source.

From this it appears that if your entity name starts with “info_player” “path_corner” “team_ctf” or “misc_teleporter_dest” it will have the arrow.

As another workaround, you can have an entity displayed with a model by using something like


/*QUAKED misc_cabinet_health (.5 .5 .5) (-20 -20 0) (20 20 60)
model="models/mapobjects/supplystands/stand_health.md3"

in the .def file. Make and MD3 of a block with an arrow sticking out of it :smiley: