Results 1 to 12 of 12

Thread: Trading textures (models): SPQR to EB

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Questor of AI revenue. Member The Errant's Avatar
    Join Date
    Feb 2007
    Location
    Limbo. Aka. the Empty Hold.
    Posts
    378

    Default Re: Trading textures (models): SPQR to EB

    Quote Originally Posted by andrefael
    Hi again!

    So, it worked...in a kinda weird way..hehe

    I managed to do it only with the general unit. Maybe it was because I could not find the Unit and Unit_Info files for the standard unit?

    Also, I had to place the all files ending .cas in the standard data folder and sub-folders, not the one from EB (EB/Data/..) When files were only in the EB folder, the game crashed and displayed a message saying that the files couldn't be found.

    I´ll try to find a way to make the standard unit to work (altough, with my huge know-how on the subject, I doubt I´ll be able to heheh)

    Anyway, here is the screen :




    Oh, one last thing... when viewed from a far distance the unit looks like..weird, I don´t know how to explain... it is like if your television got a interference or something..hheeh..

    All over all, I just happy it worked (at least, part of it).
    If any of you got any idea with these "problems"... hehe

    Thanks!!
    Good to know it worked. I wasn't sure myself. The Unit and Unit_Info files don't really matter. The only thing they do is show up of the unit info tab when you right click on a unit in the strat map. In battle they are the ones that show your unit at the bottom of the screen. If they don't exist the only difference will be that those unit cards will have the default peasant icon instead.

    Now there really isn't a good reason for it not to work. You obviously successfully ported over the model, textures and sprites correctly. Otherwise it would simply crash.

    I just noticed something though. This may be it or not. The standard Spartans have two factions owning it. Try using this version of the model entry instead and see if it still crashes:

    Code:
    type greek_hoplite_spartan_pylos
    skeleton fs_fast_o_f_spearman, fs_fast_swordsman
    indiv_range 40
    texture greek_cities, data/models_unit/textures/SPQR_INFANTRY_GREEK_HOPLITE_SPARTAN.TGA
    texture egypt, data/models_unit/textures/SPQR_INFANTRY_GREEK_HOPLITE_SPARTAN.TGA
    model_flexi_m data/models_unit/SPQR_atg_redspartan_high.cas, 8
    model_flexi_m data/models_unit/SPQR_atg_redspartan_med.cas, 15
    model_flexi_m data/models_unit/SPQR_atg_redspartan_low.cas, 30
    model_flexi data/models_unit/SPQR_atg_redspartan_lowest.cas, max
    model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_hoplite_spartan_pylos_sprite1.s pr
    model_sprite egypt, 60.0, data/sprites/greek_cities_greek_hoplite_spartan_pylos_sprite1.s pr
    model_tri 400, 0.5f, 0.5f, 0.5f
    Oh. About the distance thing. The last entry in model the model_tri determines the range at which the unit is displayed more accurately. Try changing the first number from 400 to 700 and take a look if it improves on anything.

    Apart from that I don't know what to tell you. The Scriptorium should have better and more detailed instructions on how to port over units from one mod to another. Check it out.

    Apart from that. Good Luck! And enjoy your fancy new Spartans.
    Last edited by The Errant; 09-06-2007 at 21:09.

    "If you listen, carefully. You can hear the Gods laughing."

    Last words of Emperor Commodus. From "The Fall of the Roman Empire".

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO