Page 2 of 3

Re: Interesting question. Help to understand!

Posted: Mon Jan 06, 2014 3:38 pm
by correctmushroom2013
OMG Google... :faint: :funny2:

EDIT
Unfortunately it didn't help me. You do not understand my problem.
All vehicles are present in the game initially, work perfectly.
I can `t install the following: AT-AP, dwarfspider and UT-AT.

These vehicles made ​​by other moderators.
The question is how to put them into the game, and make workers.
I used all the methods.
When added to the modified side "dc" ReadDataFile("dc:SIDE\\rep.lvl", map crash without loading.

Any help?

Double posting is against the RULES; please EDIT your post instead -Staff

Re: Interesting question. Help to understand!

Posted: Mon Jan 06, 2014 3:54 pm
by Cleb
Did you add walkers to your lua? In the AT AP read me it specifically states to add walkers, which is also needed for every other walker in the game.
readme wrote:As well you need to change second number in this line to the number of walkers you intend to have in your map

AddWalkerType(1,3) --1x2 (1 pair of legs)
This spot should already be in your lua file under the spot where you load the sides. Always read the readme.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 6:41 am
by Anakin
correctmushroom2013 wrote:OMG Google... :faint: :funny2:

EDIT
Unfortunately it didn't help me. You do not understand my problem.
All vehicles are present in the game initially, work perfectly.
I can `t install the following: AT-AP, dwarfspider and UT-AT.

These vehicles made ​​by other moderators.
The question is how to put them into the game, and make workers.
I used all the methods.
When added to the modified side "dc" ReadDataFile("dc:SIDE\\rep.lvl", map crash without loading.

Any help?

Double posting is against the RULES; please EDIT your post instead -Staff
Ok i think i now understand you.

you know how to add stock vehicles to your map, but you cannot creat a new side to load your custom vehicle is that right??


so look in the faq for how to add custom sides. The vehicle is in the broadest sense also a unit.

so lets say you make a new lvl file for your vehicles. i'll call it vhc here.

so you create. folder called vhc in your side folder. copy all the vehicles folder (msh, odf, efect,...) in there. create a req file called vhc.req in the vhc folder. (make sure it's not vhc.req.txt). copy the basic from rep.req an remove all vehicles and units, and add your custom vehicles. than you create a new folder called req and create there req files for the vehicles, in the same way they are there for the rep. now you need to go to build/side copy the rep folder, delete all in the pc folder and edit the munge.bat and clean.bat to munge your side. replace the rep with vhc.

than add in your lua
ReadDataFile("dc:vhc.lvl",
"my_vehicles_req_name")

munge and it should do.

for all this are detailed tutorials here on gt. search for Custom sides

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 8:49 am
by JimmyAngler
And to place it in your map go into ZE and select the objects tab and then go to get an odf. You have to get the main mesh from the sides folder, and then place it in your map like any other object.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 9:55 am
by correctmushroom2013
I did everything as you said. No vehicle on the map.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 10:06 am
by JimmyAngler
when you munge what options do you have checked? under sides you should have your custom side marked. If the vehicles are walkers you need to add their legs to the lua as well.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 10:08 am
by correctmushroom2013
I'm trying to add UT-AT.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 10:16 am
by JimmyAngler
Well if it has legs you have to add them to the lua's legs part. It might be a spawning vehicle too, If it is add that information as well. It's the same concept as the at-at. legs and spawning.
Hidden/Spoiler:
I can't tell what the UT-AT has, legs or wheel things. :D

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 10:28 am
by correctmushroom2013
Then why my map crashes, if lua a line ReadDataFile ("dc:SIDE \ \ rep.lvl", existents "dc:".

UT-AT has no legs and wheels.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 10:35 am
by JimmyAngler
the dc: tells Battlefront 2 to look in your addon folder for a rep.lvl check and see If one is there.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 10:47 am
by correctmushroom2013
So folder custom side should be placed in the folder addon? Instead of folders sides.
In 3-letter name or my map.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 10:53 am
by JimmyAngler
inside this location : C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon\(3-letter-map-name)\data\_LVL_PC\SIDE

There should be a rep.lvl file

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 11:05 am
by correctmushroom2013
All the same, how do I add custom vehicles on the map? :bowdown:

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 11:26 am
by JimmyAngler
We have been telling you. follow Anakin's advice above.

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 12:38 pm
by correctmushroom2013
I made a custom side, and add the following vehicles: UT-AT, AT-AP, dwarfspider, Juggernaut A6.

Works only dwarfspider.
Everyone else, map crashes.
Where can I download a working version of these vehicles?

Re: Interesting question. Help to understand!

Posted: Tue Jan 07, 2014 1:23 pm
by Anakin
The versions are working. Otherwise they wouldn't be released.

So you say the dwarfspider works. So you have to fond the thing that is different to the other vehicles.

We can write the same advices again, we gave you, but i don't think this will ger you vehicle working. All we can do for you we did. Mow it's your turn to realize them.

Otherwise i'll bid farewell from thins topic.

It also would be a great idea to post an error log when you map crashes.

And before you ask, search for zeroeditor bf 2 debugger exe.

Re: Interesting question. Help to understand!

Posted: Wed Jan 08, 2014 11:20 am
by correctmushroom2013
I'm at an impasse.
Once I install the map vehicles (AT-AP, UT-AT and Juggernaut) game crashes.
This is the end! :cry:

Re: Interesting question. Help to understand!

Posted: Wed Jan 08, 2014 1:57 pm
by AceMastermind
Describe in detail everything you did with the files you downloaded.

Re: Interesting question. Help to understand!

Posted: Thu Jan 09, 2014 10:18 am
by correctmushroom2013
I created a folder custom side, and put it in her vehicle files.
Well, all added in lua.
Here is the problem. I add custom vehicles on my map.
Such as dwarfspider, MTT, AT-PT, AT-AP, UT-AT, juggernaut A6 and others.
All work, except the AT-AP, UТ-АТ and Juggernaut А6.
When I add them to the map, the game crashes.
The process of loading a map, and in the middle of an crash. :runaway:

Re: Interesting question. Help to understand!

Posted: Thu Jan 09, 2014 11:12 am
by JimmyAngler
are those vehicles spawn vehicles? If so, you might have to add that to your lua.