• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Nick53

#16
I get "Python Script error check console" when trying to export.

EDIT AGAIN: I've got Blender 2.45, do I need 2.42? I'll look for it....

EDIT AGAIN: I've now got 2.42 but same error.......
#17
Yes, I've put it in there now, but where in blender do I access the "Exporter"?
EDIT: found it! =D

Is there a tutorial that explains how to mae BZII units with blender?
#18

I've put it in C:\Program Files\Blender Foundation\Blender\python25.zip (Zip folder) (blencer --> plugins doesnt have anything in it...)

with 28? other .py files. I suppose when I goto File --> Export it will have BZII converter (or something similar) but theres nothing new (I think)

Anyway, I've heard that once converted, you cannot view the .xsi file in Threed because the file is "optimised" (for want of a better word)  for BZII. How do you put hardpoints in a unit, do they have to be seperate objects (I've sort of picked up they need to be triangle things in the chassis of the unit) Is there a guide type thing for this anywhere?
#19
Well, it starts like this.........

and goes on for several pages??







#!BPY

""" Registration info for Blender menus:
Name: 'BZ2XSI(.xsi)...'
Blender: 242
Group: 'Export'
ToolTip: 'Export to BZ2's file format.'
"""
__author__ = "OvermindDL1"
__url__ = ("Author's site, http://www.overminddl1.com/")
__version__ = "0.1"

__bpydoc__ = """\
This scripts exports in Battlezone 2's mesh import file format, XSI 1.1.

Notes:<br>
    Check author's site for a new beta version of the BZ2 exporter.
"""
# BZ2Exporter.py version 0.1
# Copyright (C) 2006  OvermindDL1 -- OvermindDL1@gmail.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# This script exports meshes created with Blender in BZ2 XSI 1.1 file format,
# it exports meshes,armatures,materials,normals,texturecoords and animations
# (hopefully)

# Grab the latest version at: www.overminddl1.com

import Blender
from Blender import Types, Object, NMesh, Material,Armature,Mesh,IpoCurve
from Blender.Mathutils import *
from Blender import Draw, BGL
from Blender.BGL import *
import math
import os
import struct

# TODO:  Cleanup the global's I'm no longer using, don't touch the ones I am using...
# TODO:  Add support for specying animation speed, enabling/disabling dummy frame (var already exists), etc...

global mat_flip,index_list,space,bone_list,mat_dict
global anim,flip_norm,swap_yz,flip_z,speed,ticks,addDummyRoot
bone_list =[]
index_list = []
mat_dict = {}
#BZ2 requires swap_yz to be 1...
space = 0;flip_z = 1;anim=1;swap_yz=1;flip_norm=0;speed=0;ticks=25;addDummyRoot=1


toggle_val = 1
toggle1_val = 0
toggle2_val = 0
toggle3_val = 1
toggle4_val = 1
anim_tick = Draw.Create(25)


def my_callback(filename):
   if filename.find('.xsi', -4) <= 0: filename += '.xsi'
   #bz2export = bz2Export(filename)
   #bz2export = bz2XsiExport(filename)
   bz2export = bz2XsiOptimizedExporter(filename)
   #bz2export.SelectObjs()
   bz2export.ExportAll()

def my_callback_sel(filename):
   if filename.find('.xsi', -4) <= 0: filename += '.xsi'
   #bz2export = bz2Export(filename)
   bz2export = bz2XsiExport(filename)
   bz2export.ExportSelected()
def event(evt, val):
      if evt == Draw.ESCKEY:
         Draw.Exit()
         return


That is if I've got the right link??
#20
Very good, but "BZ2Exporter242" gives me a HTML word file as per last post and the other dload is a blender file of a tank?  :-)
#21
OK. I've been there but cannot seem to find this .XSI converter, the only download I've found is just a page of text... Apparently I need to put hardpoints in using blender as this .xsi converter wont open in Threed. How is this done?
#22
"4- Export it to XSI from blender using OM's exporter."

Where is this found??
#23
Ah! Where is OM's (overmind?) exporter?
#24
where can I find the X2XSI program?
#25
no I just exported them in .X format ie: tank.x

(what should I use instead of Threed?)
#26
I've made a quick model in Blender, how do I get it into BZII?

(I've found File --> Export and tried to export in .XSI and .X files but Threed does not recognise the files, "not a valid file")???
#27
Maps and Modding / Re: Help with mini-mod units?
July 21, 2008, 04:29:41 PM
Thanks again!
#28
Maps and Modding / Re: Help with mini-mod units?
July 21, 2008, 02:22:51 AM
How can I get a factory to build units under sub categorys (like an armory and some factorys in pb4)?
#29
Battlezone 2 / Re: VERY Slow and Jerky BZII
July 19, 2008, 03:08:34 PM
 :-( I've got Dual-Core. I meant to say I can't find a full FE install does anyone know where I can find it?
#30
Maps and Modding / Re: Help with mini-mod units?
July 18, 2008, 09:32:08 PM
pilotConfig = "ispilo"

YES!! It works! Thanks! You might see a new mini mod and a BZI remake in a few months!  :-D