[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 - Why doesn't this work!?

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 04, 2024 4:42 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
 Post subject: Why doesn't this work!?
PostPosted: Sun Nov 09, 2008 5:34 pm 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Nov 10, 2008 11:02 am 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
Noone has any ideas? Somebody please help I really want this to work.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Nov 10, 2008 11:15 am 
Offline
User avatar

Joined: Wed Nov 24, 2004 12:00 am
Posts: 257
Location: New York City
Does it crash your local server or an online server ?

Are you expecting this to work server sided ?

Always provide details pertaining to your questions so we can help you better. ;-)

_________________
Image
Image
Do everything to the best of your ability and you will find yourself in the future doing everything better than you thought possible.
Anthony Voltano 7/7/4777
VXF VOLT


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Nov 10, 2008 8:04 pm 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
It crashes an internet server and I expect to make it server sided...If you can add to kits SS why not remove things?

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Nov 11, 2008 3:40 am 
Offline
User avatar

Joined: Wed Nov 24, 2004 12:00 am
Posts: 257
Location: New York City
When replacing items SS, you must first remove the templates that you are changing.
Then after there are blank spots ( removetemplate ) you can addtemplate.
First remove, then add. Try that. ;-)

_________________
Image
Image
Do everything to the best of your ability and you will find yourself in the future doing everything better than you thought possible.
Anthony Voltano 7/7/4777
VXF VOLT


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Nov 11, 2008 10:42 am 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
Did you even look at my code? That's exactly what I did.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Nov 13, 2008 7:01 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
ObjectTemplate.setHealthBarIcon "Ingame/Healthbar_empty_engineer_64x64.tga"
ObjectTemplate.setHealthBarFullIcon "Ingame/Healthbar_full_engineer_64x64.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_alliesKnife.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_colt.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_thompson.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_demokit.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_landmine.tga"

No way this is serverside

Removetemplate must be from highest to lowest number

ObjectTemplate.active GB_Medic
ObjectTemplate.removeTemplate 6
ObjectTemplate.removeTemplate 5
ObjectTemplate.removeTemplate 1
ObjectTemplate.removeTemplate 0
ObjectTemplate.addTemplate US_Hip_Pack
ObjectTemplate.addTemplate Us_Helmet
ObjectTemplate.addTemplate landmine
ObjectTemplate.addTemplate detonator
ObjectTemplate.addTemplate exppack

Not sure about if the jumping from 5 to 1, but this should work.


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Nov 13, 2008 8:08 pm 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
Ok thanks I'll try it but I knew changing the pictures wasnt SS, I meant for that to be in a patch for me and friends to see.

_________________
Image


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 125 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