[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
https://battlefieldmodding.com/ssm/phpBB3/

Custom Map Crash
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3414
Page 1 of 3

Author:  privaterivvan [ Fri Oct 12, 2007 4:28 pm ]
Post subject:  Custom Map Crash

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

Author:  Archimonde0_0 [ Fri Oct 12, 2007 6:11 pm ]
Post subject:  Re: Custom Map Crash

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

Author:  privaterivvan [ Fri Oct 12, 2007 6:24 pm ]
Post subject:  Re: Custom Map Crash

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

Author:  Iced Earth [ Fri Oct 12, 2007 8:29 pm ]
Post subject:  Re: Custom Map Crash

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".

Author:  privaterivvan [ Fri Oct 12, 2007 9:10 pm ]
Post subject:  Re: Custom Map Crash

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

Author:  Iced Earth [ Fri Oct 12, 2007 9:23 pm ]
Post subject:  Re: Custom Map Crash


Author:  privaterivvan [ Fri Oct 12, 2007 9:27 pm ]
Post subject:  Re: Custom Map Crash

yeah it will take a long to time to get the sounds in do you wanna help me :?:

Author:  privaterivvan [ Fri Oct 12, 2007 9:46 pm ]
Post subject:  OMG IT STILL DOESNT WOK

ok i remmed it repacked worked fine so now when i spawn the ratte it crashes WHY

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/