Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Rocket launcher https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3497 |
Page 1 of 3 |
Author: | MR PINK BALLS [ Sun Oct 28, 2007 4:51 pm ] |
Post subject: | Rocket launcher |
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? |
Author: | Why Two Kay [ Sun Oct 28, 2007 5:05 pm ] |
Post subject: | Re: Rocket launcher |
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. |
Author: | MR PINK BALLS [ Sun Oct 28, 2007 6:05 pm ] |
Post subject: | Re: Rocket launcher |
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 |
Author: | freddy [ Sun Oct 28, 2007 7:43 pm ] |
Post subject: | Re: Rocket launcher |
Author: | MR PINK BALLS [ Sun Oct 28, 2007 7:51 pm ] |
Post subject: | Re: Rocket launcher |
WOW thanks i take it this is most definitly client? |
Author: | Iced Earth [ Sun Oct 28, 2007 7:58 pm ] |
Post subject: | Re: Rocket launcher |
Author: | freddy [ Sun Oct 28, 2007 7:58 pm ] |
Post subject: | Re: Rocket launcher |
Aye its client only. |
Author: | MR PINK BALLS [ Sun Oct 28, 2007 10:08 pm ] |
Post subject: | Re: Rocket launcher |
woops missed that part |
Page 1 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |