Results 1 to 6 of 6

Thread: Adding Units and CTD, help!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member maliq's Avatar
    Join Date
    Aug 2005
    Location
    Manila, Philippines
    Posts
    9

    Default Re: Adding Units and CTD, help!

    Thanks for the quick response.Yes, I did have back-up's and "-show_err" ( It's a law to be a cool modder ).

    By the way, I cannot play the Custom Battles but in the Campaign I can go into the battle w/ any unit. It CTD in Custom battle, I can see the Unit Cards and when i launch it,CTD. Why is this the case, I was under the impresion that if I cannot run them in Custom Battle, I should not be able to run them in the Campaing.

    I only added one unit in descr_strat as a starting unit, carthaginian archers, I've removed it and still got the same CTD after 4 turns.

    I did put the original file back in to search for the error,thankfully there was no error, when i placed the units and attach it to the building, played the game, CTD after 4 or so turns.

    It seems to be something in the Campaign,how can I track it down?I also presume that it could be due to the units/building that are being built that turn,either by me or the AI.

    Would there be a compatability issue w/ the descriptions in unit and building
    descr? I just copy pasted the names on there proper queue.


  2. #2

    Default Re: Adding Units and CTD, help!

    First off....If your newly added unit is not working in custom battles, you have something wrong with it. You are probably getting the CTD in the campaign when someone builds it!

    what have you added to the files to make your new unit?

    There should be an entry in descr_model_battle, plus one in export_units. The stuff in the descriptions won't cause a CTD as long as you actually have a correct entry in each.

    Can you post back with copies of what you have added to the files for these bits to make your new unit. You really need to be able to use a new unit in a custom battle without a CTD . That will confirm that the units are not to blame and narrow things down a bit.
    Careless Orc Costs Lives!

  3. #3
    Member Member maliq's Avatar
    Join Date
    Aug 2005
    Location
    Manila, Philippines
    Posts
    9

    Default Re: Adding Units and CTD, help!

    I do not have the copy of the files right of the bat, i'll get back to you w/ those.

    But just for add info. I was using some the units from drathmod 5.3(carthage, greece, gauls etc.. ) trying to incorporate them my game. I simply copied and pasted the neccessary scripts on there associated files. I added the entries on the bottom of the neccessary files. units in decr_units, building queue, models in descr_model battle, export units aswell. I just added the info on the unit_enums.

    Thanks again.

  4. #4
    Member Member maliq's Avatar
    Join Date
    Aug 2005
    Location
    Manila, Philippines
    Posts
    9

    Default Re: Adding Units and CTD, help!

    Bwain - It seems that my back-up was somehow compromised thus i had to re-instal everything.

    Now I', trying to add those units one at a time, instead of batches and so far so good. I'm able to play them in the Custom battles now. Hopefully, there should be no more error in the Campaign Map as well. One quick question though, in model_battle i placed the pathway data>sprites> but in my data folder its data>SPRITES, is this case sensitive?

    Regretably, I was not able to find out the root of my problems. I just hope its smooth sailing from here on. Thank again for all the help!

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