[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/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 - Rocket launcher

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Wed Jun 18, 2025 8:06 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 24 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Rocket launcher
PostPosted: Sun Oct 28, 2007 10:18 pm 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
!WTF! it dident work

CRASH CRASH CRASH this is for DCF if that makes a difference but heres my code

ObjectTemplate.create Kit US_AT
ObjectTemplate.setType AT
ObjectTemplate.setKitTeam 2
ObjectTemplate.geometry Kit_Allies_Antitank
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setnetworkableInfo KitInfo
ObjectTemplate.addTemplate Us_Helmet
ObjectTemplate.addTemplate US_SMAW_Backpack
ObjectTemplate.addTemplate US_Hip_Pack

ObjectTemplate.setHealthBarIcon "Ingame/Healthbar_empty_at_64x64.tga"
ObjectTemplate.setHealthBarFullIcon "Ingame/Healthbar_full_at_64x64.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_usKnife.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_M9.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_SMAW.tga"
ObjectTemplate.addWeaponIcon "Weapon/icon_stinger.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_landmine.tga"
ObjectTemplate.addWeaponIcon "Weapon/Icon_m16.tga"

ObjectTemplate.addTemplate SMAW
ObjectTemplate.addTemplate KnifeAllies
ObjectTemplate.addTemplate M9_beretta
ObjectTemplate.addTemplate Stinger
ObjectTemplate.addTemplate landmine
ObjectTemplate.addTemplate M16A2

ObjectTemplate.aitemplate AT

in the init i just putt set skin US_AT


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Sun Oct 28, 2007 11:12 pm 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
take a look in the dcf kits anti armor none of them have this

ObjectTemplate.setKitIcon 2 "kits/Icon_antitank_allies_selected.tga"
ObjectTemplate.setKitName 2 "RESPAWN_AT"
ObjectTemplate.setKitActiveName 2 "RESPAWN_ACTIVE_AT"
could that be part of problem i doubt it cuz its never had it in ther soooo still havent a clue


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Mon Oct 29, 2007 1:56 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
I think its cause US_AT is already a kit try creating a Custom name for it under

ObjectTemplate.create Kit

make it

US_MY_KIT


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Mon Oct 29, 2007 2:48 am 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
uhh it was US_AT_MOD that dident work


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Mon Oct 29, 2007 6:48 am 
Offline

Joined: Wed Oct 17, 2007 4:04 pm
Posts: 25
He explained it for bf1942 normal version
maybe that matters :razz:


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Mon Oct 29, 2007 8:23 am 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253
Heh yeah it was for bf42 forgot to mention that :oops: Basically what you do is pull out the kit code from object.con and rename it, change it to your liking, and then stuff it into a object folder in your map. If its for conquest i think you can skip the AI lines.

Edit: you need some lines to run it to in init.con: run objects/objects and so on. Check out BOB or Coral sea how it works.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Mon Oct 29, 2007 9:14 pm 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
okay when you say in the objects of the map you mean in the actual folder called objects or the con file inside the object folder which is called objects ?


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Mon Oct 29, 2007 9:34 pm 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253


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 Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 37 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