[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/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 - make guns not hurt help!

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sun Jun 16, 2024 6:00 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 32 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: make guns not hurt help!
PostPosted: Sat Oct 27, 2007 9:41 pm 
Offline

Joined: Sat Sep 16, 2006 3:57 pm
Posts: 68
I wanted to make the mp40 not hurt anyone when it shoots so I could test the healing bullets. I have looked at all the code and the repulsion gun and to me, there is no reason why the mp40 should still be hurting. HELP! I missed something!


ObjectTemplate.active Mp40Projectile

rem * *************************************************
rem * Infantry target
rem * *************************************************
MaterialManager.attGroup 217
MaterialManager.defGroup 40
MaterialManager.damageMod 0
MaterialManager.setEffectTemplate e_blood01

MaterialManager.attGroup 217
MaterialManager.defGroup 41
MaterialManager.damageMod 0
MaterialManager.setEffectTemplate e_blood01

MaterialManager.attGroup 217
MaterialManager.defGroup 42
MaterialManager.damageMod 0
MaterialManager.setEffectTemplate e_blood01


Top
 Profile Send private message E-mail  
 
PostPosted: Sat Oct 27, 2007 9:54 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
Why are you .Active'ing the projectile?


Top
 Profile  
 
PostPosted: Sat Oct 27, 2007 10:22 pm 
Offline

Joined: Sat Sep 16, 2006 3:57 pm
Posts: 68


Top
 Profile Send private message E-mail  
 
PostPosted: Sat Oct 27, 2007 10:58 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
You are applying a new material to that gun, then giving the material it's properties. In a sense, do the same thing.


Top
 Profile  
 
PostPosted: Sat Oct 27, 2007 11:28 pm 
Offline
User avatar

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


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Oct 28, 2007 12:32 am 
Offline

Joined: Tue Jul 11, 2006 7:32 am
Posts: 357


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Oct 28, 2007 1:04 pm 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
I think itd be easier to define a new Material using the Material Manager


and they Edit the Guns Projectile Templates and change them all to that material.

or have 2 or 3 of them One for regular guns, one for grenades, one for Bazooks and what not and the etc.

Dont see the need to re edit all the exsisting materials


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Oct 29, 2007 8:38 pm 
Offline

Joined: Sat Sep 16, 2006 3:57 pm
Posts: 68
in other topic, i tried this and it worked perfect! the mp40 caused no damage to anything.

rem ** Healing Projectile **

ObjectTemplate.active Mp40Projectile
ObjectTemplate.material 939


MaterialManager.material 939
MaterialManager.materialAttGroup 939
MaterialManager.materialDefGroup 939
MaterialManager.materialDamage 0


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

All times are UTC


Who is online

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