Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Thu May 02, 2024 3:19 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Manhook
PostPosted: Sun Mar 09, 2008 3:18 am 
Offline

Joined: Mon Mar 03, 2008 1:01 am
Posts: 2
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?


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Manhook
PostPosted: Sun Mar 09, 2008 12:06 pm 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209
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.

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Manhook
PostPosted: Tue Mar 11, 2008 8:46 pm 
Offline

Joined: Mon Mar 03, 2008 1:01 am
Posts: 2
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).


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Manhook
PostPosted: Tue Mar 11, 2008 9:58 pm 
Offline

Joined: Thu Mar 08, 2007 10:31 pm
Posts: 103
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.


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.  [ 4 posts ] 

All times are UTC


Who is online

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