Author Topic: FH2 Modding Q&A  (Read 143758 times)

Offline Stubbfan

  • Developer
  • ******
  • Posts: 523
    • View Profile
Re: FH2 Modding Q&A
« Reply #855 on: 11-02-2016, 09:02:45 »
Hey again... As I was reworking my map and placing my object spawners, I noticed that the machine guns aren't in the right position... For the Axis team, I have an mg15 placed on a small wall by its bipod.  When I switch to the Allied team with a Vickers bipod, the bipod is not on the wall and it's like the mg is in mid air...

Many weapons are like that. I usually always set up 2 different object spawners if i want different teams to have different equipment. Often though in defensive positions i'd leave the same MG for both teams.

Offline pheeph

  • Jr. Member
  • **
  • Posts: 173
    • View Profile
Re: FH2 Modding Q&A
« Reply #856 on: 13-02-2016, 18:02:32 »
Umm, what happened to the weapons kits?  I was trying to create object spawners for those, but they're not there.

Offline Fragmentality

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: FH2 Modding Q&A
« Reply #857 on: 18-02-2016, 17:02:44 »
I have BF2editor installed for standalone PR, so I wonder if it's somehow possible to use that editor for FH2? It doesn't let me install it twice in different folders.

Offline Stubbfan

  • Developer
  • ******
  • Posts: 523
    • View Profile
Re: FH2 Modding Q&A
« Reply #858 on: 18-02-2016, 18:02:13 »
You can just copy the bfeditor folder from your PR installation to your bf2 installation. I have atleast 3 different editors in different locations.

Offline Fragmentality

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: FH2 Modding Q&A
« Reply #859 on: 18-02-2016, 21:02:42 »
You can just copy the bfeditor folder from your PR installation to your bf2 installation. I have atleast 3 different editors in different locations.

That causes a crash without an error prompt. I guess I'm missing some crucial file, but not sure which.

E: Now I'm getting a prompt "DirectX version 9.0c or higher is required to run. Please install DX9c and try again." I haven't overwritten any files yet as I'm afraid I'll have to reinstall BF2 if something goes wrong.
« Last Edit: 18-02-2016, 21:02:40 by Fragmentality »

Offline Stubbfan

  • Developer
  • ******
  • Posts: 523
    • View Profile
Re: FH2 Modding Q&A
« Reply #860 on: 18-02-2016, 22:02:26 »
Be sure to run it as administrator

Offline Tiku-Orava

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: FH2 Modding Q&A
« Reply #861 on: 19-02-2016, 14:02:32 »
Be sure to run it as administrator

It's not working. I'll just delete the previous installation and reinstall it to the BF2 folder, since I'm not really needing it right now with PR. Thanks for helping, though. :)

E: Wait, what is this? I was trying to recover my previous account with no success, so I had to make a new one. And suddenly my browser remembers it? .___.
« Last Edit: 19-02-2016, 14:02:06 by Tiku-Orava »

Offline pheeph

  • Jr. Member
  • **
  • Posts: 173
    • View Profile
Re: FH2 Modding Q&A
« Reply #862 on: 02-03-2016, 08:03:51 »
Since I haven't packed my map in such a long time, how do I use the new map-packing tool in python?

Offline Stubbfan

  • Developer
  • ******
  • Posts: 523
    • View Profile
Re: FH2 Modding Q&A
« Reply #863 on: 03-03-2016, 09:03:33 »
Should just be a matter of running pack-map.py through python, and type in which map to pack.

Offline pheeph

  • Jr. Member
  • **
  • Posts: 173
    • View Profile
Re: FH2 Modding Q&A
« Reply #864 on: 05-03-2016, 06:03:46 »
I'm still new to this python stuff... I don't exactly know where to begin... Do I just activate the Python shell program and type the .py file with the map?  Or do I use the command line for that?

Offline Stubbfan

  • Developer
  • ******
  • Posts: 523
    • View Profile
Re: FH2 Modding Q&A
« Reply #865 on: 05-03-2016, 17:03:39 »
Command line 'python.exe pack-map.py' or just have windows open python.exe when clicking .py files in explorer.

Offline pheeph

  • Jr. Member
  • **
  • Posts: 173
    • View Profile
Re: FH2 Modding Q&A
« Reply #866 on: 06-03-2016, 23:03:00 »
Okay, I activated it with python, they tell me which map to pack.  When I type in "Boot_Camp_1", the program couldn't find it...

Offline Stubbfan

  • Developer
  • ******
  • Posts: 523
    • View Profile
Re: FH2 Modding Q&A
« Reply #867 on: 07-03-2016, 08:03:57 »
And that is the exact name of the folder? And you have a file called boot_camp_1.desc in your info folder?

Also generally stay away from capital letters in mapnames.

Offline pheeph

  • Jr. Member
  • **
  • Posts: 173
    • View Profile
Re: FH2 Modding Q&A
« Reply #868 on: 08-03-2016, 07:03:05 »
Yes that's the name of the folder.  The boot_camp_1.desc is in the info folder.

So, I should lower case the map name and .desc file?

Offline Ivancic1941

  • Jr. Member
  • **
  • Posts: 1.072
    • View Profile
Re: FH2 Modding Q&A
« Reply #869 on: 08-03-2016, 07:03:16 »
You can rename your map with LevelRenamer on page before on this tread
Floppy Wardisc or Floppy Wierdbear