Page 1 of 4

Need help with custom objects in map

Posted: Thu Aug 25, 2011 4:32 am
by Psycho
Hello.

I'm new to this forum. I have been mapping for different games since the Quake 1 era.
Mostly I made maps for different RTS games as C&C generals and Battle for middle earth.

Also did a couple of simple test maps for BF1942 and BF2.

I also a member of a group that have been arranging LAN partys, starting 10 years ago.

So now we old LAN'ers is thinking about to have a celebration LAN. And off course, we'r going to play BF1942.

I have made a special map, that is based on the thinking when you make a RTS map.(won't go into detail on that just now).

However, The map is supposed to run on BF1942 original, with out mods or xpacks.

And it does, but I need some additional vehichles to reach that level of "battlefield feeling" I'm aming at.

I have successfully imported the easy ones as the JU88A and the Flettner. But those file sets was prepared so I only had to do some simple editing to get them to work.

According to my idea and thoughts about the map I also need to add:

Focke Wulf 190
messerschmitt Me-262A "Schwalbe"
Junkers Ju-52 "Tante Ju"


Hawker Typhoon (preferably with rockets if possible) (Finished)
Douglas Dakota DC-3 / C-47 Skystrain (Finished)


The only "place" I can find those models is in the old BF1942 mod Forgotten Hope.

I have tried to follow some of the few tutorials I could find, but with no success.
It seems that I lack some knowledge or/and capacity to grasp all the angles.

So now I'm wondering if someone maybe have those units in prepared file sets or would be intrested in helping me get those units into the map.

I would be happy to share credits on the map.

Re: Need help with custom objects in map

Posted: Thu Aug 25, 2011 5:53 am
by tekk
I would like to help you out with this but im going to be out of town for the next few weeks , dont know how soon you would need this but if your still hanging in a few weeks I will check back up on this thread for you.

For now thou a few tips for importing vehicles to a MAP based mod

Import the needed files from
-Object.rfa
-StandardMesh.rfa
-Texture.rfa
-Animations.rfa
-Sound.rfa

Importing vanilla 42 vehicles is easier so if you follow how they did it with the JU-88 on Battle of Britain than you should be good as thats a good guide. If you believe that you have all the files and you go to test it and get a CTD then chances are its the Sound coding, For that just post in the forums and im sure one of the fine gentleman here will gladly help you out.

Goodluck.

Re: Need help with custom objects in map

Posted: Thu Aug 25, 2011 6:27 am
by Psycho
Oh damn, the "animations.rfa" I didn't know about.

Now It is very specific objects I'm after so I guess those are not from vanilla bf1942.

I would be happy to wait a couple of weeks to get some help. In the mean time I can concentrate on the maps tactical layout and other stuff.

Another matter, I noticed that the JU88A's physics wasen't what I expected from being used to fly the B17. Especially in the roll axis and sider rudder. The roll seems to have to little inertia for that relativly big plane. And the side rudder was to strong and fast in responce.
Though its not that important for this map, I think it is something to think about.

Is there any similar object as the PAK40 but for the other faction?

Re: Need help with custom objects in map

Posted: Thu Aug 25, 2011 11:04 am
by fo0k
Welcome to the site Psycho! all your questions will get answered for sure.. when life permits :/

In terms of reference to look through I'd advise looking at the basic tutorials (link up top right) and also having a dip/search into the seversidemodding backup (link on front page). That at least allows you some reading material until theres a good moment to help out with your questions. It's fairly detailed so not a quick response :)

Re: Need help with custom objects in map

Posted: Fri Aug 26, 2011 4:29 am
by Psycho
fo0k wrote:Welcome to the site Psycho! all your questions will get answered for sure.. when life permits :/

In terms of reference to look through I'd advise looking at the basic tutorials (link up top right) and also having a dip/search into the seversidemodding backup (link on front page). That at least allows you some reading material until theres a good moment to help out with your questions. It's fairly detailed so not a quick response :)
Thanks very much:).

I'v been reading alot this night. This tutorial was the best in explaining how it works of them I read . http://battlefieldmodding.com/ssm/phpBB ... 0d8c708cf0 But I'm still a little bit lost.

I have been going through the files för the FH Hawker Tempest. And I think I understand somewhat how it works. And what I can see, so is it the custom sounds and the weapons that need to be fixed. What I really need at this point Is some sort of checklist over what I have to do.

For example I found a refence to "ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_plane_16x16.tga" in ..objects\objects.con.

Is that refering to the "minimap_icon_plane_16x16.dds"? Because I cant find minimap_icon_plane_16x16.tga anywhere in the FH folders.

Posted: Fri Aug 26, 2011 9:32 am
by freddy
Hi. I usually imported objects manually but there is some program for it in the mdt package, good tip is to rem out everything with sound first and concentrate on getting the wehicle to work ok, because if there is the slightest fault with the soundfiles the game crashes.

There is three sound definitions, low, mid and high, nowadays i think everyone can run the game with high so you can save some work and space in skipping the mid/low. however if you do the game will crash if they try to start it with mid/low sounds.

Importing the weapons isnt very different to import vehicles, it can be a bit tricky if they use a lot of mod specific materials/damage settings and such. In the latest map i did i made it simple and used some bullets thats already exists in the bf42game on some weapons, then tweaked the fire rate to balance damage if needed. if i remember right you can do this with sounds to if you want to save some time.

hope this helps some, good luck :)

Re:

Posted: Fri Aug 26, 2011 1:55 pm
by Psycho
freddy wrote:Hi. I usually imported objects manually but there is some program for it in the mdt package, good tip is to rem out everything with sound first and concentrate on getting the wehicle to work ok, because if there is the slightest fault with the soundfiles the game crashes.

There is three sound definitions, low, mid and high, nowadays i think everyone can run the game with high so you can save some work and space in skipping the mid/low. however if you do the game will crash if they try to start it with mid/low sounds.

Importing the weapons isnt very different to import vehicles, it can be a bit tricky if they use a lot of mod specific materials/damage settings and such. In the latest map i did i made it simple and used some bullets thats already exists in the bf42game on some weapons, then tweaked the fire rate to balance damage if needed. if i remember right you can do this with sounds to if you want to save some time.

hope this helps some, good luck :)

I'm greatfull for all tips:).

I think I was thinking just what you wrote. Just replace all custom sounds for the Typhoon with the spitfire for example. Engine and guns is no problem I think. But as the typhoon have rockets instead for bombs I guess it will be a little harder.

I will try to rem all stuff that doesent usually belong in bf1942. And see what happens.

Posted: Fri Aug 26, 2011 6:39 pm
by freddy
i used the KatyushaRocket once



easy to add some code to give them a flying start

Code: Select all

ObjectTemplate.Active KatyushaRocket
objecttemplate.forwardmod 80

Re: Need help with custom objects in map

Posted: Fri Aug 26, 2011 8:56 pm
by Psycho
hehe KatyushaRockets is more powerfull then the flettners rockets?

Tried to rem out sound stuff, and as result, I can't even load the map into battlecraft. It says that files are missing.

Re: Need help with custom objects in map

Posted: Tue Aug 30, 2011 2:31 pm
by Psycho
A little update on my progress.

I now got the hawker typhoon working sort of in a ordinary bf1942 map.

I have got everything working properly except for engine sound,weapons and damage system.

I replaced the typhoon gun sound with the machinegun sound (from the spitfire), so that part work now.
But I can't get it to fire bullits yet.

The problem I'm focusing on now is the engine sound.
What I can see I have made all necessary changes in the con and the ssc files. (been comparing with other objects as JU88 and spitfire).
The paths are correct, and the wav files are in their right places. but still no engine sound.

Its strange, because I did the same procedure for the guns, and that worked like a charm.