Jump to content

A Couple of Scripting Problems


Twstdsyzygy

Recommended Posts

scn TwstdShotgunKnockdownScript

 

ref MySelf

ref MyTarget

 

Begin ScriptEffectStart

 

set MyTarget to GetCombatTarget

If MyTarget GetDistance Player <= 10

set MySelf to GetSelf

player.pushactoraway player 25

Else

EndIf

endif

End

 

 

have you tried this????

Link to comment
Share on other sites

scn J3XMotorcycleDamageScript

float force

ref self

begin scripteffectstart

if GetIsReference player != 1

set force to Player.getav SpeedMult/6

if getdead == 0

set self to getself

damageAV health force

set force to Player.getav SpeedMult/10

player.pushActorAway self force

sendassaultalarm

player.pushActorAway self force

endif

endif

end

 

try this its from a mod i am converting

Link to comment
Share on other sites

im not running the script extender because i cant update, Amazon sent me the xbox collectors instead of PC, and i couldnt send it back, because they were out. .....i had to download it. and it wont let me update.

 

 

HUMMMMM WELLL THATS NOT GOOD IS YOUR GAME A TORRENT OR A BOUGHT VERSION ILL TRY AND HELP BUT I NEED TO KNOW

Link to comment
Share on other sites

Hi!

 

If I'm reading this correctly, you basically want your shotgun to have a strong "push" effect or severe knockback properties right? I am currently modding a gun of my own with similar capabilities and here is what I came up with. It works fairly well and you don't need a script for it to work unless you are adding the effect to a bullet or something.

 

I got this idea from the weapon called "pushy", which already has severe knockback and after looking at it, the value that stood out most was the "Kill Impulse" which was set to 50. When I played with the numbers (I put mine to 80 btw) I set the Critical Effect to NONE, and checked the "On Death" box. What ends up happening is that the gun will do some serious damage and you send them flying. Of course, if you have the "On Death" box left unchecked, I think that means everytime you critical you send them flying. If you set your Critical Multiplier to always happen (i.e. 100%) then they'll always be criticaled and will always be sent flying... :O BUT I'm still testing mine. Hope you have better luck on yours ;)

Link to comment
Share on other sites

Hi!

 

If I'm reading this correctly, you basically want your shotgun to have a strong "push" effect or severe knockback properties right? I am currently modding a gun of my own with similar capabilities and here is what I came up with. It works fairly well and you don't need a script for it to work unless you are adding the effect to a bullet or something.

 

I got this idea from the weapon called "pushy", which already has severe knockback and after looking at it, the value that stood out most was the "Kill Impulse" which was set to 50. When I played with the numbers (I put mine to 80 btw) I set the Critical Effect to NONE, and checked the "On Death" box. What ends up happening is that the gun will do some serious damage and you send them flying. Of course, if you have the "On Death" box left unchecked, I think that means everytime you critical you send them flying. If you set your Critical Multiplier to always happen (i.e. 100%) then they'll always be criticaled and will always be sent flying... :O BUT I'm still testing mine. Hope you have better luck on yours ;)

 

 

I will Try that Right now, I dont really want it to kill them all the time, but Critical sounds good. hopefully it wont happen too often.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...