Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 1:33 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Tue Oct 09, 2007 10:48 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
i though since custom texture and vehicles are possible to do custom map side

i thought it would be possible to do other things like a m1 garand sniper if so how would i go about doing this ?

thx


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 09, 2007 10:49 pm 
Offline

Joined: Sat Dec 02, 2006 7:43 pm
Posts: 595
Its quite simple, just addtemplate the scope to the m1... ill get more on it later when i find exact code for ya.

Edit: ok that was fast, here it is:

ObjectTemplate.Active weapon
ObjectTemplate.AddTemplate No4Scope
ObjectTemplate.useScope 1
ObjectTemplate.zoomFov 0.01
ObjectTemplate.unZoomBetweenFireTime 0.0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.setPosition 0.0/0.0/0.0

Just position it correctly and there you go. I think the rotation should be 0/0/90 but you need to check it out.


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 09, 2007 10:53 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
ok thanks but where do i put it use battlecraft and put it in OST.con


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 09, 2007 10:55 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
If you're making a map the VERY LAST STEP should be coding weapons. Don't use the archive file editor in BC as it is worthless. I think you would have to put the change in each time you loaded the map in BC.

Worry about the map now; weapons later.


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 09, 2007 10:56 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
i know but how do i use it where do i put it do different rules aplly when custom mapping


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 09, 2007 10:57 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
should i just use winrfa and pu the code in there


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 09, 2007 11:08 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
There's two ways you could do it; add the garand objects file/folder to the map structure like you would a custom vehicle (ju88), OR, add vengeance's code to the end of OST.con. While it would not work server-side, its a client side OST change; so everyone will have it and see it. That might be easiest.


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 09, 2007 11:12 pm 
Offline

Joined: Tue Jul 03, 2007 4:03 pm
Posts: 372
ok but i thought adding it to end of OST.con bf1942 would treat at trying to be a ssm mod

and then it wont work


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

All times are UTC


Who is online

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