OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Diabetic on 18 Feb 2004, 13:34:28

Title: Changing Weapons
Post by: Diabetic on 18 Feb 2004, 13:34:28
Hello. I'm having some trouble with the initialisation box and changing weapons. An example of what i have done so far;
       
this removeweapon “m16”, B addweapon “m21”, this addmagazine “m21"

Its the add magazine part thats the bitch, it just doesnt add the ammo? I'm left with an empty sniper rifle! Please help. ???

At the moment i'm not to interested in using external scripts, i'll do that later on.
Title: Re:Changing Weapons
Post by: dmakatra on 18 Feb 2004, 13:41:39
You need to put addmagazine before addweapon.

:beat: *Gets Shot* :beat:
Title: Re:Changing Weapons
Post by: Diabetic on 18 Feb 2004, 13:52:27
Thank you, The Real Armstrong :D
Title: Re:Changing Weapons
Post by: PsyWarrior on 18 Feb 2004, 14:16:13
Greetings,

Please, for the sake of the moderators, search the forums before posting. This question comes up every couple of days, and is mentioned in a couple of tutorials too.

-[ REMOVED by PsyWarrior ]-

[ It has come to my attention that the comments posted here were open to...interpretation. My intention was simply friendly advice for a new OFP editor, not patronisation, aggravation or anything else. ]

Thankyou,

-Supreme Commander PsyWarrior
-Psychic Productions Studios.
Title: Re:Changing Weapons
Post by: rhysduk on 18 Feb 2004, 16:04:20
What the hell is ur problem Psy ? It was a decent and common question that Diabetic asked... so common that it can be asnwered quite quickly and the topic closed ina matterr of hours...

I myself use the search function and its not all that reliable (no offense OFPEC) due to thte fact that people use stupid topic headers... but i wont go into that now...

Rhys
Title: Re:Changing Weapons
Post by: PsyWarrior on 18 Feb 2004, 16:16:54
Greetings,

[psychotic] I just get so angry! And my fingers! they bleed all over the keyboard! [/psychotic]

I apologise that my post has caused you offense, Rhysduk. I just wanted to give a gentle, friendly reminder to new editors that the search button is always there. I could have easily said
"look you bloody idiot, why didn't you search",
but I believe everyone has the right to make mistakes without being savaged by those around them. God knows, I make enough of them.  ::)

Quote
What the hell is ur problem Psy ?

My problem? I'm a psychopathic maniac. Try not to hold it against me.

Apologies,

-Supr. Cmdr. PsyWarrior
-Psychic Productions
 8)

P.S. Any more criticism of me via IM's please. It's not necessary to clutter up other people's topics with my deep psychological problems.
Title: Re:Changing Weapons
Post by: Iwesshome on 18 Feb 2004, 16:19:05
@PsyWarrior

Diabetic had a valid question for an issue he needed resolved. Armstrong was able to correctly and effectively engage the question and assist him. That's why we come here is to help find answers. Yes, there been a lot of tutorials and snippets, etc. but there is nothing wrong with a quick check from time to time.

@Rhys

Lets not turn this into a flame war but thank you for your opinion.

[EDIT] Just saw your additional post PsyWarrior - Scratch my response  ;D
Title: Re:Changing Weapons
Post by: rhysduk on 18 Feb 2004, 16:33:25
;D Ok, Enough said ...
Lets sit, back, relax, smoke a bong and have a  :cheers:
Title: Re:Changing Weapons
Post by: PsyWarrior on 18 Feb 2004, 16:47:40
Well said :thumbsup:

As far as I'm concerned, this matter is closed  ;D 8)

-PsyW