Jump to content


Photo

Adding, using and replacing unit models


  • Please log in to reply
55 replies to this topic

#1 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 11 March 2015 - 04:35 PM

I wanted to transfer BOTTA mod's Agandaur to Edain mod. So I created a new asset.dat, adding his textures and w3d to the art. Then I added his ini file in _edaindata.ini, but Worldbuilder and the game crashed. I wondered if there was something wrong with the model being added to the game. So I tried replacing the Witchking's model and texture with Agandaur's. Then the Witchking appeared invisible.
1.So can anyone help me out? Should I create a new ini file step by step or something else to add Agandaur to Edain Mod?
2.And, in case I want to replace models and/or textures, how to do it without it appearing invisible ingame?

#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 11 March 2015 - 05:31 PM

The crash does not give an error?

Does it crash ingame?

If so you might be missing a specialpower definition somewhere :p


Ridder Geel

#3 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 11 March 2015 - 05:35 PM

Specialpower definition? A dump question, but what is that? And how does it refer to models and textures?

#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 11 March 2015 - 05:38 PM

Well that most likely something in a SpecialPower behavior in his INI file, you can't simply copy and paste a hero from one mod to another and expect it to work just like that :D


Ridder Geel

#5 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 11 March 2015 - 06:29 PM

Ok i will look into the Specialpower thing. But, when i replaced the Witchking's model and textures with those of agandaur, why does the Witchking appear invisible in WB and ingame?

#6 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 11 March 2015 - 07:20 PM

Well did you make an asset.dat? Also make sure you have the right skeleton name and model name in the ini :p


Ridder Geel

#7 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 11 March 2015 - 07:33 PM

Yes i copied over the name of agandaur's model so it is right. And, do i need to create new asset.dat when replacing a model with another? Also, Which parameter refers to the skeleton?

#8 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 12 March 2015 - 08:42 AM

Well the Skeleton line in the code usually refers to the skeleton, but yes most importantly you need to make a new asset.dat when making changes like this :p


Ridder Geel

#9 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 12 March 2015 - 10:41 AM

I created the asset.dat, adding agandaur's models and textures, and then replaced the model name in the Witchking's ini file with the name of agandaur's model. He showed invisible ingame again. Any ideas?

#10 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 12 March 2015 - 12:47 PM

Hm... Strange...

Post your code i suppose and the names of the files and all that :p


Ridder Geel

#11 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 12 March 2015 - 04:34 PM

The name of the model of the Witchking is kuanghk_skn. The name of Agandaur's model is kuagndr_skn.

All I did to edit the angmarwitchking.ini was to edit all the lines that contained kuanghk_skn by replacing that name with kuagndr_skn.

Then the Witchking appeared invisible in WB and in the game. Am I missing something? Or have I done something wrong?



#12 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 12 March 2015 - 05:02 PM

No that sounds about right...

The model itself, did it come with a skeleton? or what is the ini file used by the mod from which you got it? :p


Ridder Geel

#13 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 12 March 2015 - 08:18 PM

The skeleton name in the Witchking's ini file is the same as that used in agandaur's ini file.

#14 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 12 March 2015 - 10:09 PM

Hm.. ok this is way too odd, maybe upload files here so I can see if i can get it to work, we must be missing something quite trivial here :p

I think it's the asset.dat thats incorrect, but now im not so sure :xd:


Ridder Geel

#15 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 16 March 2015 - 02:57 PM

This is the Witchking's original ini:

Attached File  angmarwitchking.ini   154.24KB   131 downloads

This is Agandaur's ini:

Attached File  agandaur.ini   33.2KB   139 downloads

And this is the edited Witchking's ini file:

Attached File  angmarwitchking2.ini   154.24KB   170 downloads



#16 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 16 March 2015 - 02:59 PM

Hm... Try removing the Skeleton line if you haven't done that yet :p


Ridder Geel

#17 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 16 March 2015 - 03:48 PM

ok ill try that.



#18 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 16 March 2015 - 04:17 PM

I removed every "Skeleton" part in the Witchking's ini file, but he still stays invisible...



#19 ThorinOakenshield2

ThorinOakenshield2
  • Members
  • 205 posts
  • Location:London, Great Britain

Posted 17 March 2015 - 04:11 PM

So, what should I do now? I have no idea how to fix this.

#20 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 17 March 2015 - 08:20 PM

Can you upload the w3d that you are trying to use? :)


Ridder Geel




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users