Home   Help Search Login Register  

Author Topic: a few questions  (Read 786 times)

0 Members and 1 Guest are viewing this topic.

Panther

  • Guest
a few questions
« on: 20 Dec 2004, 09:17:39 »
hey all havent done ofp for like a year and picked it up again.

my questions are :

1)
Cant seem to find in the readme's of bas addons the ammo and weapon name of the M136 AT4 Launcher so if u have that name plz tell.

2)
and secondly a good respawn with weapon script (Had one before but i lost it) where i can make my own load out in.

3)
and thirth i want to make it so that in a mission im making if u shoot a civilian u get send to jail or remote island. And when they are all in jail end the mission. Have nothing of this yet.

so if annyone can help me plz do

well thx for the trouble and greetz  :D Panther
 
« Last Edit: 20 Dec 2004, 12:38:35 by Panther »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:a few questions
« Reply #1 on: 20 Dec 2004, 13:03:06 »
3.  Add eventHandler "killed" to each civvy in the mission, so that if he is killed you can grab the killer and setPos him to whereever.
Plenty of reviewed ArmA missions for you to play

GI-YO

  • Guest
Re:a few questions
« Reply #2 on: 20 Dec 2004, 14:45:07 »
1)WEAPONS
=======
Weapon Name
Weapon Classname
Magazine Classnames


M4 SOPMOD, ACOG Optics
wpn:   BAS_JM4ACOG
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag

M4 SOPMOD, ACOG Optics w/ Silencer
wpn:   BAS_JM4ACOGS
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag

M4 SOPMOD, ACOG Optics, w/ Masterkey Shotgun
wpn:   BAS_JM4MKACOG
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_12Gauge_Shotgun_Mag

M4 SOPMOD, Reflex Optics
wpn:   BAS_JM4REFLEX
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag

M4 SOPMOD, Reflex Optics w/ Silencer
wpn:   BAS_JM4REFLEXS
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag

M4 SOPMOD, Reflex Optics w/ M203 Grenade Launcher
wpn:   BAS_JM4ReflexM203
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M4 SOPMOD, Reflex Optics w/ M203 Grenade Launcher and Silencer
wpn:   BAS_JM4ReflexSM203
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M4 SOPMOD, Reflex Optics w/ Masterkey Shotgun
wpn:   BAS_JM4MKReflex
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_12Gauge_Shotgun_Mag

M4 SOPMOD, EoTech 551 Optics
wpn:   BAS_JM4EOTech
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag

M4 SOPMOD, EoTech 551 Optics w/ Silencer
wpn:   BAS_JM4EOTechS:
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag

M4 SOPMOD, EoTech 551 Optics w/ M203 Grenade Launcher
wpn:   BAS_JM4EOTechM203
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M4 SOPMOD, EoTech 551 Optics w/ M203 Grenade Launcher and Silencer
wpn:   BAS_JM4EOTechSM203
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M4 SOPMOD, Aimpoint CCO Optics
wpn:   BAS_JM4Aimpoint
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag

M4 SOPMOD, Aimpoint CCO Optics w/ Silencer
wpn:   BAS_JM4AimpointS
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag

M4 SOPMOD, Aimpoint CCO Optics w/ M203 Grenade Launcher
wpn:   BAS_JM4AimpointM203
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M4 SOPMOD, Aimpoint CCO Optics w/ M203 Grenade Launcher and Silencer
wpn:   BAS_JM4AimpointSM203
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M14 Rifle, Aimpoint Optics
wpn:   BAS_JM14AIMPOINT
mag:   JAM_W762_20mag OR JAM_W762_20HDmag OR BAS_M14Mag

M14 Rifle, ACOG Optics
wpn:   BAS_JM14DMR
mag:   JAM_W762Sniper_20mag

M24 Sniper Weapon System
wpn:   BAS_JM24SWS
mag:   JAM_W762_5mag OR BAS_M24Mag

SR-25 Rifle
wpn:   BAS_JSR25
mag:   JAM_W762Sniper_20Mag

SR-25 Rifle w/ Silencer
wpn:   BAS_JSR25S
mag:   JAM_W762Sniper_20SDMag

H&K MP5 SD6
wpn:   BAS_JMP5SDAimpoint
mag:   JAM_MP5SBASDmag OR BAS_MP5SDMag

M249 Squad Automatic Weapon
wpn:   BAS_JM249
mag:   JAM_W556M_200mag OR JAM_W556M_200HDmag OR BAS_M249Mag

M249 Special Purpose Weapon
wpn:   BAS_JM249SPW
mag:   JAM_W556M_200mag OR JAM_W556M_200HDmag OR BAS_M249Mag

M249 Special Purpose Weapon w/ Silencer
wpn:   BAS_JM249SPWSD
mag:   JAM_W556M_200SDmag OR JAM_W556M_200SDHDmag

M240 Machinegun
wpn:   BAS_JM240B
mag:   JAM_W762M_100mag OR JAM_W762M_100HDmag OR BAS_M240Mag

SIG P226 9mm
wpn:   BAS_JP226
mag:   JAM_M9mag

Colt M1911
wpn:   BAS_JM1911
mag:   JAM_M1911mag


DESERT VERSIONS

M4 SOPMOD, ACOG Optics
wpn:   BAS_JM4desACOG
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag

M4 SOPMOD, ACOG Optics w/ Silencer
wpn:   BAS_JM4desACOGS
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag

M4 SOPMOD, ACOG Optics, w/ Masterkey Shotgun
wpn:   BAS_JM4desMKACOG
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_12Gauge_Shotgun_Mag

M4 SOPMOD, Reflex Optics
wpn:   BAS_JM4desREFLEX
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag

M4 SOPMOD, Reflex Optics w/ Silencer
wpn:   BAS_JM4desREFLEXS
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag

M4 SOPMOD, Reflex Optics w/ M203 Grenade Launcher
wpn:   BAS_JM4desReflexM203
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M4 SOPMOD, Reflex Optics w/ M203 Grenade Launcher and Silencer
wpn:   BAS_JM4desReflexSM203
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M4 SOPMOD, Reflex Optics w/ Masterkey Shotgun
wpn:   BAS_JM4desMKReflex
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_12Gauge_Shotgun_Mag

M4 SOPMOD, EoTech 551 Optics
wpn:   BAS_JM4desEOTech
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag

M4 SOPMOD, EoTech 551 Optics w/ Silencer
wpn:   BAS_JM4desEOTechS:
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag

M4 SOPMOD, EoTech 551 Optics w/ M203 Grenade Launcher
wpn:   BAS_JM4desEOTechM203
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade

M4 SOPMOD, EoTech 551 Optics w/ M203 Grenade Launcher and Silencer
wpn:   BAS_JM4desEOTechSM203
mag:   JAM_W556_30SDmag OR JAM_W556_30SDHDmag OR BAS_M4SMag, JAM_M433grenade OR JAM_M433vest OR BAS_M433grenade


M24 Sniper Weapon System
wpn:   BAS_JM24desSWS
mag:   JAM_W762_5mag OR BAS_M24Mag


EDIT - Just noticed that its not on there, but is in the JAM2 readme, called AT4 rocket.

GI-YO
« Last Edit: 20 Dec 2004, 14:49:55 by GI-YO »

Offline Baddo

  • Former Staff
  • ****
  • Reservist Jaeger
Re:a few questions
« Reply #3 on: 20 Dec 2004, 14:54:12 »
1)

BAS_AT4Launcher

BAS_AT4Rocket

Panther

  • Guest
Re:a few questions
« Reply #4 on: 22 Dec 2004, 13:52:58 »
well im new in this event handler and try to make it out but cant seem to find how it works :).

 Could u tell to me what should be in the initfield of the civil ? tryed al kind of stuff but dosnt seem to work.

i want to move the shooter or killer to a invissible H
« Last Edit: 22 Dec 2004, 13:58:29 by Panther »

Offline Baddo

  • Former Staff
  • ****
  • Reservist Jaeger
Re:a few questions
« Reply #5 on: 22 Dec 2004, 21:35:13 »
Hmm...

This is what you need.

To init field of the civilian:

this addEventHandler ["killed",{_this select 1 setpos getpos jail}]

There's an example in the attachment.

You should put the same event handler to all necessary civilian init fields, of course.

Panther

  • Guest
Re:a few questions
« Reply #6 on: 23 Dec 2004, 16:31:17 »
thanks

Lean Bear

  • Guest
Re:a few questions
« Reply #7 on: 23 Dec 2004, 21:43:05 »
2. Check the ed depot - I recall there being one there that exactly matches your description.