the Rainbow Networks
+++eXy FFA
Map: q3tourney2
Players: 2 / 18
The golden pot › DEV › Maps, Models and Mods › Modified Blender ase export script.
Modified Blender ase export script.
There are worlds waiting to be explored and objects to be made. Enjoy.
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexMaps, Models and Mods
View previous topic :: View next topic  
Author Message
hyp3rfocus
Forum Addict
Forum Addict


Joined: Aug 25, 2007
Posts: 466
Location: england

PostPosted: Fri Oct 02, 2009 1:33 pm    Post subject: Modified Blender ase export script. Reply with quote

I've been tinkering around with exporting ase models from Blender and I was getting tired of having to navigate to the correct folder before exporting and then having to edit the ase file to correct the texture references. Since I was constantly tweaking models, exporting them, building them into maps and checking them in the game this became very time consuming.To remedy this I modified the ase script so that the filename and texture path could be specified in the settings section (starting from line 79)...
Code::
#============================================
#           Settings
#============================================

OUTPUT_FILENAME="/home/me/ase_files/blah.ase"
OUTPUT_TEXTURE= 'models/mapobjects/blah/blah.tga'
OUTPUT_FILENAME is fairly straightforward, it's just the file you want your ase model exported to. OUTPUT_TEXTURE gets used for the ase model's MATERIAL_NAME and BITMAP settings, the ones you normally have to edit by hand to refer to the texture image. When you run the script it will show you a file browser (which should be set to the OUTPUT_FILENAME you specified), then the little pupblock should pop up looking like this...

...with OUTPUT_TEXTURE set as the texture reference. Simply click ok and you'll have an ase model file exported exactly where you want it without any editing needed. A huge time saver.

Here is the download for the export script.

Here is an example of the exported ase file.

I hope this is useful to someone. =D
Back to top
View user's profile Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> Maps, Models and Mods All times are GMT + 1 Hour
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
You cannot attach files in this forum
You can download files in this forum


Welcome Anonymous


Membership:
Latest: Evilemerold
New Today: 0
New Yesterday: 0
Overall: 354

People Online:
Members: 0
Visitors: 46
Total: 46
Who Is Where:
 Visitors:
01: The golden pot
02: The golden pot
03: The golden pot
04: The golden pot
05: Maps
06: Rainbow Media
07: Rainbow Media
08: The golden pot
09: The golden pot
10: Maps
11: Maps
12: The golden pot
13: The golden pot
14: The golden pot
15: The golden pot
16: The golden pot
17: The golden pot
18: The golden pot
19: Rainbow Media
20: Home
21: Home
22: The golden pot
23: The golden pot
24: The golden pot
25: Maps
26: The golden pot
27: Maps
28: The golden pot
29: Rainbow Media
30: Maps
31: The golden pot
32: My Account
33: The golden pot
34: The golden pot
35: Rainbow Media
36: The golden pot
37: Maps
38: The golden pot
39: Rainbow Media
40: The golden pot
41: Home
42: The golden pot
43: Maps
44: The golden pot
45: The golden pot
46: The golden pot

Staff Online:

No staff members are online!

The Rainbow Networks website is hosted by JockeTF and Soder on furver.se.

The Rainbow Networks
Interactive software released under GNU GPL, Code Credits, Privacy Policy
Azul theme and related images designed by Jamin