Jump to content


Photo

The Bats Coding Questions


  • Please log in to reply
41 replies to this topic

#1 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 04 July 2009 - 11:31 PM

Just like several others I opened this topic considering I have several questions, okay, first or fourth because of the other three questions I asked, when I added a horde of dwarves (With Gimli's animations) to the Elven faction in the Elven Alliance mod, there were a horde of Gimlis which was supposed to happen but when I replaced the skin with one of the dwarven skins from the website you can no longer see the dwarves, they are recruitable and they all come out, but you just don't see them, only the health bars when you select them. I also made a asset.dat for the modified Elven Alliance so I honestly don't know what the problem is, can anyone help me, thanks!

Edited by The Lord Of The Bats, 04 July 2009 - 11:32 PM.


#2 Bereneth Túrien

Bereneth Túrien

    Ni degilbor

  • Members
  • 414 posts
  • Location:Michigan, USA
  • Projects:Working on my own mod.
  •  Former advisor.

Posted 05 July 2009 - 12:52 AM

It seems that for some reason your asset.dat is either not being read or the new skin files are in the wrong place.

For the record I'd like to state that the same thing has happened to me; I just haven't been bothered to try to fix it yet. If I do find a solution I'll let you know.

Edited by Arborlon Elf, 05 July 2009 - 12:53 AM.

I used to be {AE}Manveru, if that rings a bell.


#3 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 05 July 2009 - 03:28 AM

Thanks, and I'll check to see if my files are in the right place but I don't really know where the right place is considering I followed the tutorial on the website and it didn't work.

#4 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 06 July 2009 - 02:10 AM

Okay I got them working, they're selectable, but when I click on them and move the cursor to an enemy, it just shows that they can't attack or move or anything, so the question is, why don't they attack, thanks for any help.

#5 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 06 July 2009 - 03:50 AM

Alright, sorry, I got them working and for the Elf (user) I just used another set of dwarves from somewhere else so I couldn't find the reason it wasn't woking, sorry. Also, I have another problem though, when the axethrowers attack, they din't really actually attack, they just go for their axe but don't actually throw it, could anyone help me, thanks.

#6 Bereneth Túrien

Bereneth Túrien

    Ni degilbor

  • Members
  • 414 posts
  • Location:Michigan, USA
  • Projects:Working on my own mod.
  •  Former advisor.

Posted 06 July 2009 - 11:47 AM

Two issues came to mind right away:
1) Are the animations properly configured?
2) Is the projectile properly modeled, skinned, and in asset.dat? (Won't be a problem if you're using Gimli's projectile)
3) Are you using Gimli's specialability or did you make this their normal attack?

If #1 is the problem, damage will still be taken, but the animation won't show. With #2, the animations will work fine, but the axe will be just as invisible as the units used to be. With #3, if you used Gimli's power, that is a hero power, and while I don't know too much about it, I'm pretty sure it's not too easy to just port it over to a unit.


For the record I'd like to state that the same thing has happened to me; I just haven't been bothered to try to fix it yet. If I do find a solution I'll let you know.

Oh, and before I forget, this was a problem because I used Sy's Asset Builder instead of EA's. Always use EA's asset builder.

Edited by Arborlon Elf, 06 July 2009 - 11:50 AM.

I used to be {AE}Manveru, if that rings a bell.


#7 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 13 July 2009 - 02:33 AM

Thanks Arborlon Elf, it was greatly appreciated. Now I have another question, after giving World of Power and Industry to Saruman, the Industry power for him shows the glowing red smoke around each resource collector but just doesn't take affect (The amount of resources collected is still the same from when there weren't any Industry) and also, after completing all this, every few times that Saruman attacks an enemy, two Sarumans will appear attacking, for example, each of the two Sarumans will have a different type of attack considering there are more than one way of each hero in the game to attack. Can someone just point me in the right direction or tell me what's wrong. Thanks for your help.

#8 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 22 July 2009 - 02:33 AM

Hey, another question again, here it goes, I bought BFME2 long ago but it didn't work (Because of the graphics card) so I continued to play the first one, and tried modding it to match to the second one, and now I just want to take the walls of Isengard from the second one and place it around Isengard's base, have it ready made before starting the skirmish, basically making a new castle for them, but is there any way of placing them into worldbuilder of the first one? Thanks for any help.

Edited by The Lord Of The Bats, 22 July 2009 - 02:34 AM.


#9 Bereneth Túrien

Bereneth Túrien

    Ni degilbor

  • Members
  • 414 posts
  • Location:Michigan, USA
  • Projects:Working on my own mod.
  •  Former advisor.

Posted 22 July 2009 - 02:31 PM

Try this tutorial.

I used to be {AE}Manveru, if that rings a bell.


#10 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 22 July 2009 - 07:56 PM

Oh wow, I did not see that, thanks.

#11 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 23 July 2009 - 12:13 AM

Yeah, it didn't work, whenever I open worldbuilder, everything is fine until the screen for it pops up and just closes, it doesn't load or anything, I did the "A" and "_" method and also created the asset.dat but I always end with the same result. Does the .big file have to only have the models or is it because the models are from the second one. Thanks for any help.

#12 The Shadow

The Shadow
  • Members
  • 6 posts

Posted 23 July 2009 - 12:49 AM

It's probably because the stuff is from BFME2. BFME2 stuff generally doesn't work too well in BFME1.

#13 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 23 July 2009 - 01:26 AM

The article is only meant for the first one though.

#14 Bereneth Túrien

Bereneth Túrien

    Ni degilbor

  • Members
  • 414 posts
  • Location:Michigan, USA
  • Projects:Working on my own mod.
  •  Former advisor.

Posted 23 July 2009 - 12:53 PM

It's because the models are from BFME2. The article works fine, but you'd need to create the objects with your own models and skins.

I used to be {AE}Manveru, if that rings a bell.


#15 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 23 July 2009 - 03:20 PM

Alright, I guess I'll start from scratch, thanks.

#16 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 10 August 2009 - 03:34 AM

Okay, I have another question once again, so if anyone is able to help, it would be greatly appreciated. For the camera system tutorial on the site, it stated that it is suitable for BFME1 and on one of the forum threads around here, but do you do the exact samething as you do if you were modding the camera system into the second game, (Do EXACTLY what the tutorial says)? 'Cause I tried that and I always receive a gamecrash in the opening of the game (Not a skirmish) about the behaviour. Thanks for any help that is given.

#17 Rob38

Rob38

    Believer of Hope

  • Hosted
  • 3,567 posts
  • Location:USA
  • Projects:Helm's Deep Last Hope
  •  One who is not afraid of new challenges

Posted 11 August 2009 - 03:02 AM

The camers system can work in all three games. What does the crash say?

signature_group1.gif

 

16821.png


#18 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 11 August 2009 - 04:35 PM

Unknown block 'Behavior'.

Error parsing INI block 'Behavior' in file 'Data\INI\Object\system\system\.ini'
5 addresses:
(unknown)(0): game.dat+8961088 Debug::PostStaticInit+3296
(unknown)(0): game.dat+502829 StringBase<char>::startsWith+193933
(unknown)(0): game.dat+521227 StringBase<char>::startsWith+212331
(unknown)(0): game.dat+10449993 Xfer::operator==+133593
(unknown)(0): kernel32.dll+94183 RegisterWaitForInputIdle+73

Because of the severity of this error the game will now exit.


I know what file to look in (system.ini) but I don't really know what the problem with the behavior is. Thanks for helping.

#19 Rob38

Rob38

    Believer of Hope

  • Hosted
  • 3,567 posts
  • Location:USA
  • Projects:Helm's Deep Last Hope
  •  One who is not afraid of new challenges

Posted 11 August 2009 - 08:50 PM

Hmmm... the only thing I can think of is that you have them in the wrong place or forgot an "End" somewhere. Where did you put the behaviors?

signature_group1.gif

 

16821.png


#20 The Lord Of The Bats

The Lord Of The Bats
  • Members
  • 73 posts

Posted 11 August 2009 - 10:48 PM

I put the behaviors in Data\INI\Object\system\system\.ini.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users