Sign in to follow this  
Viking

permanent player clone

Recommended Posts

Hey guys, i need your help with a short project.

 

I would like to write a plugin to spawn a permanent player clone because the clone created for the corpses disappears after some time.

Spawning a new (permanent) entity with the correct model finally works but I have no idea how to assign an animation to it.

 

After digging into the asm code of the clonePlayer() function i found an interesting part.

https://github.com/callofduty4x/CoD4x_Server/blob/ac7401267510cd1758c8c5380298a00502eb3e4d/src/asmsource/_xanim.asm#L11577

 

Is there any chance that you (dev team) or anybody else reverses this function and its releated subfunctions for me? :)

 

 

Greetings

Viking

Share this post


Link to post
Share on other sites

Okay...

 

Any chance to include the assembly source to the plugin then?

Calling the assembly function from the plugin function might work too.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this