[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 - AddTemplate Stationary_Browning to Willy= Epic fail?
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

AddTemplate Stationary_Browning to Willy= Epic fail?
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4763
Page 1 of 1

Author:  Sheppard [ Fri Mar 13, 2009 7:13 pm ]
Post subject:  AddTemplate Stationary_Browning to Willy= Epic fail?

Alright so, I addTemplated a Stationary_MG42 to a kubelwagen, CSM for coop. I did it in objects.con, no problems. Then I tried the Willy. I addTemplated a Stationary_Browning to it, in objects.con, and it worked fine I thought. I drove around blasting bots with the MG42 kubel for a while and then switched to allied. I looked at the Willy, saw the MG was on it fine, and then my game crashed. Strange coincidence? I tried again. Same result. So wtf is going on here? This is the exact code, it's in the objects.con of the vehicle. With the MG42 on the willy, it crashes after looking at it for about 10 seconds, not 5...and you can drive it for a second too. I also addTemplated a hohasupplydepot to both cars.
Willy (crashes when looked at close up, its fine at a distance too):
ObjectTemplate.addTemplate Stationary_Browning
ObjectTemplate.setPosition 0/1.3/-1

Kubelwagen(works fine, bots even drive it but dont shoot):
ObjectTemplate.addTemplate Stationary_MG42
ObjectTemplate.setPosition 0/1.3/-1

Any ideas?
OK WTF: I got it to work, sortof, by addTemplating the gun to the complex of the Willy. Problem is, it still crashes, just after several minutes instead of several seconds.

Author:  Iced Earth [ Fri Mar 13, 2009 10:57 pm ]
Post subject:  Re: AddTemplate Stationary_Browning to Willy= Epic fail?

Don't addTemplate the thing. Make a new PCO. Look at other vehicles to see how they did it. Hatsuzuki/Fletcher deck guns, for instance.

Author:  Sheppard [ Sat Mar 14, 2009 2:00 am ]
Post subject:  Re: AddTemplate Stationary_Browning to Willy= Epic fail?

Also tried that... New PCO, with the Browning_Unlimited addtemplated, just like the stationary_browning is made, and added to the jeep and still crash after a few seconds. The thing that bothers me is that it works perfectly on the kubelwagen.
EDIT: Using a way of adding gun that I found in a custom map, It works in CQ. But not in COOP. In COOP it works fine until you try to use the gun, then you crash. I copied the AI files from the map also, so it should work but it doesn't.
EDIT2: Both now make it crash, screw this...it'll never work.

Author:  mrhowdoimod [ Sat Mar 14, 2009 6:22 pm ]
Post subject:  Re: AddTemplate Stationary_Browning to Willy= Epic fail?


Author:  Sheppard [ Sat Mar 14, 2009 10:00 pm ]
Post subject:  Re: AddTemplate Stationary_Browning to Willy= Epic fail?

But! It worked for the mapper of that Oahu map, why not for me! Even with his objects.con it still crashes.

Author:  Sheppard [ Sun Mar 15, 2009 5:19 pm ]
Post subject:  Re: AddTemplate Stationary_Browning to Willy= Epic fail?

I just realized something....
It could be that I tried giving the Browning_Unlimited and MG42_Unlimited a altfire zoom like a handweapon, and when the code had no affect I didn't remove it. I never tried in COOP, and every attempt at this utilized those two guns, and I think the AI didn't like it. I'll try without it. If this is why, I'll feel so stupid. :roll: If it works, I'd like to make a M35A1 (bfv) style motor carriage, like a land gunship, on the M3A1, with a Quad50, and several mounted positions.
EDIT: Never mind... :(

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