Tutorial for added ship models with UE With new ship packs
Moderator: thunderchero
Well guess i did find something, even if through a simple mistake.
A new problem as come up now, eventhing was going great after adding each ship i saved and checked in game. Then it came to adding the last one i wanted, i went to click save and nothing happend so i clicked ship stats to see if the ships were there and i got : Null pointer exception (click ok) Segment not found: Special ships. It comes up when i go to edit anything and seems to disable the save feature.
A new problem as come up now, eventhing was going great after adding each ship i saved and checked in game. Then it came to adding the last one i wanted, i went to click save and nothing happend so i clicked ship stats to see if the ships were there and i got : Null pointer exception (click ok) Segment not found: Special ships. It comes up when i go to edit anything and seems to disable the save feature.
0.6.9 doesn't support the minor race modification used in the latest UDM.
0.6.9b has the null pointer error fixed, but will throw Unknown trek.exe modification instead. Adding/editing ships should still work, you just won't be able to set special ships.
0.7.0dev3 does support the minor race modification but is the development version (more chance of having bugs). You can find it in the dev folder in my 4shared folder.
EDIT: check error.log it might contain an out of memory error. If it does let me know. Closing and starting UE again will let you add the last ship in this case.
0.6.9b has the null pointer error fixed, but will throw Unknown trek.exe modification instead. Adding/editing ships should still work, you just won't be able to set special ships.
0.7.0dev3 does support the minor race modification but is the development version (more chance of having bugs). You can find it in the dev folder in my 4shared folder.
EDIT: check error.log it might contain an out of memory error. If it does let me know. Closing and starting UE again will let you add the last ship in this case.
By edit the minors do you mean their ship models? At one point i did edit a race name, morals, info, pic, ect but that worked fine.
So with Vanilla and any other mod the straight swap should be fine?
These are what appear in the error report:
java.io.IOException: Couldn't delete file: trek.tmp
at ue.edit.exe.Trek$SaveTask.doInBackground(Trek.java:1017)
at ue.edit.exe.Trek$SaveTask.doInBackground(Trek.java:869)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
Ultimate Editor 0.6.9a - 12:31:37 04.05.2009
java.lang.NullPointerException
at java.lang.String.replace(Unknown Source)
at ue.edit.exe.InternalSegment.checkIfValid(InternalSegment.java:58)
at ue.edit.exe.trek.SpecialShips.<init>(SpecialShips.java:101)
at ue.edit.exe.Trek.getInternalFile(Trek.java:570)
at ue.gui.stbof.ShipGUI.<init>(ShipGUI.java:184)
at ue.edit.res.Stbof.edit(Stbof.java:741)
at ue.edit.FileManager.edit(FileManager.java:816)
at ue.gui.MainMenu$OpenEdit.actionPerformed(MainMenu.java:564)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Ultimate Editor 0.6.9a - 12:31:38 04.05.2009
java.io.FileNotFoundException: Segment not found: specialships
at ue.edit.exe.Trek.getInternalFile(Trek.java:700)
at ue.gui.stbof.ShipGUI.<init>(ShipGUI.java:184)
at ue.edit.res.Stbof.edit(Stbof.java:741)
at ue.edit.FileManager.edit(FileManager.java:816)
at ue.gui.MainMenu$OpenEdit.actionPerformed(MainMenu.java:564)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
So with Vanilla and any other mod the straight swap should be fine?
These are what appear in the error report:
java.io.IOException: Couldn't delete file: trek.tmp
at ue.edit.exe.Trek$SaveTask.doInBackground(Trek.java:1017)
at ue.edit.exe.Trek$SaveTask.doInBackground(Trek.java:869)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
Ultimate Editor 0.6.9a - 12:31:37 04.05.2009
java.lang.NullPointerException
at java.lang.String.replace(Unknown Source)
at ue.edit.exe.InternalSegment.checkIfValid(InternalSegment.java:58)
at ue.edit.exe.trek.SpecialShips.<init>(SpecialShips.java:101)
at ue.edit.exe.Trek.getInternalFile(Trek.java:570)
at ue.gui.stbof.ShipGUI.<init>(ShipGUI.java:184)
at ue.edit.res.Stbof.edit(Stbof.java:741)
at ue.edit.FileManager.edit(FileManager.java:816)
at ue.gui.MainMenu$OpenEdit.actionPerformed(MainMenu.java:564)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Ultimate Editor 0.6.9a - 12:31:38 04.05.2009
java.io.FileNotFoundException: Segment not found: specialships
at ue.edit.exe.Trek.getInternalFile(Trek.java:700)
at ue.gui.stbof.ShipGUI.<init>(ShipGUI.java:184)
at ue.edit.res.Stbof.edit(Stbof.java:741)
at ue.edit.FileManager.edit(FileManager.java:816)
at ue.gui.MainMenu$OpenEdit.actionPerformed(MainMenu.java:564)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Just swapping models will not cause this: going to Ships->Ship Stats will.
More info here: viewtopic.php?name=Forums&file=viewtopic&t=822
More info here: viewtopic.php?name=Forums&file=viewtopic&t=822
- GeorgiaBoy
- Lieutenant-Junior Grade
- Posts: 59
- Joined: Tue Mar 31, 2009 2:00 am
- Location: Georgia (not the Caucasus)
Shippacks/Models from B5?
Are there any shippacks available for Babylon 5?
Thanks in advance,
GB
Thanks in advance,
GB
hello Thunder. Are there any more ship packs availabe? like all Ultimate Mod 1-4 ships? also in your how to phasers, if none of the ships in the game have phasers 10 or 14 or 1 how can you add them as a second or third slot ship? or renaming a sip with HH is already taken just something else? sorry if this is said on page 1 but i read it through many times and just cant find how to.
Paddy
Paddy
Last edited by Paddy on Sun May 17, 2009 9:40 pm, edited 1 time in total.
- thunderchero
- Site Administrator aka Fleet Admiral
- Posts: 7953
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.
UM1-3 ships should be in ship pack 1 & 2Paddy wrote:hello Thunder. Are there any more ship packs availabe? like all Ultimate Mod 1-4 ships?
UM4 I have not had time yet to create ship pack same for other older mods but most were already in ship pack 1 & 2
If I understand you correctly, you are tring to do something that is not needed.Paddy wrote:also in your how to phasers, if none of the ships in the game have phasers 10 or 14 or 1 how can you add them as a second or third slot ship?
If ship model has no phasers, no entry in trek.exe is needed
DCER has touched on adapting UE to do this, But has not been done due to little interest.
So these model need to be added manualy just add files (hob, gif, tga) to res file. first make sure prefix used is not already in use or it will overwrite working model.
then assign i_***120.tga to ship slot in shiplist.sst
register texture and palette
But be sure in ship stats it has no phaser data. (not sure what all has to be set to 0)
and save.
I hope this answers your questions
thunderchero
- Irishguy1916
- Cadet 1st Year
- Posts: 4
- Joined: Fri May 09, 2008 2:00 am
- Irishguy1916
- Cadet 1st Year
- Posts: 4
- Joined: Fri May 09, 2008 2:00 am
- sanityfreezone
- Ensign
- Posts: 45
- Joined: Sat May 31, 2008 2:00 am
Sorry, but i'm having trouble with the basics of this. I'm trying to add models from All The Ages mod to the Error Correction Mod (personal use only). I've created a ship pack, but can't work out how to increase the number of models.. i can only replace existing models. I've read the tutorial and done the copy existing model but it dosn't seem to help...
- thunderchero
- Site Administrator aka Fleet Admiral
- Posts: 7953
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.