Jump to content


Photo

Annoying Asset Problems


  • Please log in to reply
10 replies to this topic

#1 Redhorn Pass

Redhorn Pass

    Also known as Fohel

  • Members
  • 135 posts
  • Projects:The Beorn Mod
  •  An INI coder

Posted 10 October 2008 - 03:20 PM

I have been useing the Adding Morthond Bowmen into a mod tutorial in an attempt to create an asset file for my new textures and models. My problem is that my textures and models still won't show in the game. :sad2:

I am trying to create assets for the following files:

Image Files (Both are tga files):

art\compiledtextures\eu\eubtlshipw_d_update
art\compiledtextures\eu\EUBtlShipW_UpdateE

Model Files:

art\w3d\pr\PRDARKGREY13

The two texture files are for a different object from the model file.



When I created the asset I got this error in the error document:

Internal hierarchy is named ICEBERG; Could not get info for art\w3d\pr\prdarkgrey13.w3d


What does this mean and could this error have stopped have caused the texture files to also not work? :mellow:

This is print screen of my asset:

Posted Image

The file locations used:

My asset file is stored in a big file which I saved in:
C:\Documents and Settings\[my user name]\Application Data\My The Lord of the Rings, The Rise of the Witch-king Files

and I run the game using a shortcut "C:\Program Files\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\lotrbfme2ep1.exe" -mod "C:\Documents and Settings\[my user name]\Application Data\My The Lord of the Rings, The Rise of the Witch-king Files\Inn"

Does anyone know what my problem might be and how to fix it?

THANKS!! :) :mellow:
Posted Image

Posted Image

#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 10 October 2008 - 03:40 PM

what assetbuilder do you use?
Ridder Geel

#3 Redhorn Pass

Redhorn Pass

    Also known as Fohel

  • Members
  • 135 posts
  • Projects:The Beorn Mod
  •  An INI coder

Posted 10 October 2008 - 04:23 PM

what assetbuilder do you use?


I am using the AssetCacheBuilder which came as part of the SDK provided by EA. It creates the asset by running a bat file rather than opening a programe.

(I just used Sy's asset builder so that I could get a screenshot of the completed asset)
Posted Image

Posted Image

#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 10 October 2008 - 04:51 PM

Ah the problem i think i know :)

Before running EA's assetbuilder make sure to rename:
art\compiledtextures\eu\eubtlshipw_d_update.tga
art\compiledtextures\eu\EUBtlShipW_UpdateE.tga
to
art\textures\eu\eubtlshipw_d_update.tga
art\textures\eu\EUBtlShipW_UpdateE.tga

Then run it and after it has made the asset.dat you can rename it back :mellow:
Ridder Geel

#5 TheWickedOne

TheWickedOne

    The Unforgivable One

  • Project Team
  • 422 posts
  • Location:U.S.A
  • Projects:View "About Me" Page
  •  Game Coder

Posted 10 October 2008 - 05:45 PM

Why don't you just use Sy's asset Builder, it works and it is easy.

#6 Redhorn Pass

Redhorn Pass

    Also known as Fohel

  • Members
  • 135 posts
  • Projects:The Beorn Mod
  •  An INI coder

Posted 12 October 2008 - 03:38 PM

Ah the problem i think i know

Before running EA's assetbuilder make sure to rename:
art\compiledtextures\eu\eubtlshipw_d_update.tga
art\compiledtextures\eu\EUBtlShipW_UpdateE.tga
to
art\textures\eu\eubtlshipw_d_update.tga
art\textures\eu\EUBtlShipW_UpdateE.tga

Then run it and after it has made the asset.dat you can rename it back


I managed to get the textures to appear by renaming the compiled textures folder but not luck with the models.

Why don't you just use Sy's asset Builder, it works and it is easy.


I tried Sy's asset Builder and it too gets the textures to appear but not the model. When I click on the view asset button I can see that the model has been included in the asset but the model is still invisible in game.

I think the model may have its texture attached to the model. Could this be why the asset programes don't like it? If so is there any way to sperate the texture and the model? :crazed:


THANKS for helping :shiftee:
Posted Image

Posted Image

#7 Pixel

Pixel

  • Hosted
  • 2,451 posts
  • Location:London, UK

Posted 12 October 2008 - 04:04 PM

The texture should be attached to the model. Have you tried re-creating the model?

#8 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 12 October 2008 - 04:30 PM

Are you using the correct model (in the code)?
And as Flameguard asked:

Have you tried re-creating the model?


Ridder Geel

#9 dethwaker3

dethwaker3

    Not Smart

  • Members
  • 559 posts
  • Location:At Home :D
  • Projects:New Heros and Units Mod
  •  Unwanted

Posted 13 October 2008 - 02:41 AM

Just make a notepad and add this and name it: myassets.bat or watever u want but u need to add .bat no matter what...It worked for me didn't get errors :p

[codebox]@move art\compiledtextures art\textures
@assetcachebuilder.exe
@move art\textures art\compiledtextures
@pause[/codebox]

Edited by dethwaker3, 13 October 2008 - 02:41 AM.

Done with my mod: Go here to download: http://bfme2.heaveng....php?fileid=667
or go here http://forums.revora...showtopic=67026 for some screenshot


Posted Image<---- Click here for download!


Posted Image
Click here to level up my card!

#10 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 13 October 2008 - 08:11 AM

Eh would that rename it for you and rename back and run program so that it works correctly without you having to do much extra?! :p
:D Cool :p
Ridder Geel

#11 Redhorn Pass

Redhorn Pass

    Also known as Fohel

  • Members
  • 135 posts
  • Projects:The Beorn Mod
  •  An INI coder

Posted 17 October 2008 - 01:21 PM

Eh would that rename it for you and rename back and run program so that it works correctly without you having to do much extra?! :mellow:
:blink: Cool ;)



I have got it working. The models wern't working becuase I wasn't putting the asosiated texture into my asset and changing the file location for my textures fixed that problem.

Thanks for helping! ;)
Posted Image

Posted Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users