Project X Forums http://px.worms2d.info/forum/ |
|
re-aim on turn begin sight http://px.worms2d.info/forum/viewtopic.php?f=5&t=57 |
Page 1 of 1 |
Author: | Atr0x [ Sun Mar 07, 2010 1:32 pm ] |
Post subject: | re-aim on turn begin sight |
how to make a re-aiming on turn begin sight? for a re-aiming sight in bng scheme. |
Author: | Atr0x [ Sat Mar 20, 2010 3:06 pm ] |
Post subject: | Re: re-aim on turn begin sight |
this script is kindly make from Undefined it reaming the weapons sight on worm turn begin good to use in BnG scheme Code: var WeaponResetted : Boolean; procedure InitHooks; begin RegisterHook('TurnBegin', On_Turn_begin); RegisterHook('Frame', On_Frame); end; { ------------------------- } procedure TurnBegin; begin WeaponResetted := False; end; procedure Frame; var CurW : TWorm; begin CurW := GetTekWormObj; if CurW = nil then exit; if CurW.SelWeapon <> nil then begin if not WeaponResetted then CurW.WeapAngle := 0.5; WeaponResetted := True; end; end; ________________________________________________________________________________ however there is a bug : when use the girder then the game return other girder and can' t make the retrat, you have to need click the left mouse two time to continue and make the retrat time . anyone can add script to make the antilock power (type the test stuff 5 )and add together the reaming sight. with this add the script will be better and most complete... |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |