Skip to main content

Modified OGF Editor by ValeroK


Info

Program DeveloperMortany (Original Author)ValeroK
Described Version4.1
Discussion ForumAp-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
  • 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

  • File button

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
  • Tools Button

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
  • OGF Info button

Display information about the loaded OGF

FieldDescription
OGF Version*.ogf file version
Model TypeModel type
Motions RefsMotions references
MotionsMotions
LinksLinks
VertsVertices count
FacesFaces count
FieldDescription
Source FileSource file
ConverterConverter
CreatorCreator
EditorEditor
Export TimeExport time
Creation TimeCreation time
Modified TimeModified time
Button
Repair timers
  • Settings Button

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
  • Model Format Button

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 name

File with userdata

  • Motion Refs

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
  • Bone Names

Displays a list of bones and their number

  • Bone Params

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