Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
I Feel Like The Problem Guy Please Help https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3314 |
Page 1 of 3 |
Author: | privaterivvan [ Mon Sep 24, 2007 9:58 pm ] |
Post subject: | I Feel Like The Problem Guy Please Help |
this code is suppose to make submarines have unlimtied oxygen it works for about 5-10 seconds then i die and submarines explodes i thought this would be simple considering submarine just loses damage when when no oxygen but theres more code to it that i dont know THX SO MUCH rem *****Gato******* ObjectTemplate.Active Gato ObjectTemplate.addtemplate HoHaSupplyDepot rem *****Gato 2******* ObjectTemplate.Active Gato ObjectTemplate.addtemplate HoHaVehicleSupplyDepot rem *****Sub7C******* ObjectTemplate.Active Sub7C ObjectTemplate.addtemplate HoHaSupplyDepot rem ****Sub7C2******* ObjectTemplate.Active Sub7C ObjectTemplate.addtemplate HoHaVehicleSupplyDepot |
Author: | Iced Earth [ Mon Sep 24, 2007 10:21 pm ] |
Post subject: | Re: I Feel Like The Problem Guy Please Help |
Yeah, how would that give subs oxygen? It would just make them reload stuff around them...not even torpedos, because I don't think torp ammo type is added via hohasupplydepot. Just go look at the sub's object.con in objects.rfa....or try search! viewtopic.php?f=3&t=3119&hilit=sub+oxygen edit: one other thing. if you're going to addtemplate something to an object, or a couple things, don't active it twice. just do: rem *****Sub7C******* ObjectTemplate.Active Sub7C ObjectTemplate.addtemplate HoHaSupplyDepot ObjectTemplate.addtemplate HoHaVehicleSupplyDepot Or you could just change one of the depot's to do exactly what you need so you don't have to active two of them. ![]() |
Author: | privaterivvan [ Mon Sep 24, 2007 10:25 pm ] |
Post subject: | Re: I Feel Like The Problem Guy Please Help |
ahh that topic didnt help i tried all of the code it didnt work do you know the answer ? |
Author: | Losnar [ Mon Sep 24, 2007 10:31 pm ] |
Post subject: | Re: I Feel Like The Problem Guy Please Help |
Author: | Iced Earth [ Mon Sep 24, 2007 10:43 pm ] |
Post subject: | Re: I Feel Like The Problem Guy Please Help |
Author: | privaterivvan [ Mon Sep 24, 2007 11:04 pm ] |
Post subject: | Re: I Feel Like The Problem Guy Please Help |
should there be objectempalte.active sub7c in front of it |
Author: | Iced Earth [ Mon Sep 24, 2007 11:11 pm ] |
Post subject: | Re: I Feel Like The Problem Guy Please Help |
oops. I think it should be there. yes. |
Author: | privaterivvan [ Mon Sep 24, 2007 11:41 pm ] |
Post subject: | Re: I Feel Like The Problem Guy Please Help |
ok dadedade i put code in didlededadidlededa it doesnt work AHHHHHHHH ![]() |
Page 1 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |