Home   Help Search Login Register  

Author Topic: Changing weapon  (Read 5188 times)

0 Members and 1 Guest are viewing this topic.

hex

  • Guest
Changing weapon
« on: 12 Dec 2004, 21:20:45 »
hey,
im a newbie to mission making, bt i know how the init to change a soldiers weapon but it dont work, it doesent say any things wrong with the script and the soldier loses his weapon bt doesent hav the weapon i gave him.. its like it doesent work on my pc

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Changing weapon
« Reply #1 on: 12 Dec 2004, 21:22:50 »
write what you put in their init plz

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Changing weapon
« Reply #2 on: 12 Dec 2004, 21:23:05 »
We can't help you at all.

Basically because we have very little info to go on.

You might want to let us know what you are putting into the init line.



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

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Changing weapon
« Reply #3 on: 12 Dec 2004, 21:24:37 »
you're late planck, should pick up the pace  ;D
« Last Edit: 12 Dec 2004, 21:24:51 by Triggerhappy »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Changing weapon
« Reply #4 on: 12 Dec 2004, 21:25:23 »
The budgie distracted me.


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

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Changing weapon
« Reply #5 on: 12 Dec 2004, 21:26:19 »
budgie?  :P

hex

  • Guest
Re:Changing weapon
« Reply #6 on: 12 Dec 2004, 21:26:49 »
i am puting

removeallweapons this; this addmagazine "Flpmm4a1bcmag"; this addweapon "Flpm4a1m203cmag"

Note the " i dnt actually put in the script and i repeat the Addmagazine part so i have enuff ammo

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Changing weapon
« Reply #7 on: 12 Dec 2004, 21:28:26 »
Try:

removeallweapons this; this addmagazine "Flpmm4a1bcmag"; this addweapon "Flpm4a1m203c"

Only a guess mind as I don't know this weapon.

Budgie......Budgerigar.........a birdie......sitting on my head telling me he is a 'pretty boy' and a 'sexy buddy'.


Planck
« Last Edit: 12 Dec 2004, 21:30:35 by Planck »
I know a little about a lot, and a lot about a little.

hex

  • Guest
Re:Changing weapon
« Reply #8 on: 12 Dec 2004, 21:30:47 »
nah its the rite weapon name cos i also tried it on a sniper but instead of that weapon i used the games M16 bt still didnt work

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Changing weapon
« Reply #9 on: 12 Dec 2004, 21:35:23 »
I would check and double/triple check that the magazine and weapon name are correct.


Planck
« Last Edit: 12 Dec 2004, 21:35:44 by Planck »
I know a little about a lot, and a lot about a little.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Changing weapon
« Reply #10 on: 12 Dec 2004, 21:36:49 »
you are giving him these through a script you say? why? just use the init line. and that should work..... ???

hex

  • Guest
Re:Changing weapon
« Reply #11 on: 12 Dec 2004, 21:38:47 »
lol thats wot i meant (newb) and i hav got the mag name and that rite

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Changing weapon
« Reply #12 on: 12 Dec 2004, 21:41:54 »
But......they don't really match:

Flpmm4a1bcmag
Flpm4a1m203cmag


Both are magazines.......no weapon

Which is correct?


Planck
« Last Edit: 12 Dec 2004, 21:43:14 by Planck »
I know a little about a lot, and a lot about a little.

hex

  • Guest
Re:Changing weapon
« Reply #13 on: 12 Dec 2004, 21:45:42 »
no

weapon Flpm4a1m203cmag

mag flpm4a1bcmag

if u want il copy n paste the walk thru on here so u can c for ur self

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Changing weapon
« Reply #14 on: 12 Dec 2004, 21:47:24 »
perhaps you could post the config section concerning this, that will settle it once and for all