Forum Jump :

Author Message

Lynoc  



Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2009-05-21 01:10        
     
Hey everyone, when your flying a aiplane with bombs i cant see where the blow up so is there a way you can watch it when you realese it?

This post was edited by Foxhound (2009-05-21 11:24, ago)


Author Message


Posts: 20707
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 44
In-game name: Foxhound

 
#2 Posted at 2009-05-21 11:23        
     
What about looking behind you? Turning around?

You could edit all missions you are playing in SP to add a "view bomb" script where you can follow the bombs falling to target. But it will only work in the missions you edit yourself, not in MP.


Advertisement


Author Message


Posts: 35
Rank:


Level: Member

Country: us
Location: Columbus Ohio
Occupation: pizza driver
Age: 30
In-game name:

 
#3 Posted at 2009-05-23 02:13        
     
couldnt seem to find the script in the editing guide on here. Would you know the script


Author Message


Posts: 20707
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 44
In-game name: Foxhound

 
#4 Posted at 2009-05-23 09:56        
     
Just a script I made a long, long, very long time ago.

Add this to the init of the plane:
this addeventhandler ["FIRED",{_this exec "cam.sqs"}];
And add this script to your mission:
hint format ["%1\n%2\n%3\n%4",(_this select 0),(_this select 1),(_this select 2),(_this select 3)]
_cam = "camera" camcreate getpos (_this select 0)
_cam cameraeffect ["internal", "back"]
_i = 0

setacctime 0.4

_bomb = nearestObject [_this select 0, _this select 4]

#loop
_cam camPrepareTarget _bomb
_cam camPrepareRelPos [1.44,-4,1.3]
_cam camPrepareFOV 1.1
_cam camCommitPrepared 0
_i = _i + 1
?isnull _bomb : goto "end"
goto "loop"

#end
_cam camsettarget cam1
_cam camsetrelpos[20,-20,5]
_cam camCommit 0
~1

setacctime 1
_cam cameraeffect ["terminate", "back"] 
camdestroy _cam

exit


Keep it simple, first add this script to a test mission in the editor just to see what it does instead of screwing around in the missions you are playing.


Author Message

Lynoc  



Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#5 Posted at 2009-05-28 01:02        
     
thank you!