Interesting question. Help to understand!

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post 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
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: Interesting question. Help to understand!

Post 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.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Interesting question. Help to understand!

Post 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
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Interesting question. Help to understand!

Post 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.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post by correctmushroom2013 »

I did everything as you said. No vehicle on the map.
Last edited by correctmushroom2013 on Tue Jan 07, 2014 10:08 am, edited 1 time in total.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Interesting question. Help to understand!

Post 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.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post by correctmushroom2013 »

I'm trying to add UT-AT.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Interesting question. Help to understand!

Post 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
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post 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.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Interesting question. Help to understand!

Post by JimmyAngler »

the dc: tells Battlefront 2 to look in your addon folder for a rep.lvl check and see If one is there.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post by correctmushroom2013 »

So folder custom side should be placed in the folder addon? Instead of folders sides.
In 3-letter name or my map.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Interesting question. Help to understand!

Post 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
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post by correctmushroom2013 »

All the same, how do I add custom vehicles on the map? :bowdown:
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Interesting question. Help to understand!

Post by JimmyAngler »

We have been telling you. follow Anakin's advice above.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post 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?
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Interesting question. Help to understand!

Post 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.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post 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:
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Interesting question. Help to understand!

Post by AceMastermind »

Describe in detail everything you did with the files you downloaded.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Interesting question. Help to understand!

Post 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:
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Interesting question. Help to understand!

Post by JimmyAngler »

are those vehicles spawn vehicles? If so, you might have to add that to your lua.
Post Reply