Jump to content

[Abandoned] [Java] ModelLoader 1.16_02


Jab

Recommended Posts

NO   esta funcionando el modelloader para la actual build 32.27?  :(, ¿algien sabe como es la instalación del modelloader v1.09(trae muchas carpetas dentro de rar, y nose como ubicarlas ya) para la actual versión de Pz?


NO   esta funcionando el modelloader para la actual build 32.27?  :(, ¿algien sabe como es la instalación del modelloader v1.09(trae muchas carpetas dentro de rar, y nose como ubicarlas ya) para la actual versión de Pz?

Link to comment
Share on other sites

NO   esta funcionando el modelloader para la actual build 32.27?   :(, ¿algien sabe como es la instalación del modelloader v1.09(trae muchas carpetas dentro de rar, y nose como ubicarlas ya) para la actual versión de Pz?

NO   esta funcionando el modelloader para la actual build 32.27?   :(, ¿algien sabe como es la instalación del modelloader v1.09(trae muchas carpetas dentro de rar, y nose como ubicarlas ya) para la actual versión de Pz?

 

I'll need to upload ModelLoader to 32.27 when I can. I've been busy lately. 

Link to comment
Share on other sites

 

NO   esta funcionando el modelloader para la actual build 32.27?   :(, ¿algien sabe como es la instalación del modelloader v1.09(trae muchas carpetas dentro de rar, y nose como ubicarlas ya) para la actual versión de Pz?

NO   esta funcionando el modelloader para la actual build 32.27?   :(, ¿algien sabe como es la instalación del modelloader v1.09(trae muchas carpetas dentro de rar, y nose como ubicarlas ya) para la actual versión de Pz?

 

I'll need to upload ModelLoader to 32.27 when I can. I've been busy lately. 

 

te lo agradecería mucho :), esperare la actualización 

Link to comment
Share on other sites

Downloaded ORTMN'S guns mod. Can I ask someone who's a noob to this all modelloader code lua how I can see the 3d models?

 

The only way at this given moment is by using version 32.16 of Project Zomboid. I haven't updated this mod to 32.27 yet, as I haven't been able to do it being busy.

 

I'll get to it soon. 

Link to comment
Share on other sites

Yes please!  Me, my wife my buddy and his girlfriend are pretty much putting the game on hold until this gets updated, stupid steam auto updates.  It's just not the same holding an invisible gun.  Take your time though, I could use some sleep instead of 2 a.m Zomboid sessions on work days.  Cheers though man your mod is a godsend, can't wait to see if clothes work out.

Link to comment
Share on other sites

jab Funciona el modelloader, Pero extrañamente no puedo ver los Modelos, hablo especialmente of this mod

 

 http://pz-mods.net/weapons-items/ZomboidXBow/

 

puedo fabricarla Y Todo, Pero ala hora de usarla en las dos manos, el toma la postura de estar ¿Usando la ballesta but En sus manos no se ve nada :(, mi Construyamos es real La 32.27. 

te agradeceria Mucho Que Me ayudases En Esta duda.

thump_9463737sin-ttulo.png

Link to comment
Share on other sites

jab Funciona el modelloader, Pero extrañamente no puedo ver los Modelos, hablo especialmente of this mod

 

 http://pz-mods.net/weapons-items/ZomboidXBow/

 

puedo fabricarla Y Todo, Pero ala hora de usarla en las dos manos, el toma la postura de estar ¿Usando la ballesta but En sus manos no se ve nada :(, mi Construyamos es real La 32.27. 

te agradeceria Mucho Que Me ayudases En Esta duda.

thump_9463737sin-ttulo.png

 

Mods using ModelLoader will need to modify their code to work with the steam update, as a Lua function has changed for grabbing the directory location of the mod's folder 'getDir()'. If you want to change it, you can, or wait for the mod author to.

Link to comment
Share on other sites

 

jab Funciona el modelloader, Pero extrañamente no puedo ver los Modelos, hablo especialmente of this mod

 

 http://pz-mods.net/weapons-items/ZomboidXBow/

 

puedo fabricarla Y Todo, Pero ala hora de usarla en las dos manos, el toma la postura de estar ¿¿¿Usando la ballesta, but En sus manos no se ve: (nada, mi Construyamos es Verdadera La 32.27. 

te agradeceria Mucho Que Me ayudases En Esta duda.

thump_9463737sin-ttulo.png

 

Mods utilizando ModelLoader nos podemos deducir Que Modificar su código párr Trabajar con la Actualización de vapor, Como una Función Lua ha Cambiado Para El acaparamiento de la ubicación del Directorio de la Carpeta del mod 'getDir ()'. Si cambiarlo DESEA, PUEDE, o Esperar una cola el autor mod a.

 

osea Que en mi idioma xd, el mod de ballesta está desactualizado Para La Zomboid actual versión de proyecto? Puedo Hacer Algo xd solucionarlo párrafo? perdón Que Moleste Con mucho Tantas Preguntas xd Pero es que me gusta modelloader y los mods que lo usan.

Link to comment
Share on other sites

osea Que en mi idioma xd, el mod de ballesta está desactualizado Para La Zomboid actual versión de proyecto? Puedo Hacer Algo xd solucionarlo párrafo? perdón Que Moleste Con mucho Tantas Preguntas xd Pero es que me gusta modelloader y los mods que lo usan.

 

If you want to jump ahead of the zombie bow mod, there's most likely one line you will need to change. search for the client lua file that initializes, and search for 'getDir('...')'. It will have some text behind it. You can remove that portion because that changed into something else, and i rewrote that quick-hand functionality back into lua. Check the OP on the format. He should be passing his mod's ID as either a variable or directly. 

 

It's no issue. It's the first time ModelLoader had to update in a way that broke backwards compatability on that command. 

Link to comment
Share on other sites

Hey Jab,
 
You may already be aware, but the most recent update (32.30) has updates that bust multiplayer when you install it. Obviously this is not unexpected, since the current version is for 32.27 and any modification to LuaManager$GlobalObject.class has the potential to cause breakage in these circumstances. I just figured I would try to be helpful by providing the stack traces I am receiving when I attempt to connect to my server:
 
The first occurs as soon as the main menu loads:

 

STATE: enter zombie.gameStates.AlphaWarningState
STATE: exit zombie.gameStates.AlphaWarningState
STATE: enter zombie.gameStates.MainScreenState
-----------------------------------------
STACK TRACE
-----------------------------------------
function: LoadMainScreenPanelInt -- file: MainScreen.lua line # 1462
function: LoadMainScreenPanel -- file: MainScreen.lua line # 1412
java.lang.RuntimeException: Object tried to call nil in LoadMainScreenPanelInt
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:947)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1672)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:53)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:81)
at zombie.Lua.Event.trigger(Event.java:37)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:61)
at zombie.gameStates.MainScreenState.enter(MainScreenState.java:500)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:135)
at zombie.GameWindow.logic(GameWindow.java:636)
at zombie.GameWindow.run(GameWindow.java:1187)
at zombie.GameWindow.maina(GameWindow.java:991)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:168)
-----------------------------------------
STACK TRACE
-----------------------------------------
function: LoadMainScreenPanelInt -- file: MainScreen.lua line # 1462

function: LoadMainScreenPanel -- file: MainScreen.lua line # 1412

 

The second occurs when attempting to connect to the server:

 

-----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: serverConnect
function: clickNext -- file: ServerList.lua line # 571
function: onOptionMouseDown -- file: ServerList.lua line # 504
function: onMouseUp -- file: ISButton.lua line # 55
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:61)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:199)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:189)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:983)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1642)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:63)
at zombie.ui.UIElement.onMouseUp(UIElement.java:881)
at zombie.ui.UIElement.onMouseUp(UIElement.java:843)
at zombie.ui.UIElement.onMouseUp(UIElement.java:843)
at zombie.ui.UIManager.update(UIManager.java:1067)
at zombie.GameWindow.logic(GameWindow.java:589)
at zombie.GameWindow.run(GameWindow.java:1187)
at zombie.GameWindow.maina(GameWindow.java:991)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:168)
Caused by: java.lang.NoSuchMethodError: zombie.network.GameClient.doConnect(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lj
ava/lang/String;)V
at zombie.Lua.LuaManager$GlobalObject.serverConnect(LuaManager.java:735)
... 21 more

 

I can attempt to connect without ModelLoader and it doesn't throw any errors, but the server utilizes ORMtnMan's Real Guns Mod so it obviously disconnects at that point since the mod doesn't work without ModelLoader installed. I tried taking a look at the classes myself, considered running a diff and then realized it would probably be a lot of work to even get the environment in the correct place to rebuild a patched class with the ModelLoader changes.

 

In any case, thanks for all your hard work and I hope this helps you get ModelLoader updated to the new release.

 

Thanks!

Link to comment
Share on other sites

Hey Jab!

 

Woah! Quick response!

 

I'm absolutely willing to volunteer my time to help. I used to do a lot of tiny Minecraft Mods back in the day. Do you use Eclipse for developing ModelLoader? If you do and you wouldn't mind sharing your build environment I'd be more than happy to get my hands dirty. Even without Eclipse I'd be willing to help in any way that I can.

 

Thanks again for all your hard work! :D

Link to comment
Share on other sites

Hey Jab!

 

Woah! Quick response!

 

I'm absolutely willing to volunteer my time to help. I used to do a lot of tiny Minecraft Mods back in the day. Do you use Eclipse for developing ModelLoader? If you do and you wouldn't mind sharing your build environment I'd be more than happy to get my hands dirty. Even without Eclipse I'd be willing to help in any way that I can.

 

Thanks again for all your hard work! :D

 

Help is always a nice thing to have, however, due to legal concern over proprietary code (This is not an API plugin), this may not be a thing I can do, unless done privately (Private repositories). I would need to ask permission on what I can do in order to allow such project collaborations.

 

I'm sure you understand that concern.

 

I'm going to focus on getting custom clothes API implemented soon. I was close to completing a version for it, however, reversed it because I think I can do it better. 

PZ started CTDing out of the blue today. Normally the console closes completely before you even get a chance to see what's going on, I had to run a batch file just to see this error (hinthint sure would be nice TIS if you guys had a dedicated error log, so far I haven't seen one)

 

http://i.imgur.com/nwajWNg.png

 

Are you using 32.30? I don't support this version yet as I have yet to upgrade the mod to this version.

Link to comment
Share on other sites

Help is always a nice thing to have, however, due to legal concern over proprietary code (This is not an API plugin), this may not be a thing I can do, unless done privately (Private repositories). I would need to ask permission on what I can do in order to allow such project collaborations.

 

I'm sure you understand that concern.

 

I'm going to focus on getting custom clothes API implemented soon. I was close to completing a version for it, however, reversed it because I think I can do it better.

 

 

Absolutely! Let me know if you find anything out and if it's possible I'll jump in!

Link to comment
Share on other sites

 

Hey Jab!

 

Woah! Quick response!

 

I'm absolutely willing to volunteer my time to help. I used to do a lot of tiny Minecraft Mods back in the day. Do you use Eclipse for developing ModelLoader? If you do and you wouldn't mind sharing your build environment I'd be more than happy to get my hands dirty. Even without Eclipse I'd be willing to help in any way that I can.

 

Thanks again for all your hard work! :D

 

Help is always a nice thing to have, however, due to legal concern over proprietary code (This is not an API plugin), this may not be a thing I can do, unless done privately (Private repositories). I would need to ask permission on what I can do in order to allow such project collaborations.

 

I'm sure you understand that concern.

 

I'm going to focus on getting custom clothes API implemented soon. I was close to completing a version for it, however, reversed it because I think I can do it better. 

PZ started CTDing out of the blue today. Normally the console closes completely before you even get a chance to see what's going on, I had to run a batch file just to see this error (hinthint sure would be nice TIS if you guys had a dedicated error log, so far I haven't seen one)

 

http://i.imgur.com/nwajWNg.png

 

Are you using 32.30? I don't support this version yet as I have yet to upgrade the mod to this version.

 

 

After moving your mod out of my PZ folder and putting the backup copy I made of the original (and then verifying game cache through Steam.. and waiting for it to download about a thousand files...) I was finally able to get into the game, and yes, it looks like Steam updated PZ to 32.30 at some point today. Is there a way to roll back to the previous version? No point playing if your mod's not compatible with it.

Link to comment
Share on other sites

 

 

Hey Jab!

 

Woah! Quick response!

 

I'm absolutely willing to volunteer my time to help. I used to do a lot of tiny Minecraft Mods back in the day. Do you use Eclipse for developing ModelLoader? If you do and you wouldn't mind sharing your build environment I'd be more than happy to get my hands dirty. Even without Eclipse I'd be willing to help in any way that I can.

 

Thanks again for all your hard work! :D

 

Help is always a nice thing to have, however, due to legal concern over proprietary code (This is not an API plugin), this may not be a thing I can do, unless done privately (Private repositories). I would need to ask permission on what I can do in order to allow such project collaborations.

 

I'm sure you understand that concern.

 

I'm going to focus on getting custom clothes API implemented soon. I was close to completing a version for it, however, reversed it because I think I can do it better. 

PZ started CTDing out of the blue today. Normally the console closes completely before you even get a chance to see what's going on, I had to run a batch file just to see this error (hinthint sure would be nice TIS if you guys had a dedicated error log, so far I haven't seen one)

 

http://i.imgur.com/nwajWNg.png

 

Are you using 32.30? I don't support this version yet as I have yet to upgrade the mod to this version.

 

 

After moving your mod out of my PZ folder and putting the backup copy I made of the original (and then verifying game cache through Steam.. and waiting for it to download about a thousand files...) I was finally able to get into the game, and yes, it looks like Steam updated PZ to 32.30 at some point today. Is there a way to roll back to the previous version? No point playing if your mod's not compatible with it.

 

 

No way to roll back without file moving at this point. I'll update the mod sometime in the next 12 to 24 hours. Maybe even tonight. Depends on the time I have to get to it. Appreciate the concern and patience. :)

 

 

 

Help is always a nice thing to have, however, due to legal concern over proprietary code (This is not an API plugin), this may not be a thing I can do, unless done privately (Private repositories). I would need to ask permission on what I can do in order to allow such project collaborations.

 

I'm sure you understand that concern.

 

I'm going to focus on getting custom clothes API implemented soon. I was close to completing a version for it, however, reversed it because I think I can do it better.

 

 

Absolutely! Let me know if you find anything out and if it's possible I'll jump in!

 

 

I'm from the 1st generation of Minecraft modders, since classic. I've done several works, both with and without API. It's been a fun ride, and even money is in modding in that game. :) 

Link to comment
Share on other sites

I have plenty of patience, but it's both a blessing and a curse, I tell you.

In addition to Steam screwing me on PZ, I've also been waiting for my server host to sort out why my server says it's "Running" yet nobody can connect to it, it's not showing up on the public server list, and when you save the server info manually it says the server's not responding.... sigh.

 

Suffice to say I probably won't be playing much PZ tonight :(

Link to comment
Share on other sites

 

Model loader

 

iblkt9jojjI1JY.png

 

Purpose:

 

The purpose of this mod is to expose and modify the model loading portion of the game in order to support customized models and their functions to be properly imported into the game.

 

Lua Functions:

 

Currently supported methods:

getDir(MOD_ID)loadZomboidModel(String name, String modelLocation, String textureLocation)loadStaticZomboidModel(String name, String modelLocation, String textureLocation)loadStaticOBJModel(String name, String modelLocation, String textureLocation)

Example (ORGM Real Guns Mod being used):

-- The directory of the mod folder.-- NOTE: (This is an added method in ModelLoader. This is not official API.)dir = getDir(MOD_ID;	-- quick extension strings.em = ".txt";et = ".png"; name = "ar15";locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et; --                    (model name        , modelLocation, textureLocation )loadStaticZomboidModel("weapons_" .. name, locationModel, locationTexture ) ;

Download:

 

Instructions:

- Simply copy the 'zombie' folder in the main Project Zomboid install folder ("Steam/SteamApps/common/ProjectZomboid/"). Make sure to make a backup of the zombie folder, for in case you want to remove this mod. You can always verify your files using Steam. 

 

 

 

:???::???: :???::???: :???::???: :???::???: :???::???: :???::???: :???::???: :???:

 

I didn't get the point.

Does it mean I need to make a new lua file to fill with the following codes?

 

 

-- The directory of the mod folder.

-- NOTE: (This is an added method in ModelLoader. This is not official API.)

dir = getDir(MOD_ID;

    

-- quick extension strings.

em = ".txt";

et = ".png";

name = "ar15";

locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;

locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;

-- (model name , modelLocation, textureLocation )

loadStaticZomboidModel("weapons_" .. name, locationModel, locationTexture ) ;

Is there any requirement on the file name?

 

BTW, what does this mean?

 

Instructions:

Simply copy the 'zombie' folder in the main Project Zomboid install folder ("Steam/SteamApps/common/ProjectZomboid/"). Make sure to make a backup of the zombie folder, for in case you want to remove this mod. You can always verify your files using Steam. 

does this means that I need to make some modification over the original PZ files?

Link to comment
Share on other sites

 

:???::???: :???::???: :???::???: :???::???: :???::???: :???::???: :???::???: :???:

 

I didn't get the point.

Does it mean I need to make a new lua file to fill with the following codes?

 

 

-- The directory of the mod folder.

-- NOTE: (This is an added method in ModelLoader. This is not official API.)

dir = getDir(MOD_ID;

    

-- quick extension strings.

em = ".txt";

et = ".png";

name = "ar15";

locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;

locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;

-- (model name , modelLocation, textureLocation )

loadStaticZomboidModel("weapons_" .. name, locationModel, locationTexture ) ;

Is there any requirement on the file name?

 

BTW, what does this mean?

 

Instructions:

Simply copy the 'zombie' folder in the main Project Zomboid install folder ("Steam/SteamApps/common/ProjectZomboid/"). Make sure to make a backup of the zombie folder, for in case you want to remove this mod. You can always verify your files using Steam. 

does this means that I need to make some modification over the original PZ files?

 

 

Yes. This is a core mod. You are overriding the original code of the game.

 

The lua example is an example of how to interface with these overrides. 'loadmodel' methods require a file, so I use getdir() to get to the mod folder to locate the model files in the mod subdirectories. 

 

Model files use .txt, however, if you want to load just weapons, you can use the obj format instead. 

No CTD for me after reinstalling Model Loader after the update finished, my models are not loading for real gun mod however, do you think this is a problem on your end or ORM's end?

 

I'll get to updating the modelloader (Planning for tonight). Usually it is ModelLoader. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...