Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 8:55 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Mar 17, 2006 10:05 pm 
Offline

Joined: Mon Feb 20, 2006 12:00 am
Posts: 155
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


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 10:31 pm 
Offline

Joined: Wed May 04, 2005 12:00 am
Posts: 546
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.

_________________
CTF for BF2:
http://desert-conflict.org/


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 10:55 pm 
Offline

Joined: Mon Feb 20, 2006 12:00 am
Posts: 155
how do i work out the driversoldierspawn and the soldierspawn numbers?


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 11:03 pm 
Offline

Joined: Mon Feb 20, 2006 12:00 am
Posts: 155
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


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 11:18 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
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.


Last edited by Why Two Kay on Fri Mar 17, 2006 11:20 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 11:19 pm 
Offline

Joined: Wed May 04, 2005 12:00 am
Posts: 546
It would be 9,10,11 as you start the count with 0.

_________________
CTF for BF2:
http://desert-conflict.org/


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 11:32 pm 
Offline

Joined: Mon Feb 20, 2006 12:00 am
Posts: 155
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 :D

this site is great.... when i get paypal i think i will donate :D gj at running this site


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 11:40 pm 
Offline

Joined: Mon Feb 20, 2006 12:00 am
Posts: 155
still a no go im afraid ill keep trying and ill do some more research ill tell u when i get it working


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.  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 42 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