Quantcast

Jump to content

» «
Photo

Simple PainExpression Script

4 replies to this topic
representa
  • representa

    Thug

  • Members
  • Joined: 30 Jun 2013

#1

Posted 01 September 2013 - 02:16 AM

Could somebody be kind enough to create a .cs script that plays a pain facial animation whenever the character recieves damage, I would attemp this myself but VB wont access the scripthook files whenever I try to add it,

I would like to use this script along with the "ragdoll by pain" mod, since the mod doesnt add facial expressions

If somebody would help me with this it would be highly appreciated.

pedro2555
  • pedro2555

    Open Sourcer

  • Members
  • Joined: 02 Sep 2012
  • Portugal

#2

Posted 01 September 2013 - 10:21 AM

What exactly do you mean by 'VB wont access the scripthook files' ?

representa
  • representa

    Thug

  • Members
  • Joined: 30 Jun 2013

#3

Posted 06 September 2013 - 08:03 AM

I get an error message whenever I try to reference the Scripthook file... my only guess is my version of Visual Basic is different from the one the Scripthook was made with, I really dont know.

What exactly do you mean by 'VB wont access the scripthook files' ?


pedro2555
  • pedro2555

    Open Sourcer

  • Members
  • Joined: 02 Sep 2012
  • Portugal

#4

Posted 06 September 2013 - 11:37 AM

You need to reference the development file, not the deployment one. Check the folder 'for developers' in the .NET Scripthook files.


representa
  • representa

    Thug

  • Members
  • Joined: 30 Jun 2013

#5

Posted 06 September 2013 - 03:57 PM

Ok that makes alot of sense, Thanks!

You need to reference the development file, not the deployment one. Check the folder 'for developers' in the .NET Scripthook files.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users