[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 - Vehicle Health Increase??

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sat Apr 20, 2024 5:49 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 24 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Wed Jul 16, 2008 7:22 pm 
Offline

Joined: Sun Jul 13, 2008 7:29 pm
Posts: 168
Ok, I have Turbo Jeeps (willy and Kubelwagen) this all works fine server side but then when i try modding health it disconnect who ever spawns or moves the death cam, so obiusly ive reverted this back so it works again.

My Main Question Is:


Is There Any Way To Increase The Kubelwagen and Willy's Health, Or Stop It From Taking Damage When Falling To The Ground Or Colliding With Things?, That Does Not Stop People Connecting To My Server.

View Page 2

_________________

_______________


Last edited by nohalfmeasures on Sat Jul 19, 2008 1:57 pm, edited 1 time in total.

Top
 Profile Send private message E-mail  
 
PostPosted: Wed Jul 16, 2008 7:26 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
ObjectTemplate.Active Willy
ObjectTemplate.SpeedMod 0

ObjectTemplate.Active Kubelwagen
ObjectTemplate.SpeedMod 0


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Jul 16, 2008 8:00 pm 
Offline

Joined: Sun Jul 13, 2008 7:29 pm
Posts: 168

_________________

_______________


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Jul 16, 2008 8:10 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Where have you been editing your code?

The 'normal' place to put this is at the end of your maps game type ObjectSpawnTemplates.con, in your patch file.


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Jul 16, 2008 8:26 pm 
Offline

Joined: Sun Jul 13, 2008 7:29 pm
Posts: 168

_________________

_______________


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Jul 16, 2008 8:32 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Uhhh don't do that...that will most certainly crash the client. You can't change the hit points server side.

You need to set up a testing environment on your computer, so you don't have to put the files on your server to see if they'll work or not.

Copy your 1942 directory.
Make a folder somewhere else (C:\BF1942 2 for example) and paste the WHOLE directory there.
Put your modded files in the copied 1942 folder.
Run the dedicated server tool in the copied 1942 folder, select local game.
Run your REGULAR 1942, go to multiplayer, local, and join the game that way.

*** MAKE SURE NO MODDED FILES ARE IN YOUR REGULAR 1942 DIRECTORY!! ***

If you crash, the client will crash. If you load, the client will load.


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Jul 16, 2008 8:44 pm 
Offline

Joined: Sun Jul 13, 2008 7:29 pm
Posts: 168
well i use my laptop to test the server and i have 2 backup copies 1 of original bf1942 files and one of the files that work server side =D

_________________

_______________


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Jul 17, 2008 1:43 am 
Offline

Joined: Mon Jun 19, 2006 3:17 am
Posts: 213
SpeedMod 0

hitpoints dont work serverside

oh, wait...wake already said that.

_________________
My bf1942 servers:



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

All times are UTC


Who is online

Users browsing this forum: No registered users and 57 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:
cron
Powered by phpBB® Forum Software © phpBB Group