Home   Help Search Login Register  

Author Topic: Bullets>  (Read 804 times)

0 Members and 2 Guests are viewing this topic.

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Bullets>
« on: 12 Jul 2005, 15:04:38 »
i can create mortor shells, grenades, smokeshells in to the game with the cam create command.
i want to know if its possible to create a bullet from an m16 ? which drops on a location? is there a class name for it?
"If I remain lost and die on a cross, atleast I wasn't born in a manger"

John Smith

  • Guest
Re:Bullets>
« Reply #1 on: 12 Jul 2005, 15:22:11 »
The reason that camcreate works with grenades and stuff is because they can be used with addweapon as well, I think. So therefore, I don't think that you can camcreate one single individual bullet. Plus, I doubt that there is a name for that in the first place. But I'm not sure about all that yet so I'll investigate a bit more.

Offline Pilot

  • Contributing Member
  • **
Re:Bullets>
« Reply #2 on: 12 Jul 2005, 15:28:24 »
Yes, there is a name for it, and yes, it is possible ;)

_shell = "BulletSingle" camcreate getpos Pos

This will  create a slooooow moving bullet at that position.  To give it speed use the setvelocity command

_shell setvelocity [0,1000,0]

Other bullet choices are:
BulletSingleE: I have no idea what the difference is between this one and the top
MachineGun7_6: I'm not sure if this one works
MachineGun7_6Manual: Ditto here
MachineGun12_7: Yeah, ditto here too.

I've only experimented with BulletSingle and BulletSingleE.  I'm getting the machine gun bullets from the offline Comref

-Student Pilot

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Re:Bullets>
« Reply #3 on: 12 Jul 2005, 18:41:38 »
thaks, i am trying to make a training mission where the targets fire back, should be able to get somewhere with the scripts now :)
"If I remain lost and die on a cross, atleast I wasn't born in a manger"

Offline 456820

  • Contributing Member
  • **
Re:Bullets>
« Reply #4 on: 12 Jul 2005, 18:57:12 »
Quote
BulletSingleE: I have no idea what the difference is between this one and the top

well when camcreating soldiers just add E on the end and they turn Russians this may creat an Ak74 round instead of an M16

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Bullets>
« Reply #5 on: 12 Jul 2005, 19:10:13 »
Yeah...
The E versions have different color tracers, and probably some minor differences in the hit values...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Bullets>
« Reply #6 on: 12 Jul 2005, 20:01:24 »
E standing for east.... (i assume)

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Bullets>
« Reply #7 on: 12 Jul 2005, 21:53:48 »
What about "BulletSingleW"..........a West bullet I believe.

"BulletSingle" is the generic bullet.

Then of course there is the "BulletSingleG". ::)


Planck
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:Bullets>
« Reply #8 on: 13 Jul 2005, 00:52:22 »
Lol, I feel like such a noob :P

-Student Pilot