Results 1 to 15 of 15

Thread: how making new textures?

Hybrid View

  1. #1

    Default how making new textures?

    hi there!

    I'd like to make new textures.
    I already saw how to convert an agh into a tga file.

    but now i make Tgas becoming agh again by modifying extention and it don't work (in agh wiewer: "index is out of table")

    I'd like to know how to convert tga to agh properly.

    I also would like to know if there is a way to add skins and no replace it (perhaps there is a file with code to modify, set the number of skin from 15 to 18 for sample, I don't know)

    It should be nice to create a pack!

    thank you all, and have a nice day!

  2. #2

    Default Re: how making new textures?

    You should be able to simply place the tga files in your resoruces_override directory and start the game (make the appropriate textures\...\ subfolders for this! certain folders cause different conversion options to be used (tints, )

    If it doesn't automatically create a textures_agh\...\file.agh for each textures\...\file.tga then here are a few things you might try:

    /setpref updateAGHFiles true

    and then restart or use /purgetextures

    (you'll need this in your commands def in resources_override)
    Code:
    		//purgeTextures
    		{
    			string name = "purgeTextures"
    			string abbrev = "purgeTex"
    			string usage = "[no parameters]"
    			string description = "Purges all texture and image resources for immediate reloading."
    		}
    I'll test this out myself later after work.

  3. #3

    Default Re: how making new textures?

    OK, so if I want to create a new dragon skin, the original directory is:
    Horizons\Resources\textures_agh\characters\charact ers\dragon_u


    I create Horizons\resources_override\resources\textures_agh \characters\characters\dragon_u\clothing

    and I put in it my new textures at tga format?


    knowing that there are 15 dragon skins
    (dragon_u_sk08_head00_base.agh.Tga)
    can I call files for being the 16st skin?
    (dragon_u_sk16_head00_base.agh.Tga)
    or change the 00 to 01 to have a new map? or have I to modify code in aanother file to force the game seeing there is a new skin and raise up number?

    then, I haven't understood for /setpref updateAGHFiles true and /purgetextures, these are to enter in chat text field in the game?

    whatever, thank you for answering!

  4. #4

    Default Re: how making new textures?

    you cannot add content to the game in most cases, you can only override existing content.

    exceptions are sounds/playlists, maps, and certain properties of the interface

    so for your dragon skin, you would use the same file name as the skin you want to modify.

    / commands are used in game.

    the /purge command, as stated, would need to be added to your commands file just like /setscale

    have you tried any of this yet? There's no real reason not to experiment and see what happens. worst case is you'll need to re-patch some files.

  5. #5

    Default Re: how making new textures?

    One issue I have is that I modify the player command file and the game patches it back to the original, erasing the modification. Any way to make it ignore this?


  6. #6

    Default Re: how making new textures?

    erm... put it in resources_override?
    Quote Originally Posted by Fridlekh View Post
    (you'll need this in your commands def in resources_override)
    Code:
    		//purgeTextures
    		{
    			string name = "purgeTextures"
    			string abbrev = "purgeTex"
    			string usage = "[no parameters]"
    			string description = "Purges all texture and image resources for immediate reloading."
    		}

  7. #7

    Default Re: how making new textures?

    And where, and what name have we to give at the purgeressource def? I tried
    Horizons\resources_override\resources\definitions\ characters\dragon\dragon_u_purgeTextures.def
    and type /purgeTextures but it don't works.

  8. #8

    Default Re: how making new textures?

    Quote Originally Posted by Fridlekh View Post
    erm... put it in resources_override?
    doh. *pat self* Helps to read closely.


  9. #9

    Default Re: how making new textures?

    yea, but what about the file name?
    purgeTextures.def?

  10. #10

    Default Re: how making new textures?

    Quote Originally Posted by derkomai3523 View Post
    yea, but what about the file name?
    purgeTextures.def?
    go to resources and copy player_commands.def to resources_override and add the code at the bottom within brackets in this file.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •