Apollyon Posted June 7, 2002 Share Posted June 7, 2002 Hi I was wondering if anyone can help me im making a mod and ive made several new units and i can begin a skirmish game with no problem but then within say 10 minutes emperor simply closes without any error message or anything. i cant work out whats wrong. Please any help would be greatly appreciated. :'( Quote Link to comment Share on other sites More sharing options...
Frodo Posted June 7, 2002 Share Posted June 7, 2002 what do you do when it closes out? It could be an error in one of your modifications. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 7, 2002 Share Posted June 7, 2002 eep, i hate this, when you make a lot of changes,m and it goes wrong. It will be a clash of the game engine somewhere. Either, you made a unit do something it didn't like, the units entry clashes with another copy, or maybe you accidently changed an XBF, or XAF setting, these always cause game failure. Quote Link to comment Share on other sites More sharing options...
Apollyon Posted June 8, 2002 Author Share Posted June 8, 2002 the .xaf and .xbf would be from the artini.txt yes?well im certain i did that file correctly as there was not much room for error. I havnt changed the actual .xaf and .xbf files one bit tho. Here is one of the units in question if u could just analyse this and see if there are any glaring errors I'd be much obliged.[TLFace] ///////////////////////////////////AdvancedSardaukar = TRUEMaxRange = 8 //////////////////////////////////NEW UNITHouse = TleilaxuStormDamage=10 //only damages is never picked upPrimaryBuilding = TLFleshVat UnitGroup = FromTLFleshVatUpgradedPrimaryRequired = TRUETerrain = Rock, Sand, NBRock, InfRock, RampCost = 250BuildTime = 60Stealthed = TRUESize = 1Speed = 10.0 TurnRate = 0.9 Armour = BPV, 50, InfRockHealth = 3000Infantry = trueCanBeSuppressed = TRUE//SoundSelected = Selected//SoundOrdered = OrderedViewRange = 7AiSpecial = TRUETechLevel = 1Crushable = TRUEChaosEffect = SmallChaosFXHawkEffect = SmallHawkFXTastyToWorms = FalseWormAttraction = 3TurretAttach = IXSlaveKnifeCanMoveAnyDirection = TRUEGetsHeightAdvantage = FALSECanBeDeviated = FALSECanBeRepaired = FALSEScore = 6AIThreat = 40// LEVEL 1 ----------------------------------VeterancyLevel = 4 // Score requiredExtraDamage = 90 // 50% more damage - applied to all weapons// LEVEL 2 ----------------------------------VeterancyLevel = 14ExtraArmour = 50 // Takes 50% less damageCanSelfRepair = 1 // LEVEL 3 ----------------------------------VeterancyLevel = 20CanSelfRepair = 1 // Should have 0.5?Its modeled on the IXian slave. It basiacally runs fast w/ a knife and its cloaked. Quote Link to comment Share on other sites More sharing options...
Apollyon Posted June 8, 2002 Author Share Posted June 8, 2002 The other thing is it seems to crash randomly even if i dont even build a new unit. I guess it could be the AI stuffing up when they try and build it or something like that. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 8, 2002 Share Posted June 8, 2002 Yes, if you removed or changed any other default units, that can happen. Quote Link to comment Share on other sites More sharing options...
Apollyon Posted June 8, 2002 Author Share Posted June 8, 2002 i havent changed any of the base units at allthis is really annoying meanyhow i shall endeavour to continue with the mod Quote Link to comment Share on other sites More sharing options...
nemafakei Posted June 10, 2002 Share Posted June 10, 2002 Remove all new units, then add them back in, one at a time, testing before each one. Then, you'll find the fault. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 10, 2002 Share Posted June 10, 2002 After a bad experience with Airstrike, I made the rule that I do small changes only. And check every time.If it works, make a back-up.If not, try again. Quote Link to comment Share on other sites More sharing options...
vidiware Posted June 10, 2002 Share Posted June 10, 2002 I always make 1 unit testif it work copy to last working version folder...If something goes wrong. just get the old one Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 10, 2002 Share Posted June 10, 2002 Mine too. Withen my data folder. I have every mod im working on. Each with it's own folder. Inside each is, a test folder, a working folder, and a keep folder.Ideas that haven't been tested go in test.Working files go in workingKeep folder includes workiong files at a good point. Not half way thru a unit, for example. Quote Link to comment Share on other sites More sharing options...
vidiware Posted June 10, 2002 Share Posted June 10, 2002 You have a better organization than me ;D Quote Link to comment Share on other sites More sharing options...
Apollyon Posted June 10, 2002 Author Share Posted June 10, 2002 ok i redid all the units and have got it working and so both harkonnen and ordos work but if atreides are in the game it crashes (reminds me of the problem with kwizatz haderach that means u cant play against corrino)and whats even odder is that i havnt even made any new atreides units yet! Most strange... Quote Link to comment Share on other sites More sharing options...
leech13 Posted June 10, 2002 Share Posted June 10, 2002 maybe im wrong but i dont think it can be infantry = true and aispeciali think it has to be aifoot or whatever it is for infantrybut you got it fixed so i guess im wrongwhat does aispecial do? Quote Link to comment Share on other sites More sharing options...
Frodo Posted June 10, 2002 Share Posted June 10, 2002 yeah i think it needs to be aifoot. I just checked 3 infantry units in the rules file and they had aifoot, not aispecial. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 10, 2002 Share Posted June 10, 2002 That would make sense.But, you say the game crashes playing as or against atreides? Quote Link to comment Share on other sites More sharing options...
leech13 Posted June 10, 2002 Share Posted June 10, 2002 also:1) i think that stormdmg is 5 for buildings, 10 for units and 70+ for infantry Quote Link to comment Share on other sites More sharing options...
vidiware Posted June 11, 2002 Share Posted June 11, 2002 Thats useful to knowBut why dont we do so Buildings is taken up in the air Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 11, 2002 Share Posted June 11, 2002 Not sure if the XAF will agree. But, it would look funny i agree. Quote Link to comment Share on other sites More sharing options...
nemafakei Posted June 11, 2002 Share Posted June 11, 2002 Only inf can go flying. It's an xbf sequence. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 11, 2002 Share Posted June 11, 2002 you say XBF, I say XAF, whats the dif?Thought so though. Quote Link to comment Share on other sites More sharing options...
vidiware Posted June 12, 2002 Share Posted June 12, 2002 As i understand. The xaf is the whole combination of xfbssince the art ini ueses xaf and the files are named xfb Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 12, 2002 Share Posted June 12, 2002 XAF are objects like Infantry rock, XBF are image chains, am I correct? Quote Link to comment Share on other sites More sharing options...
Adrian_Messecar Posted June 12, 2002 Share Posted June 12, 2002 The XAF files are not used (probably remnants of early versions of the program). In the Artini.txt file, it doesn't matter if it's XAF or XBF, the XBF file will be used. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 12, 2002 Share Posted June 12, 2002 XAFs are used in the map editor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.