HomeHome    CalendarCalendar    SearchSearch    MemberlistMemberlist    RegisterRegister   ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 
 
 
“With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...., Smokin’ Guns.”
Calendar 
Creating ASE Models from brushwork in Radiant

 
Post new topic   Reply to topic    Smokin-guns.net Index -> Smokin' Guns Forum Index -> Level Editing -> Tutorials
View previous topic :: View next topic  
Author Message
Breli
Smokin' Gun




Joined: 18 Jul 2005
Posts: 894
Location: Germany

PostPosted: Sat Jan 31, 2009 1:12 pm    Post subject: Creating ASE Models from brushwork in Radiant Reply with quote

Note: Originally posted by Red in the old forum Cool

Rotating my trees and resizing them causes horrible results so I needed to find a way to convert them into models that are more easily manipulated.

How are .ase models created then? Well, it''s not that complicated. Select the geometry you want to convert into a model. Copy it. Save the map and open a new map. Paste the copied geometry into the new map. Slap a caulk box around the geometry and throw in an info_player_deathmatch entity. Select the entire map and move it so that the centre of the geometry is somewhere close to 0, 0, 0 on the grid. This is necessary as the model control point is always created at 0,0,0. If you don''t move the geometry the result can cause a leak if you insert a model into a map with it''s control point in the void.

Save the map, with an appropriate name, I normally use something like mymap_tallarchase. Open Quake toolkit or Q3map2 toolz, or what ever front end compiler you use. Compile with:

bsp -meta -patchmeta -subdivisions 6

Then compile the new .bsp (not the .map!) with:

bsp -convert

You have now created your first .ase model. I normally move the model into a mymapname folder inside the models/mapobjects/ folder.

Open your original map and delete the old geometry. Insert the model by dropping the entity menu and selecting misc_model. In the window that pops up, change the file type from .md3 to .ase, then select your model. Move the model into position. You can rotate it in any direction (using the angle keys in the entity editing window, and/or by setting the key angles with a value n,n,n for pitch, roll and yaw. GTK 1.5 will allow you to free rotate models around any axis), just as with an .md3, this is the other benefit of creating and using models. It is not normally a good idea to rotate brush or patch work, but with models there is no problem. All map models are non-solid. You will need to place a playerclip brush over the top of them to make models solid, or weapclip if you want weapon impacts as well. Cut the clip brushes into more or less the correct shape, but don''t be overly fussy. Try to keep clipping simple. It is possible to auto-clip models by setting a key of spawnflags and a value of 6, however I strongly recommend NOT going down that route as the load placed upon your CPU increases hugely once weapons start getting fired into your models. If you want explosions, use simple weapclip brushes. You will need to set the key spawnflags and a value of 4. This will allow your model to be lightmapped (cast and receive shadows), it''s also often a good idea to set a key of _lightmapscale and a value of 0.125. This sets a high resolution lightmap on the model, resulting in much sharper shadows.

_________________
SG name: =SG= BRELI

Harmonica: Did you bring a horse?
Gunmen: Looks like we are short on one horse!
Harmonica: No. You brought two too many.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smokin-guns.net Index -> Smokin' Guns Forum Index -> Level Editing -> Tutorials All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2005 - 2009 by Smokin' Guns Productions. © 2000-2003 Iron Claw Interactive. All Rights Reserved. || Web-Design by L3th4l
Quake 3 Arena © 2000 - 2009 id software, inc. All trademarks used are properties of their respective owners.
Smokin' Guns® the name and logos are Registered Trademarks of L3th4l Design and may not be used with out permission.
Site is best viewed @ 1280x1024 resolution or higher on Mozilla FireFox 1.03+

Powered by phpBB © 2001 - 2009 phpBB Group