[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Custom Map Crash

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sat Jun 21, 2025 12:39 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Custom Map Crash
PostPosted: Fri Oct 12, 2007 4:28 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
imve ben making a custom map i put in the ju88a and when i try to put in the RAtte from FHSW i put it just like the ju88a it crashes please i need help


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Custom Map Crash
PostPosted: Fri Oct 12, 2007 6:11 pm 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
This is probably because the Vehicle from FH includes much more than the stuff in the Objects.rfa the TExture.rfa and the Standardmesh.rfa

It contains custom materials which were made in the Mods Game.rfa, it might or might not contain custom spawn points whos spawn groups arnt defined. Its projectiles probably arnt specified either.

Other than that it could be a mistake in the Init.con or otherwords


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Custom Map Crash
PostPosted: Fri Oct 12, 2007 6:24 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
the Ratte is in forgotten hope Secret Weapons which is an addon for it FH


do you think you could help me put it over to my custom map


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Custom Map Crash
PostPosted: Fri Oct 12, 2007 8:29 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Well; it may be easiest to post what you've got. Not the map itself; but write down/post here what files you have included.

MAKE SURE THE FILE STRUCTURE IS CORRECT!! This is big. If you open it in winRFA it should look like:

bf1942/levels/Map_Name/

Off the top of my head the files you would need to have correct:

bf1942/levels/Map_Name/Init.con
bf1942/levels/Map_Name/Objects.con
bf1942/levels/Map_Name/Objects/Ratte/ratte.con
bf1942/levels/Map_Name/Objects/Ratte/objects.con
bf1942/levels/Map_Name/Objects/Ratte/weapons.con (and all the other files that go with the ratte)..

bf1942/levels/Map_Name/StandardMesh/ <all standard meshes>
bf1942/levels/Map_Name/Texture/ <all textures>


Don't forget you may need some sounds too. THAT will crash a game (trust me..). If you're having trouble with sounds/a crash on map load, do this:

In the vehicles physics.con file, there should be a line like this:
ObjectTemplate.loadSoundScript Sounds/AnyEngine.ssc

There will probably be more sound scripts. Just put a rem in front of those and see if that works. That way you could rule out the sounds as being the crash. If the game loads you won't have any sound for the vehicle, but at least you will see it in game.

If you want to get a good example of what sound files should look like when loaded into a map, check out the pak 40 on liberation of caen, or the JU88 for britain.

Anyhow, back to the other files. I believe you know this already, but I want to cover all the bases. Your init.con should have this line:

run objects/objects

And in your new Objects folder in your map, the objects.con SHOULD have this in it:

run Ratte/Ratte

In the Ratte (or whatever)'s folder, you should have Ratte.con. In that..

run ai/objects
run ai/weapons
run objects
run network
run weapons
run geometries


Or something similar.


Besides that, theres the standardmesh and texture folder. The standardmesh files will tell you which textures you need if you are uncertain. Just read the .rs files and look for anything like: texture "texture/pak40_gun_J".


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Custom Map Crash
PostPosted: Fri Oct 12, 2007 9:10 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
one problem the ratte is not an ordinary vehcile its as big as a hangar

and has 8 parts to it all difernt objects so thats why its hard


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Custom Map Crash
PostPosted: Fri Oct 12, 2007 9:23 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Custom Map Crash
PostPosted: Fri Oct 12, 2007 9:27 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
yeah it will take a long to time to get the sounds in do you wanna help me :?:


Top
 Profile Send private message E-mail  
 
 Post subject: OMG IT STILL DOESNT WOK
PostPosted: Fri Oct 12, 2007 9:46 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
ok i remmed it repacked worked fine so now when i spawn the ratte it crashes WHY


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 50 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group