def n_create_data(self):
     gen_data.n_create_header_oblivion(self.n_data)
     n_gen_geometry.n_create_blocks(self.n_data)
     n_trishape = self.n_data.roots[0].children[0]
     n_gen_material.n_attach_material_prop(n_trishape)
     n_gen_wire.n_attach_wire_prop(n_trishape)  # add niwireframeprop
     return self.n_data
Example #2
0
    def n_create_data(self):
        gen_data.n_create_header_oblivion(self.n_data)
        n_gen_geometry.n_create_blocks(self.n_data)

        n_trishape = self.n_data.roots[0].children[0]
        n_gen_material.n_attach_material_prop(n_trishape)
        n_gen_material.n_alter_emissive(n_trishape.properties[0])
        return self.n_data
Example #3
0
 def n_create_data(self):
     gen_data.n_create_header_oblivion(self.n_data)
     n_gen_geometry.n_create_blocks(self.n_data)
     n_trishape = self.n_data.roots[0].children[0]
     n_gen_material.n_attach_material_prop(n_trishape)
     n_gen_specular.n_alter_material_specular(
         n_trishape.properties[0])  # set material alpha
     n_gen_specular.n_attach_specular_prop(n_trishape)  # add nialphaprop
     return self.n_data
 def n_create_data(self):
     gen_data.n_create_header_oblivion(self.n_data)
     n_gen_geometry.n_create_blocks(self.n_data)
     
     n_ninode = self.n_data.roots[0]
     n_gen_collision.n_attach_bsx_flag(n_ninode)
     
     #generate common collision tree
     n_bhkcolobj = n_gen_collision.n_attach_bhkcollisionobject(n_ninode)
     n_bhkrigidbody = n_gen_collision.n_attach_bhkrigidbody(n_bhkcolobj)
     
     #generate bhkboxshape specific data
     n_gen_bhkboxshape.n_update_bhkrigidbody(n_bhkrigidbody)
     n_bhktransform = n_gen_bhkboxshape.n_attach_bhkconvextransform(n_bhkrigidbody)
     n_gen_bhkboxshape.n_attach_bhkboxshape(n_bhktransform)
     
     return self.n_data
Example #5
0
 def n_create_data(self):
     gen_data.n_create_header_oblivion(self.n_data)
     n_gen_geometry.n_create_blocks(self.n_data)
     return self.n_data
Example #6
0
 def n_create_data(self):
     n_gen_geometry.n_create_blocks(self.n_data)
     return self.n_data
Example #7
0
 def n_create_data(self):
     gen_data.n_create_header_oblivion(self.n_data)
     n_gen_geometry.n_create_blocks(self.n_data)
     n_trishape = self.n_data.roots[0].children[0]
     n_gen_stencil.n_create_stencil_prop(n_trishape)
     return self.n_data