Jump to content
Sign in to follow this  
circassian

Satallite

Recommended Posts

Hi guys,

I'm not a scriptwriter but you can say a modifier

There was a script of the subject created by Sefe a long time ago.. I want to modify it to be worked by "onmapsingleclick" action.. I tried a lot but non works

Here is the script:


_Action = _this Select 0

Goto _Action

Exit

#SHOW

_Position = _this Select 1

SatelliteZoom = 1

ShowCinemaBorder FALSE

Satellite = "Camera" CamCreate [_Position Select 0, (_Position Select 1) - 10, 400]
_Target = "Logic" Camcreate [_Position Select 0, _Position Select 1, 0]

Satellite CameraEffect ["INTERNAL", "BACK"]
Satellite CamSetTarget _Target
Satellite CamSetFOV 2

Satellite CamCommit 0

Exit

#TERMINATE

Satellite CameraEffect ["TERMINATE", "BACK"]
CamDestroy Satellite

ShowCinemaBorder TRUE

Exit

#ZOOMIN


@CamCommitted Satellite
SatelliteZoom = SatelliteZoom + 1
? SatelliteZoom > 5 : SatelliteZoom = 5
Satellite CamSetFOV 2/SatelliteZoom^2
Satellite CamCommit 1
@CamCommitted Satellite

Exit

#ZOOMOUT

@CamCommitted Satellite
SatelliteZoom = SatelliteZoom - 1
? SatelliteZoom < 1 : SatelliteZoom = 1
Satellite CamSetFOV 2/SatelliteZoom^2
Satellite CamCommit 1
@CamCommitted Satellite

Exit

He used 4 radio channels to:

Show

Terminate

ZoomIn

ZoomOut

With this in on activation

["SHOW", GetPos SatPos] Exec "SpySat.sqs"

satpos is the trigger's name..

Any help with this modification?

Share this post


Link to post
Share on other sites

maybe try another pbo maker (like cpbo, amalfi pbo maker.. ) or you try to do a stand-alone addon ??

Share this post


Link to post
Share on other sites

No the problem is not in the patcher or even if I mad it as an addon.

I've extracted the files from it folders and rebuilt the description.txt and I pack it.. But when playing the mission the game freezes and not responded..

I think the problem in the wss and paa files..

The weird thing is when playing in user mission it works perfectly, but when to add it to a campaign file it crashes..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×