Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
objecttemplate.removetemplate https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=1986 |
Page 1 of 2 |
Author: | badboyz [ Fri Mar 17, 2006 10:05 pm ] |
Post subject: | objecttemplate.removetemplate |
hi guys!! can sum1 tell me what numbers are for the destroyers for normalbf1942 objecttemplate.removetemplate ?? the submarine is objecttemplate.removetemplate 4 i have tryed research on here but i can only find the removaltemplates for weapons |
Author: | Natt [ Fri Mar 17, 2006 10:31 pm ] |
Post subject: | |
If you just want to remove the destroyer from the map, remove the objectspawn from objectspawns.con, If you want to remove vehicles or other stuff from the destroyer, find the destroyer in objects.rfa and open its objects.con file. Find the 'complex' bit and count the addtemplates starting from 0. Then 'removetemplate' the number of the object you want to remove. eg: em *** FletcherComplex *** ObjectTemplate.create Bundle FletcherComplex rem ObjectTemplate.setNetworkableInfo FletcherBodyInfo ObjectTemplate.geometry Fletch_hull_M1 ObjectTemplate.hasMobilePhysics 1 ObjectTemplate.hasCollisionPhysics 1 ObjectTemplate.hasResponsePhysics 1 rem ------------------------------------- 0 ObjectTemplate.addTemplate DestroyerSonar 1 ObjectTemplate.addTemplate Fletcher_Radar ObjectTemplate.setPosition -0.092/15.795/17.519 2 ObjectTemplate.addTemplate Fletcher_propeller ObjectTemplate.setPosition 2.01/-2.63/-50.252 ObjectTemplate.setRotation 0/-1.999/0 3 ObjectTemplate.addTemplate Fletcher_propeller ObjectTemplate.setPosition -2.424/-2.63/-50.252 ObjectTemplate.setRotation 0/-1.999/0 4 ObjectTemplate.addTemplate Fletcher_HullWing ObjectTemplate.setPosition 0/-5/55 ObjectTemplate.setRotation 0/0/-90 5 ObjectTemplate.addTemplate Fletcher_rudder ObjectTemplate.setPosition 0/-5/-55 ObjectTemplate.setRotation 0/0/-90 6 ObjectTemplate.addTemplate Fletcher_Engine ObjectTemplate.setPosition 0/-4/-40 7 ObjectTemplate.addTemplate Fletcher_cannon ObjectTemplate.setPosition -0.114/4.391/36.508 8 ObjectTemplate.addTemplate Fletcher_cannon_Front ObjectTemplate.setPosition -0.114/7.037/29.477 9 ObjectTemplate.addTemplate Fletcher_Back_Canons_PCO ObjectTemplate.setPosition 0/0/-10 10 ObjectTemplate.addTemplate Fletcher_Entry ObjectTemplate.setPosition -0.114/7.037/32 11 ObjectTemplate.addTemplate Fletcher_EntrySmall ObjectTemplate.setPosition -0.2/7.5/20 12 ObjectTemplate.addTemplate ClimbingNet_3mx4m ObjectTemplate.setPosition -5.6/1.549/-3.834 ObjectTemplate.setRotation 90/0/0 13 ObjectTemplate.addTemplate ClimbingNet_3mx4m ObjectTemplate.setPosition -5.6/1.539/-9.748 ObjectTemplate.setRotation 90/0/0 14 ObjectTemplate.addTemplate ClimbingNet_3mx4m ObjectTemplate.setPosition 5.8/1.549/-3.834 ObjectTemplate.setRotation -90/0/0 15 ObjectTemplate.addTemplate ClimbingNet_3mx4m ObjectTemplate.setPosition 5.8/1.539/-9.748 ObjectTemplate.setRotation -90/0/0 16 ObjectTemplate.addTemplate DepthChargeLauncher ObjectTemplate.setPosition -1.35/4.45/-57.908 ObjectTemplate.setRotation -179.999/0/-89.999 17 ObjectTemplate.addTemplate DepthChargeLauncher ObjectTemplate.setPosition 1.35/4.45/-57.908 ObjectTemplate.setRotation -179.999/0/90 18 ObjectTemplate.addTemplate FletcherDeckBrowningPCO ObjectTemplate.setPosition 6.19/8.22/-6.999 ObjectTemplate.setRotation 90/0/0 19 ObjectTemplate.addTemplate FletcherDeckBrowningPCO ObjectTemplate.setPosition -5.959/8.22/-6.999 ObjectTemplate.setRotation -89.999/0/0 20 ObjectTemplate.addTemplate e_waterfrontBig ObjectTemplate.setPosition 0/-2/55 21 ObjectTemplate.addTemplate e_waterBoatSvallNarrow ObjectTemplate.setPosition 0/-2/55 ObjectTemplate.setRotation 90/0/0 22 ObjectTemplate.addTemplate e_waterBoatSvallNarrow ObjectTemplate.setPosition 0/-2/-58 ObjectTemplate.setRotation 270/0/0 23 ObjectTemplate.addTemplate e_waterBackBig ObjectTemplate.setPosition 0/-0.499/-49.999 24 ObjectTemplate.addTemplate ShipLadder03 ObjectTemplate.setPosition 3.045/5.2/-11.947 ObjectTemplate.setRotation -90/0/0 25 ObjectTemplate.addTemplate ShipLadder03 ObjectTemplate.setPosition -2.84/5.27/-11.423 ObjectTemplate.setRotation 90/0/0 26 ObjectTemplate.addTemplate Ammobox ObjectTemplate.setPosition -0.169/4.06/15.872 27 ObjectTemplate.addTemplate AnimatedUsFlag ObjectTemplate.setPosition 0/29.2/12. What I've noticed is that objecttemplate.removetemplate doesn't always work and also slows down the loading of the map. |
Author: | badboyz [ Fri Mar 17, 2006 10:55 pm ] |
Post subject: | |
how do i work out the driversoldierspawn and the soldierspawn numbers? |
Author: | badboyz [ Fri Mar 17, 2006 11:03 pm ] |
Post subject: | |
1ObjectTemplate.addTemplate lodFletcher 2ObjectTemplate.addTemplate Fletcher_Floater ObjectTemplate.setPosition -1.999/7.5/50 3ObjectTemplate.addTemplate Fletcher_Floater ObjectTemplate.setPosition 2/7.5/50 4ObjectTemplate.addTemplate Fletcher_Floater ObjectTemplate.setPosition -4.999/7.5/17 5ObjectTemplate.addTemplate Fletcher_Floater ObjectTemplate.setPosition 5/7.5/17 6ObjectTemplate.addTemplate Fletcher_Floater ObjectTemplate.setPosition -4.999/7.5/-16.999 7ObjectTemplate.addTemplate Fletcher_Floater ObjectTemplate.setPosition 5/7.5/-16.999 8ObjectTemplate.addTemplate Fletcher_Floater ObjectTemplate.setPosition -1.999/7.5/-49.999 9ObjectTemplate.addTemplate Fletcher_Floater ObjectTemplate.setPosition 2/7.5/-49.999 10ObjectTemplate.addTemplate FletcherDriverSoldierSpawn ObjectTemplate.setPosition 0/5/32.5 11ObjectTemplate.addTemplate FletcherSoldierSpawn ObjectTemplate.setPosition 3/5/-43.699 12ObjectTemplate.addTemplate FletcherSoldierSpawn ObjectTemplate.setPosition -2.999/5/-43.699 13ObjectTemplate.addTemplate FletcherLcvpSpawner ObjectTemplate.setPosition 7.2/0.3/-43.699 ObjectTemplate.setRotation 6/0/0 14ObjectTemplate.addTemplate FletcherLcvpSpawner ObjectTemplate.setPosition -7.2/0.3/-43.699 ObjectTemplate.setRotation -5.999/0/0 will it be number 10,11.12 there?? thx for quick reply |
Author: | Why Two Kay [ Fri Mar 17, 2006 11:18 pm ] |
Post subject: | |
Make sure to remove them in reverse order. So remove 11, then 10, then 9. Because after you remove a template the ones after it shift down number. So remove 11, 10, 9, works Remove 9, 9, 9 works also, because after you remove 9, the 10 becomes the new 9, and etc. Remove 9, 10, 11 does not work, as it will remove the wrong templates. There is a post somewhere about all of this. |
Author: | Natt [ Fri Mar 17, 2006 11:19 pm ] |
Post subject: | |
It would be 9,10,11 as you start the count with 0. |
Author: | badboyz [ Fri Mar 17, 2006 11:32 pm ] |
Post subject: | |
ObjectTemplate.Active FletcherDriverSoldierSpawn ObjectTemplate.removeTemplate 11 ObjectTemplate.Active FletcherSoldierSpawn ObjectTemplate.removeTemplate 10 ObjectTemplate.Active FletcherSoldierSpawn ObjectTemplate.removeTemplate 9 so thats rights?? once again thx for quick response ![]() this site is great.... when i get paypal i think i will donate ![]() |
Author: | badboyz [ Fri Mar 17, 2006 11:40 pm ] |
Post subject: | |
still a no go im afraid ill keep trying and ill do some more research ill tell u when i get it working |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |