Exemple #1
0
def read_prop_instance_v15(file):
    prop = read_prop_instance_common(file)
    strange_number = int8(file)
    bool1(file)
    bool1(file)

    return prop
Exemple #2
0
def read_particle_instance_v6(file):
    particle = read_particle_instnace_common(file)
    particle.pdlc_mask = int8(file)
    particle.autoplay = bool1(file)
    particle.visible_in_shroud = bool1(file)

    return particle
def read_point_light_v6(file):
    point_light = read_point_light_common(file)
    point_light.flags = {"lf_relative": bool1(file)}
    point_light.height_mode = string(file)
    point_light.flags["light_probes_only"] = bool1(file)
    point_light.pdlc_mask = int8(file)

    return point_light
Exemple #4
0
def read_composite_scene_v7(file):
    composite_scene = read_composite_scene_common(file)
    composite_scene.pdlc_mask = int8(file)
    composite_scene.flags = {}
    composite_scene.flags["autoplay"] = bool1(file)
    composite_scene.flags["visible_in_shroud"] = bool1(file)
    composite_scene.flags["no_culling"] = bool1(file)

    return composite_scene
Exemple #5
0
def read_sound_shape_v7(file):
    sound_shape = read_sound_shape_common(file)
    sound_shape.pdlc_mask = int8(file)

    return sound_shape