[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/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 - Questions in ObjectSpawnTemplates.con (please help)
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Questions in ObjectSpawnTemplates.con (please help)
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4005
Page 1 of 2

Author:  Jack [ Wed Apr 23, 2008 12:38 am ]
Post subject:  Questions in ObjectSpawnTemplates.con (please help)

Hi, I'm a modding n00b and have some questions for the smart people out there...

1) I used Winrfa to make an (for example) Omaha_Beach_005.rfa file. I opened that in Winrfa, and put in a code that has worked for me before. Saved the map to my levels folder, tryed it, got a crash. What's up?

2) I tried this code

ObjectTemplate.Active Willy
objectTemplate.speedMod 0
ObjectTemplate.damageFromWater 0
ObjectTemplate.hpLostWhileDamageFromWater 0

Which, I assume, should make the Willy jeeps in the map "indestructable" to water and the like. I got a crash.

3) I tried this code

ObjectTemplate.Active Colt
ObjectTemplate.projectileTemplate BazookaProjectile
ObjectTemplate.projectilePosition 0/0/0

Which, I assume, would make my colt shoot a bazooka round. I got a crash.

I added all these to my ObjectSpawnTemplates.con file in my Omaha_Beach_007.rfa. However, they didn't work. As far as I know, my crashing problems are not from the codes themselves, but from the extracted Omaha_Beach_007.rfa file I made. It's worked for me before, I don't know.

Also, if you have time, I'd like to learn some new codes. Such as a customizable turbo-jeep mod, that's not the KatyushaRocket_Engine one. It doesn't matter that much, but that high-pitched engine really bugs a lot of people. =P I'd like to know that, and how to change what my weapons shoot (such as colt shooting bazooka round).

Sorry for dragging this out. I'm brand new to Server Side Modding, but it's fun and I want to learn more. Please help, with detailed instructions. ;-) Thanks ya'll!!

~Jack Hack Attack~~BF1942 sever: My Honor Is Loyalty

Author:  dagger181 [ Wed Apr 23, 2008 12:42 am ]
Post subject:  Re: Questions in ObjectSpawnTemplates.con (please help)


Author:  Jack [ Wed Apr 23, 2008 1:40 am ]
Post subject:  Re: Questions in ObjectSpawnTemplates.con (please help)

Thanks dagger, my jeep is now invincible. =)

Maybe it was crashing earlier because I tried to test it with the map still open in Winrfa? I'm not sure. It worked this time though.

All~ Can anyone help me on the pistol shooting a bazooka round? I need a code for that and a location on where to put it. Thanks guys.

Author:  Iced Earth [ Wed Apr 23, 2008 3:27 am ]
Post subject:  Re: Questions in ObjectSpawnTemplates.con (please help)

ObjectTemplate.Active Colt
ObjectTemplate.projectileTemplate BazookaProjectile
ObjectTemplate.projectilePosition 0/0/0

..is correct. Post what other code you have in OST.con...or what files are in your patch file. Something isn't right here... :?

Author:  Urglub [ Wed Apr 23, 2008 12:28 pm ]
Post subject:  Re: Questions in ObjectSpawnTemplates.con (please help)

He's not the first with crashing omaha_beach.
Myself I had no prob with modding that map.
RFA explorer maby?!

Author:  Jack [ Wed Apr 23, 2008 8:15 pm ]
Post subject:  Re: Questions in ObjectSpawnTemplates.con (please help)

Thanks guys, I got the colt to shoot a bazooka round. =) It's pretty cool. However...

The map crashes when I put it on my server. Every time. Is this a Client-Side only mod or what? I can load it when I create a local game, but on my server it makes BF crash to desktop. Check my other post on this for more details. Thanks for all the help.

Author:  Iced Earth [ Wed Apr 23, 2008 10:55 pm ]
Post subject:  Re: Questions in ObjectSpawnTemplates.con (please help)


Author:  Jack [ Wed Apr 23, 2008 10:58 pm ]
Post subject:  Re: Questions in ObjectSpawnTemplates.con (please help)

Here they are, Iced, though they're in my other post.

[code]ObjectTemplate.Active willy
ObjectTemplate.SpeedMod 0
ObjectTemplate.hpLostWhileUpSideDown 0
ObjectTemplate.hpLostWhileDamageFromWater 0
ObjectTemplate.damageFromWater 0

ObjectTemplate.Active WillyComplex
ObjectTemplate.addTemplate KatyushaRocket_Engine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.Active KatyushaRocket_Engine
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setInputToRoll c_PIAltFire
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setMaxSpeed 0/0/100000
ObjectTemplate.setAcceleration 0/0/100000
ObjectTemplate.setTorque 35.0
ObjectTemplate.setDifferential 35.0

ObjectTemplate.Active Colt
ObjectTemplate.projectileTemplate BazookaProjectile
ObjectTemplate.projectilePosition 0/0/0

ObjectTemplate.Active Kubelwagen
ObjectTemplate.SpeedMod 0
ObjectTemplate.hpLostWhileUpSideDown 0
ObjectTemplate.hpLostWhileDamageFromWater 0
ObjectTemplate.damageFromWater 0

ObjectTemplate.Active KubelwagenComplex
ObjectTemplate.addTemplate KatyushaRocket_Engine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.Active KatyushaRocket_Engine
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setInputToRoll c_PIAltFire
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setMaxSpeed 0/0/100000
ObjectTemplate.setAcceleration 0/0/100000
ObjectTemplate.setTorque 35.0
ObjectTemplate.setDifferential 35.0

ObjectTemplate.Active WalterP38
ObjectTemplate.projectileTemplate BazookaProjectile
ObjectTemplate.projectilePosition 0/0/0

ObjectTemplate.Active No4
ObjectTemplate.projectileTemplate M10Projectile
ObjectTemplate.projectilePosition 0/0/0

ObjectTemplate.Active K98
ObjectTemplate.projectileTemplate TigerProjectile
ObjectTemplate.projectilePosition 0/0/0[code]

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