Game Development Community

HAMMER: Path in Torque

by Corin · in Artist Corner · 03/08/2005 (12:28 am) · 11 replies


#1
03/08/2005 (12:28 am)
If I am not mistaken you can export with map2dif. it supports valve220

you can find the link here

www.garagegames.com/mg/projects/torque1/artist.php
#2
03/08/2005 (2:37 am)
Sorry, not me. I haven't used hammer.
I would do a search though. I'm sure that there are a few people out there dealing with the same things.

try this: www.garagegames.com/docs/torque.sdk/tools/worldcraft/index.html
which came from this post:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5150

I don't know how much change there is since it was worldcraft but at least it's worth looking into
#3
03/08/2005 (3:48 am)
Charlie is right you save your file as a map-file after that you put it in map2dif and you'll get your dif-file whitch is supported in Torque.

The use of map2dif is simple:
drag&drop the map2dir.exe in the windows command-line (cmd) then -t (for texture folder) folder -o (folder in whitch you wanna save your dif-file) folder map-file

all can be done by drag&drop
#4
03/09/2005 (4:07 pm)
Is the latest version of Hammer (from Half Life 2) compatible with Torque to create and export maps?
#5
03/09/2005 (5:05 pm)
I don't think the new version supports older formats.
#6
03/10/2005 (1:19 am)
It doesn't
#7
07/26/2005 (8:26 am)
If I remember correctly, there is a small fix required in the map2diff exe to get path's to export.

(or was it a fix in the engine to get them to work?)

this is old info I havent looked in a long time (1yr+)
if you find my resource, prelimenary door's you can see how I got the path working.
#8
08/31/2005 (9:27 am)
I would also love to know how to get this working. I have been mapping for HL and HL2 for a while now and love its editor. Very easy to use!! If anyone knows how to fix this problem please post.
#9
08/31/2005 (9:44 am)
Like I said,
you can find the fix for path's here..
or at least check if this code is in.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2619

Quote:find the code:(Optional for Paths add these changes to the map2diff project)


bool PathNodeEntity::parseEntityDescription(...)
 find the code:
else if (pToker->tokenICmp("name"))
find : name
replace with : targetname
find the code:
else if (pToker->tokenICmp("next_node")) {
find : next_node
replace with : target
#10
09/01/2005 (11:50 am)
Be careful with using Hammer. I recently downloaded it to take a look and their licensing scheme prohibits using it for anything other than a Half-Life mod. So using maps made in hammer for a Torque game is illegal as far as I know.
#11
09/01/2005 (12:59 pm)
Get C-Shop, or, if you wait another couple weeks, World Builder ( C Shops new name ) www.leadwerks.com

Awesome tool for interiors, out shines Hammer for sure.