[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

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 8:06 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Apr 23, 2008 12:38 am 
Offline

Joined: Wed Apr 23, 2008 12:26 am
Posts: 8
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


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 23, 2008 12:42 am 
Offline

Joined: Sun Apr 20, 2008 4:48 am
Posts: 57


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 23, 2008 1:40 am 
Offline

Joined: Wed Apr 23, 2008 12:26 am
Posts: 8
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.


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 23, 2008 3:27 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
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... :?


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 23, 2008 12:28 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
He's not the first with crashing omaha_beach.
Myself I had no prob with modding that map.
RFA explorer maby?!

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 23, 2008 8:15 pm 
Offline

Joined: Wed Apr 23, 2008 12:26 am
Posts: 8
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.


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 23, 2008 10:55 pm 
Offline
User avatar

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


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 23, 2008 10:58 pm 
Offline

Joined: Wed Apr 23, 2008 12:26 am
Posts: 8
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]


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.  [ 9 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 34 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