Joined: 25 Jan 2007 Location: Maastricht, The Netherlands
Posted: Sun Jan 20, 2008 5:50 pm Post subject:
What did i do wrong?
Subject description: i put some modding code into a Bay of pigs remake.. and now i get internal errors
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Sun Jan 20, 2008 6:08 pm Post subject:
Are you modding RA2 or YR? If it's YR, you don't need Primary=AlliedOccupyW and Secondary=SovietOccupyW in your codes. BTW, if you want those buildings to be occupied, why do you have CanBeOccupied=no?
I suggest looking trough your codes a bit better, and comparing them to civilian buildings coded by WW... QUICK_EDIT
Joined: 25 Jan 2007 Location: Maastricht, The Netherlands
Posted: Thu Jan 31, 2008 9:01 am Post subject:
By the way, Vladimir's Command ship doesn't use his missiles anymore, only the torpedos... The code is still in the first post. Once again: what am i doing wrong?
And yes, even if i tell it to attack land units (like the enemy construction yard) he tries to fire torpedos, which of course explode when they hit the shore. :/ _________________
Do you want it to fire missiles at the ground units? If so, you have to add the missile code as the secondary, along with Spawns, etc.
Also, look at the NavalTargeting= code it most likely needs to be 6, but I'm not exactly sure, as I can't look at it ATM. It will tell you what number you need at the end of the, "this code does this" list just above the start of the infantry. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum