Home   Help Search Login Register  

Author Topic: Groud to Air machine gun trail  (Read 2652 times)

0 Members and 1 Guest are viewing this topic.

Fox-Mjr-GrimReaper

  • Guest
Groud to Air machine gun trail
« on: 24 Mar 2003, 21:59:46 »
 ???im puzzled i've been making paratrooper missions for a while now but i've only got a flack script and it's just not good enough, in BoB u notice those bullets flying in the air and they shoot king of randomly  :help: i suck at scripting...probally cuz im lazy but u got to admit para missions in live fire is cool..but plz if u find a script make sure its for 1.46 since my clan all got  that version...if its good ill try to post it somewhere....maybe w/  WW2 addons
 :cheers:http://

_hammy_

  • Guest
Re:Groud to Air machine gun trail
« Reply #1 on: 02 Apr 2003, 03:12:13 »
hmmm... i dont know what "BoB" is... so im guessing its a computer game.

Since "BoB" is a different game, OFP has nothing to do with it. :P

And as far as i know its not possible to do it, unless you use the drop command to move particles around and such. :)
« Last Edit: 02 Apr 2003, 03:12:49 by HAMMY »

registered_fugitiv

  • Guest
Re:Groud to Air machine gun trail
« Reply #2 on: 02 Apr 2003, 12:48:10 »
BoB is Band of Brothers
and it should be possible although i dont know how to script

Josef

  • Guest
Re:Groud to Air machine gun trail
« Reply #3 on: 03 Apr 2003, 18:51:12 »
I know a way, im to lazy to make the script:P

Just have the desired gun in some position, make a GL somewhere, and make it dofire the Gl...

red devil

  • Guest
Re:Groud to Air machine gun trail
« Reply #4 on: 05 Apr 2003, 11:49:11 »
tho i have not tryed that i am pretty certain it will not not work, ceating bullits is one of the hardest thing to do  but I belive it is posible to camcreate them  ;D

titan

  • Guest
Re:Groud to Air machine gun trail
« Reply #5 on: 07 Apr 2003, 21:11:17 »
well firstly, i dont think u can dofire at a GL. I tried the other night and it didnt work. So if anyone knows how then plz let me know.

Also i tried to make a heat120 shell using camcreate and having it created 100m in the air. I then tried to destroy it, but it didnt work.

But i will keep looking for alternatives for 'nice looking' AA fire, if i find smething i will let u know Fox.

Pandoz

  • Guest
Re:Groud to Air machine gun trail
« Reply #6 on: 08 Apr 2003, 05:53:21 »
alright...i havent been active for quite some time now in OFP do to some unfortunate loss of friends in an accident. When i saw this post i HAD to reply. I had made a very similar post and compared it to Iraq videos that showed their AAA guns shooting into the air and all u saw was tracers flying everywhere, u heard crackles...and it kicked ass cause it was in nightvision...I started a script a while ago...and ill post it...but it isnt good since i never took the time to learn a lot about it and i never tested this one...theoretically it just takes a point...camcreates bullets...and sets their velocity making them shoot up...u could use the random 100 type of thing to make it look like it was firing from all over the place.

PLEASE dont criticize my script....i KNOW IT SUX but i just wanted to throw an idea and a general format of which u can base ur awesome script off of.

Pandoz

ATTACHED is the SCRIPT

titan

  • Guest
Re:Groud to Air machine gun trail
« Reply #7 on: 08 Apr 2003, 19:11:12 »
Sry to here about your loss.



How do i put ur script into action?

titan

  • Guest
Re:Groud to Air machine gun trail
« Reply #8 on: 08 Apr 2003, 20:33:21 »
i got it to work, i played around with the velocity to make it slower/faster, i also gave it a slight angle so it looks like its aiming in the distance. One thing i was horrifed was that if you replace Cannon30HE for SoldierWB, it doesnt shoot him into the air! It only creates him where he shld shoot off!!! Oh well, shame i cldnt get that one...wld of been funny! Oh i also added a flare to the end of the script, so it looks like the rounds going off are greating realistic light around them!

Pandoz

  • Guest
Re:Groud to Air machine gun trail
« Reply #9 on: 09 Apr 2003, 03:55:00 »
Thanks.... Ya i messed around with some stuff like that before...i had it launching M1A1's somehow...but i really dont remember. Besides...it lagged after launching 1 or 2 up there lol. Im glad that you messed with it and got the flare thing working...i hope you can improve it alot since that is just a quicky base script..   Good luck

Pandoz

O Neil

  • Guest
Re:Groud to Air machine gun trail
« Reply #10 on: 09 Apr 2003, 11:03:07 »
Hey

I checked out your script, it's cool as, only 2 things:

\  I couldn't get the other "Car3"'s to work, you know, I only got the 1st guy to shoot

\  How did you get it to go slower and change angle??? Can you send me the script? And tell me how you did it?

Thxs

O Neil ;)

PS: o.neil@paradise.net.nz

titan

  • Guest
Re:Groud to Air machine gun trail
« Reply #11 on: 09 Apr 2003, 21:47:06 »
well just to help things for you first....open up the script and take a look at the first command...

_car = "Bullet7_6" CamCreate [(getpos _target select 0)+1, (getpos _target select 1)+1,(getpos _target select 2)+1]
_car setVelocity [0,random 5,300]


most of the stuff u prob know, _car is the bullet name, "Bullet7_6" is the object. ANd the rest of that command is positioning.
The second command is where the bullet goes, _car is the name of the bullet u want to go sme where. setVelocity is the command and the bit u origanly want is the angle and speed...

[0,random 5,300]

0 = the angle (0 is straight up)

random 5 = ?? (not quiet sure)

300 = speed.



once i change this script so i think its alot better i will send it, i will start tonight...might do it by Fri as i have things to do!

titan

  • Guest
Re:Groud to Air machine gun trail
« Reply #12 on: 09 Apr 2003, 22:52:39 »
new idea, what im going to work on using the commands from the Tracer_Sky script, is a way of making it look like burst scatter fire. How i will do this is by making a Game Logic and getting the bullets to create from it, then i will have the GL going a loop of way points. So it shld like bullets are being scattered.

Im working on this now, if i finish it, i will post a copy here.
(prob be a mission witht the scipt).

O Neil

  • Guest
Re:Groud to Air machine gun trail
« Reply #13 on: 11 Apr 2003, 07:05:45 »
Thxs titan, you rule man ;)

O Neil

titan

  • Guest
Re:Groud to Air machine gun trail
« Reply #14 on: 13 Apr 2003, 18:24:02 »
ok, attached is a mission with a view of those altered aa guns. What i also did was add a couple of flak guns! which explodes a shell120 in the air at diff heights. U start in a plane flying at about 430, also with NV Goggles, but if u want to stay in one place and see what it looks like...then just make ur self a man!