Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
"Stop Base Camping" https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4876 |
Page 1 of 2 |
Author: | Anarchy [ Thu Apr 23, 2009 4:47 pm ] |
Post subject: | "Stop Base Camping" |
Author: | [TKO]Twist [ Thu Apr 23, 2009 5:16 pm ] |
Post subject: | Re: "Stop Base Camping" |
I ll explain the code for you rem *** Kills red guys *** This tells which supplydepot is used ObjectTemplate.Active hanomagVehicleSupplyDepot What the radius is, remember the diameter is double this number ObjectTemplate.radius 150 Which team is affected, 0 is both, 1 is red 2 is blue ObjectTemplate.team 1 How much health there should be taken off the soldiers. -1 is infinite ammo and -2 is the amount of health drained per second. ObjectTemplate.setHealth -1 -2 0 Which vehicle, -1 infinite and -4 HP per second, replace names with the vehicles you like the be affected. ObjectTemplate.addVehicleType t72 -1 -4 0 ObjectTemplate.addVehicleType m1a1 -1 -4 0 ObjectTemplate.addVehicleType mi24d -1 -4 0 ObjectTemplate.addVehicleType ah64 -1 -4 0 ObjectTemplate.addVehicleType su-25 -1 -4 0 ObjectTemplate.addVehicleType a10_b -1 -4 0 Pretty obvious ObjectTemplate.workOnVehicles 1 Pretty obvious ObjectTemplate.workOnSoldiers 1 |
Author: | Anarchy [ Fri Apr 24, 2009 3:29 pm ] |
Post subject: | Re: "Stop Base Camping" |
Awesome thanks I'll see what I can do. |
Author: | [TKO]Twist [ Fri Apr 24, 2009 4:09 pm ] |
Post subject: | Re: "Stop Base Camping" |
No problem, we are all here to help noobs ![]() Oh and to discover the last bits of unknown code and things like that |
Author: | Anarchy [ Fri Apr 24, 2009 9:20 pm ] |
Post subject: | Re: "Stop Base Camping" |
I have another problem, when I fly a plane into the killing area and the driver and itself die, the burned out body of the plane appears to stick... static. ![]() Do you know any adjustments I could make to the code to stop this from happening? |
Author: | Iced Earth [ Fri Apr 24, 2009 9:48 pm ] |
Post subject: | Re: "Stop Base Camping" |
Author: | [TKO]Twist [ Fri Apr 24, 2009 10:22 pm ] |
Post subject: | Re: "Stop Base Camping" |
In that way they will just be invisible We have yet to find a solution for it, but the effect is reduced if you use lots of smaller spheres |
Author: | Anarchy [ Fri Apr 24, 2009 10:44 pm ] |
Post subject: | Re: "Stop Base Camping" |
You can move through the dead hulks right? So making them invisible should fix the problem, nobody can see them, and nobody can bump into them, they just go straight through. Or am I wrong |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |