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
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
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_texture.n_create_blocks(self.n_data) n_nitrishape = self.n_data.roots[0].children[0] n_gen_material.n_attach_material_prop(n_nitrishape) # add nimaterialprop n_gen_texture.n_create_store_normal_data(n_nitrishape) #store normal data as NiBinaryExtraData n_gen_texture.n_create_texture_property(n_nitrishape) # add nitexturingprop n_textureprop = n_nitrishape.properties[0] n_gen_diffusemap.n_create_diffuse_map(n_textureprop) #add nitexturesource diffuse n_gen_glossmap.n_create_gloss_map(n_textureprop) #add nitexturesource glowmap 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
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
def n_create_header(self): gen_data.n_create_header_oblivion(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_trishape = self.n_data.roots[0].children[0] n_gen_stencil.n_create_stencil_prop(n_trishape) return self.n_data