Home   Help Search Login Register  

Author Topic: CamCreate bullets  (Read 829 times)

0 Members and 1 Guest are viewing this topic.

HuNtA

  • Guest
CamCreate bullets
« on: 18 Dec 2002, 18:38:55 »
How do you cam create bullets and how do you make them fire once you have cam created them?

Pandoz

  • Guest
Re:CamCreate bullets
« Reply #1 on: 19 Dec 2002, 06:50:13 »
hmmm...
1. To camcreate u simply put something like bomb="laserguidedbomb" camcreate getpos a1  

explanation...laserguidedbomb is ur ammo type and a1 is an object that is the place the bomb will blow up at.

2. I do not quite understand why u need camcreate for "bullets" if it is for explosives or bombs or something that is the main purpose of the bombing camcreate. normal bullets would be pretty useless in this type of application.

3. U cannot "fire" a camcreate u use the getpos to find the position of a marker or an object (such as a1 in the example above). so u really dont fire them, the bullet/bomb just gets created at the point you have specified    


Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re:CamCreate bullets
« Reply #2 on: 19 Dec 2002, 15:53:39 »
HEh. there are plenty of good applications for camcreated bullets.
Like, say a cutscene where you want a bullet to whizz by the camera and implant itself in someone's head.

I believe it's
mybullet = "Bullet7_7" camcreate [x,y,z]
Not sure of the bullet7_7. Download the commented config from the FP1985 oxygen site.
Once you camcreate it, you need to get it moving.
That's the setvelocity commond.
MyBellut setvelocity [xvector, yvector, zvector]
Dinger/Cfit

Pandoz

  • Guest
Re:CamCreate bullets
« Reply #3 on: 19 Dec 2002, 22:02:59 »
Oh..wow i forgot about the setvelocity command in the res expansion. I am really sorry because i only have the noramal flashpoint version. Ya if u have the set velocity command then u COULD use that to "shoot" the bullets. Once again sorry i forgot about that possible command.but if u dont have Resistance then i believe my first answer is correct. unless ...well it can get VERY complicated but u could use multiple creates using markers...but i am confusing myself so i am gunna leave now and let some1 else help ya if possible  :'(