Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Custom Map M1 Garand Sniper
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3402
Page 1 of 3

Author:  privaterivvan [ Tue Oct 09, 2007 10:48 pm ]
Post subject:  Custom Map M1 Garand Sniper

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

Author:  cptvengeance [ Tue Oct 09, 2007 10:49 pm ]
Post subject:  Re: Custom Map M1 Garand Sniper

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.

Author:  privaterivvan [ Tue Oct 09, 2007 10:53 pm ]
Post subject:  Re: Custom Map M1 Garand Sniper

ok thanks but where do i put it use battlecraft and put it in OST.con

Author:  Iced Earth [ Tue Oct 09, 2007 10:55 pm ]
Post subject:  Re: Custom Map M1 Garand Sniper

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.

Author:  privaterivvan [ Tue Oct 09, 2007 10:56 pm ]
Post subject:  Re: Custom Map M1 Garand Sniper

i know but how do i use it where do i put it do different rules aplly when custom mapping

Author:  privaterivvan [ Tue Oct 09, 2007 10:57 pm ]
Post subject:  Re: Custom Map M1 Garand Sniper

should i just use winrfa and pu the code in there

Author:  Iced Earth [ Tue Oct 09, 2007 11:08 pm ]
Post subject:  Re: Custom Map M1 Garand Sniper

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.

Author:  privaterivvan [ Tue Oct 09, 2007 11:12 pm ]
Post subject:  Re: Custom Map M1 Garand Sniper

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

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/