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

Manhook
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=23&t=3903
Page 1 of 1

Author:  Gort [ Sun Mar 09, 2008 3:18 am ]
Post subject:  Manhook

Just for giggles (and practice) I decided to attach a hook to soldiers.

To do so I added
rem *** ManHook ***
ObjectTemplate.create Hook ManHook
ObjectTemplate.attachRadius 1.5
ObjectTemplate.drawAttachRadius 0
ObjectTemplate.hookWidth 2
ObjectTemplate.hookLength 2
to the Objects\Items\BaseKit\Objects.con file

Then I added
ObjectTemplate.addTemplate ManHook
ObjectTemplate.setPosition 0/1.5/0

To each kit in Items\ARVN\recon\Objects.con
This was done in ALL kits available. It doesn't work and it doesn't cause any crashes. My thinking was to create a Hook called manhook in a central place. Then add the template into any kit that was spawned. Question where is Hook defined so that it can be created. Has anyone actaully managed to attach a hook to a soldier?

Author:  Losnar [ Sun Mar 09, 2008 12:06 pm ]
Post subject:  Re: Manhook

see my thread on the removal of "networkable info"

viewtopic.php?f=23&t=3753&hilit=adding+engines

I added hooks to soldiers using that method and it worked server side.

Author:  Gort [ Tue Mar 11, 2008 8:46 pm ]
Post subject:  Re: Manhook

Thanks I did read that. Notice that I do not use networkable info. I am not using the MuttHook but creating a new type of hook. I guess my real question would be where to remove the networkable info from the Hook. I ask this way because all of the hookable vehicles create their own hook (MuttHook, M110Hook, M113Hook, SheridanHook etc).

Author:  NDJason2009 [ Tue Mar 11, 2008 9:58 pm ]
Post subject:  Re: Manhook

I'm thinking that you can't create your own hook and have it work server side. If you're wanting to do it SSM, you need to use Losnar's method and use a hook that already exists in the game.

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