Project X Forums



It is currently Thu Mar 28, 2024 9:48 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: re-aim on turn begin sight
PostPosted: Sun Mar 07, 2010 1:32 pm 
Offline

Joined: Fri Feb 26, 2010 4:44 pm
Posts: 92
how to make a re-aiming on turn begin sight?

for a re-aiming sight in bng scheme.
:D


Top
 Profile  
Reply with quote  
 Post subject: Re: re-aim on turn begin sight
PostPosted: Sat Mar 20, 2010 3:06 pm 
Offline

Joined: Fri Feb 26, 2010 4:44 pm
Posts: 92
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...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Skin by Lucas Kane