the Rainbow Networks
+++eXy FFA
Map: hub3dm1
Players: 4 / 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: 31
Total: 31
Who Is Where:
 Visitors:
01: The golden pot
02: Maps
03: The golden pot
04: Maps
05: The golden pot
06: The golden pot
07: The golden pot
08: The golden pot
09: Maps
10: The golden pot
11: The golden pot
12: The golden pot
13: The golden pot
14: The golden pot
15: Rainbow Media
16: The golden pot
17: The golden pot
18: Shoutblock
19: The golden pot
20: The golden pot
21: The golden pot
22: The golden pot
23: The golden pot
24: The golden pot
25: The golden pot
26: The golden pot
27: The golden pot
28: The golden pot
29: The golden pot
30: Rainbow Media
31: 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