Home   Help Search Login Register  

Author Topic: LGB's out of nowhere  (Read 768 times)

0 Members and 2 Guests are viewing this topic.

gadolinite

  • Guest
LGB's out of nowhere
« on: 03 Jun 2003, 02:21:28 »
 ???How is it that you create Laser Guided bombs to fall inside a trigger area (only) during a cutscene?

 ???They just told me to do it in the hot topic 'Destruction Inside Trigger' ???

asmodeus

  • Guest
Re:LGB's out of nowhere
« Reply #1 on: 03 Jun 2003, 02:48:06 »
In your camera script put:

bomb="LaserGuidedBomb" CamCreate (Getpos f1)

where f1 is a named object.   ;)  Or you could put that line in a trigger as well, I believe.  (try it out)

Asmo

O Neil

  • Guest
Re:LGB's out of nowhere
« Reply #2 on: 03 Jun 2003, 08:15:49 »
Hey

Or this ;) :

flare1="shell125" camcreate[getpos dude select 0, getpos dude select 1,50]

O'Neil ;)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:LGB's out of nowhere
« Reply #3 on: 03 Jun 2003, 12:59:22 »
In your camera script put:

bomb="LaserGuidedBomb" CamCreate (Getpos f1)

where f1 is a named object.   ;)  Or you could put that line in a trigger as well, I believe.  (try it out)

Asmo


Just write that name (F1) in the NAME field of the trigger itself (not the TEXT field)  :o 8) :-*

l8r

Iwesshome

  • Guest
Re:LGB's out of nowhere
« Reply #4 on: 03 Jun 2003, 20:32:31 »
So that will get the bomb to hit a specific target?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:LGB's out of nowhere
« Reply #5 on: 03 Jun 2003, 20:36:52 »
it wil create da bomb on da position u specified - f1 in asmos example ;)

if its in da sky da bomb wil fall till it hit somin

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Kaliyuga

  • Guest
Re:LGB's out of nowhere
« Reply #6 on: 03 Jun 2003, 20:38:31 »
 it will hit whatever you've named and  then defined in the camcreate code:


in Tomby's example   F1 = your trigger...

bomb is created at F1

in O'Neil's example  (which won't get you an LGB by the way ;) )

the bomb would be created 50 meters above the unit/vehicle/etc that you named dude

if you skip the setpos stuff the bomb will be created at the feet of the unit named dude

:toocool:

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:LGB's out of nowhere
« Reply #7 on: 03 Jun 2003, 20:40:50 »
LCD 1 - Kali 0 :P

m fast  :o  ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Iwesshome

  • Guest
Re:LGB's out of nowhere
« Reply #8 on: 03 Jun 2003, 20:41:14 »
Quote
bomb="LaserGuidedBomb" CamCreate (Getpos f1)

Im sorry I wasn't to specific.... If I understood you correctly the bomb that you camcreated will strike the object you assigned in this case as you pointed out f1

Is this an instant strike?

I was thinking bomb starts at 500m and your camera is on its ass till it hits the target... possible?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:LGB's out of nowhere
« Reply #9 on: 03 Jun 2003, 20:43:15 »
u can create it somwere nd use setvelocity 2 fly it were u want ;)

just remember dat bombs dat r not LGBs have life span of 10 secs  :o

nd u wil need 2 calculate da velocity neede  :-\ im just starter 2 phisics so cant do dat yet  :(

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Kaliyuga

  • Guest
Re:LGB's out of nowhere
« Reply #10 on: 03 Jun 2003, 20:46:43 »
 Yeah.. the code you posted  would be an instant strike literally at the feet of poor old F1

if you used the code O'neil gave  it would create your bomb at 50 meters above the named target and then let gravity do the rest....

« Last Edit: 03 Jun 2003, 20:47:38 by Kaliyuga »

Iwesshome

  • Guest
Re:LGB's out of nowhere
« Reply #11 on: 03 Jun 2003, 20:57:21 »
Ok... understand

Thanks