[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/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 3:24 pm

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
 Post subject: Rocket launcher
PostPosted: Sun Oct 28, 2007 4:51 pm 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
Okay guys i made the SMAW shoot tomahawk guided missles hehe it works great but ther is a strategy to fireing it you have to point it up and croutch when u fire but thats beside the point im trying to make One of the kits wher the SMaw is a secondary weapon they did it on dcrealism mod somehow but i dont even care about server side just something client fun but ther is no way to chage kits like that all i have been able to do is take away weapons and chage the main weapon like in the ani armor i changed SMAW to m16a2 thats the only weapon in the kit you can change what im going for it to have a rifle in the kit to somewher like leave SMAW number 3 and make the rifle number 6 or whatever any idea?


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Sun Oct 28, 2007 5:05 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
Er, I barely understood what you were actually asking there.

But to change the index number of a weapon the command is:

ObjectTemplate.itemIndex

With a number after it that is the number you want to push to get it (of course, no higher than 6).

I am not sure if this can be changed kit based or map based, or if it is a general command for objects.rfa only.


Top
 Profile  
 
 Post subject: Re: Rocket launcher
PostPosted: Sun Oct 28, 2007 6:05 pm 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
okay heres what im talking about this is just example of what i want to do i know this code will crash the game which is what im trying to get around


current anti armor code

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

now maybe i could use a kit with 6 templates or something but heres what im tring to get to

ObjectTemplate.addTemplate M16A2 <-----BAM!
ObjectTemplate.addTemplate KnifeAllies
ObjectTemplate.addTemplate M9_beretta
ObjectTemplate.addTemplate Stinger
ObjectTemplate.addTemplate landmine
ObjectTemplate.addTemplate SMAW <------BAM!

now any ideeers


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Sun Oct 28, 2007 7:43 pm 
Offline

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


Last edited by freddy on Sun Oct 28, 2007 7:55 pm, edited 1 time in total.

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

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
WOW thanks i take it this is most definitly client?


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

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


Last edited by Iced Earth on Sun Oct 28, 2007 7:58 pm, edited 2 times in total.

Top
 Profile Send private message E-mail  
 
 Post subject: Re: Rocket launcher
PostPosted: Sun Oct 28, 2007 7:58 pm 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253
Aye its client only.


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

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
woops missed that part


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: Bing [Bot] and 41 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