Home   Help Search Login Register  

Author Topic: Gurus, please help.  (Read 980 times)

0 Members and 1 Guest are viewing this topic.

Zahael

  • Guest
Gurus, please help.
« on: 02 Feb 2003, 05:12:44 »
Hi, I have got a really good mission almost up and running but there are a few thigns that need polishing and unfortunately, I am all outta luck.

Firstly, I have downloaded the addon which makes a 105 mm FIA artillery gun available.  Its pretty cool, and though an addon with a proper workign artillery and crew for both east and west would be perfect, it'll do teh job.  My problem is that the main character in my story walks into an artillery base, and so I want some of the guns pounding away at distant targets.  THe first problem was that I couldn't get the barrels to point up, so I gave them a target, a game logic object named target 1 and set it a  long way from teh guns.  I used the dotarget and then the dofire commands.  Unfortunately, the guns would not point up.  I set the height of the game logic object to be 200 hundred meters high, and then used the do fire command in a script.  That still didn't work.  I then used an empty bmp and made him the target ands set his int height to be 100 meters. Now he didn't appear 100 meters high, but nevertheless the gunner still traversed his barrel to where he would've been.  Unfortunately, the gunenr didn't fire, (I assume because the bmp was out of view behind some trees) and thats where he stayed, pointing up but not firing.  When I moved the bmp in view, the gunner traversed the barrel to about 100 meters high, then traversed the barrel back down and blew the friggin sh*t out of the bmp :-).  Unfortunately, thats not quite what I want.   And thus, now I am stuck.

Has anyone have any idea how I might achieve what I want to achieve?  Has anyone done anything similar?

Secondly, and more easily, I want a small cutscene to be triggered when a character comes with say 5 meters of another character.  Does anyone know how to do this>

Finally, and thanks for staying with me this far, I have a question that is relative to cutscenes and text.  I have text coming up during my cutscene, fading in for 2 seconds. Problem is I can't get it to fade out quickly enough. The closest I can come up with is using the command "cuttext["", "plain", 2] to remove the writing so the next text can come up.  Is there another way of doing this?

Thanks for all you help

Zahael

Blacky

  • Guest
Re:Gurus, please help.
« Reply #1 on: 02 Feb 2003, 09:03:43 »
Hi mate!

I canÂ't help you with Q 1., coz I have the same problem!!
AI wonÂ't target gamelogics. Maybe you could do it by scripts. Just get the barrel to aim in the sky, and then execute script to make it fire. Someone surely know how to script it. IÂ'll try to find something.

Q 2. Try to put an trigger (make the size 5 and 5) around the character and  use the groups tab (F2) to draw line from your man to trigger. When your unit walks there, cutscene begins!

Good luck!
« Last Edit: 02 Feb 2003, 09:16:38 by Blacky »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Gurus, please help.
« Reply #2 on: 02 Feb 2003, 13:10:32 »
2.     ? dude1 distance dude2 <5:[] exec "cutscene.sqs"

syntax not guaranteed (check out the command reference guide) but the principal works.    The key thing is the command "distance"

3.  Try "cuttext["", "plain", 0.5]
Plenty of reviewed ArmA missions for you to play

vektorboson

  • Guest
Re:Gurus, please help.
« Reply #3 on: 02 Feb 2003, 13:35:54 »
Regarding the barrell, perhaps you would like to use Lester's Invisible Targets?

http://www.aef-kampagne.de/german/Addons/InvTargets/InvTargetsAddon.zip

You may find them under Empty/Targets. Just put one of them into the right height, make dofire and the AI will shoot everything they have  ;D

Zahael

  • Guest
Re:Gurus, please help.
« Reply #4 on: 03 Feb 2003, 14:52:06 »
Hmmmm thanks for that guys.  I haven't tried any yet, but do you have any info on that script that might helP?

Thnaks for all the help

Zahael

Zahael

  • Guest
Re:Gurus, please help.
« Reply #5 on: 04 Feb 2003, 16:26:35 »
Can anybody help out about that scripting thing?