[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 - Problems with berlin
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Problems with berlin
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=5202
Page 1 of 2

Author:  ATF_Cole [ Fri Aug 28, 2009 4:58 am ]
Post subject:  Problems with berlin

Hi guys, thanks for having such a great website. So much good info in here. I have a question about removing grenades on berlin. I found 2 differnt sets of code in here that both kinda work but still having a problem. Both make it so you cant throw grenades. But after you fake throw your 3 nades it switches back to your main gun. When it does this it still shows you throwing grenades but your main gun is out and you cant shoot anyting with it. Is there a way to fix this. Im trying to do this ss. Thanks for any help you can offer. Here is the 2 sets of code i have tried.

Objecttemplate.active GrenadeAllies
ObjectTemplate.magtype 1

Objecttemplate.active GrenadeAxis
ObjectTemplate.magtype 1

ObjectTemplate.Active GrenadeAllies
ObjectTemplate.setInputFire c_PIMouseLook
ObjectTemplate.velocityDependentOnHeat 0
ObjectTemplate.heatAddWhenFire 0

ObjectTemplate.Active GrenadeAxis
ObjectTemplate.setInputFire c_PIMouseLook
ObjectTemplate.velocityDependentOnHeat 0
ObjectTemplate.heatAddWhenFire 0

Author:  freddy [ Fri Aug 28, 2009 10:22 am ]
Post subject:  Re: Problems with berlin

i couldnt find a way to fix that either so i just changed the grenade material to something that did no damage instead.

Author:  Iced Earth [ Fri Aug 28, 2009 3:51 pm ]
Post subject:  Re: Problems with berlin

hey cole!

Arg, thats strange. Wake had a infantry server for awhile, but I honestly can't remember having that happen. I think I used the same code too.

Oh, this might work: remove template the nades from the kits. I've seen a modder do that before. I'll bet you can't even select the nades after that. I'm not on a PC with objects.rfa so I don't know what # it is..but that should do it.

Actually here is a post describing how to count addTemplates:
viewtopic.php?f=3&t=4931&p=41053&hilit=count+add+template#p41053
Just scroll down to the blue/green code.
EDIT: Another counting addTemplates post: viewtopic.php?f=3&t=307&p=6753&hilit=count+add+template#p6753
Just find the addTemplate number in the kit's .con file, and in berlin's ObjectSpawnTemplates.con at the end, put:

ObjectTemplate.Active <kitname>
ObjectTemplate.removeTemplate <#>

Author:  Iced Earth [ Sat Aug 29, 2009 12:19 am ]
Post subject:  Re: Problems with berlin


Author:  ATF_Cole [ Sat Aug 29, 2009 2:40 am ]
Post subject:  Re: Problems with berlin

Why hello there Ice, always nice to see ya around. Thanks alot for the code i will give it a try.

Author:  ATF_Cole [ Sat Aug 29, 2009 4:04 am ]
Post subject:  Re: Problems with berlin

Ice you are brilliant. That works perfectly. Thank you again for your help.

Author:  Iced Earth [ Sat Aug 29, 2009 4:56 am ]
Post subject:  Re: Problems with berlin

awesome, ty for letting me know. That wasn't my code so its good to know it works too! :o

Author:  freddy [ Sun Aug 30, 2009 12:34 am ]
Post subject:  Re: Problems with berlin

did you try this ssm? just curious lol

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