Modified OGF Editor by ValeroK

  • Program Developers:
    • Mortany (Original Author)
    • ValeroK
  • The version described in the article: 3.8
  • Ap-pro forum topic

About

Tool for working with .ogf and .dm format

ogf-editor centered

Features

  • Ability to work with all .ogf parameters
  • Ability to work with meshes in .ogf
  • Viewport
  • Integration with OGF Viewer and OMF Editor
  • Saving .ogf in .object, .skl, .skls, .bones formats (list of formats here)
  • Hotkeys
  • Fix Gunslinger models (models are fixed automatically when you save them)

Functionality

Hotkeys

  • F4 - Load file
  • Ctrl+S - Save file
  • F6 - Save as
  • F3 - Reload file

Buttons

ButtonDescription
LoadLoads the selected .ogf
SaveSave .ogf
Save AsSave as .ogf
ExportExport as
.object
.bones
.obj
.omf
.skl
.skls
ReloadReloads the program
ExitExits the program
ButtonDescription
Open in Object EditorOpen in Object Editor
Import OGF ParamsImports parameters of another .ogf with selectable parameters
Recalc NormalsRecalculates the normals of the selected mesh
Recalc Bounding BoxRecalculates Bounding Box
Remove Progressive MeshesRemove Progressive Meshes
Move/Rotate ModelMove/Rotate Model
ConverterNPC CoP to SoC
NPC SoC to CoP

Display information about the loaded OGF

FieldDescription
OGF VersionThe .ogf version
Model TypeModel type
Motions RefsMotions Refs
MotionsMotions
LinksLinks
VertsVerts
FacesFaces
FieldDescription
Source FileSource file
ConverterConverter
CreatorCreator
EditorEditor
Export TimeExport Time
Creation TimeCreation Time
Modified TimeModified Time
Button
Repair timers
Field
Image path
FS Ltx path
Textures path
Game Mtl path
OMF Editor path
Object Editor path
Button
Load textures alpha channel in Viewport - slow loading

Changes the format of motion references for the model

Checkboxes

FieldDescription
Create BackupCreates a backup file

Sections

Section with texture and shader path editing. Also here can delete or move meshes of the model (If there is only one mesh, you cannot delete it)

Mesh: [Mesh number]
FieldDescription
Texture Path:Path to texture
Shader Name:Shader

File with userdata

A field with paths for animation

Displays animations that are built into the model

If you right-click on this field, then the context menu will pop up where you can:

ButtonDescription
EditOpens the OMF Editor (first, you need to specify the path to it in the settings)
LoadLoads selected .omf files as an embedded movement
DeleteDeletes all downloaded animations

Displays a list of bones and their number

Editing the bone parameter

Bone id: [Bone number]
FieldDescription
Bone NameBone Name
Parent BoneParent Bone
MaterialMaterial
MassMass
Center Of MassCenter of mass
PositionBone position
RotationBone rotation

Specifies the path to the Lod model

Viewport


Sources

Source Code of Original OGF Editor by Mortany

Source Code of Modified OGF Editor by ValeroK