Home   Help Search Login Register  

Author Topic: purchase script for resistance  (Read 2687 times)

0 Members and 1 Guest are viewing this topic.

dj_flash

  • Guest
purchase script for resistance
« on: 02 Sep 2002, 23:32:35 »


[attachment deleted by admin]

Fishion

  • Guest
Re:purchase script for resistance
« Reply #1 on: 03 Sep 2002, 17:23:32 »
I've tried to fool around with the Addweapon Command,
which works well for AI units but only works once per mission
and weapon-slot (don't know why) for the Player...
so far I don't see much other chance than to actually put
the weapon in an "Weapon-Holder" (like dropping it) or
in an Ammo-Box.

-Fishion

Soldier8Boy

  • Guest
Re:purchase script for resistance
« Reply #2 on: 04 Sep 2002, 05:24:48 »
Could I make a request of you, dj_flash, please? I'm not sure of where the pics of the resistance pistols and ammo are. Could you make a new version that includes one pic, please?

Thanks

dj_flash

  • Guest
Re:purchase script for resistance
« Reply #3 on: 04 Sep 2002, 13:32:20 »
The images for the resistance stuff are under
\o\Guns\....

But the hand guns do not have the same naming conventions like the normal weapons.

Here is an configuration example:

Some ] get killed by the Forum so be carefull with copy&paste.

_ItemsToBuy = _ItemsToBuy + ["Uzi","\o\Guns\w_uzi.paa",400,2,"Weapon",["UZI",1]]];
_ItemsToBuy = _ItemsToBuy + ["5 Uzi Magazine","\O\Guns\m_uzi.paa",15,10,"Magazine",["UZIMag",5]]];

_ItemsToBuy = _ItemsToBuy + ["Scorpion","\o\Guns\skorpion.paa",400,2,"Weapon",["Skorpion",1]]];
_ItemsToBuy = _ItemsToBuy + ["5 Scorpion Magazine","\O\Guns\m_uzi.paa",15,10,"Magazine",["SkorpionMag",5]]];

I will make a newer version later when i have more time.
« Last Edit: 04 Sep 2002, 13:37:54 by dj_flash »

vektorboson

  • Guest
Re:purchase script for resistance
« Reply #4 on: 15 Sep 2002, 14:28:20 »
I've tried to fool around with the Addweapon Command,
which works well for AI units but only works once per mission
and weapon-slot (don't know why) for the Player...

It surely works! If there is no text in the upper-left corner showing your weapon then press SPACE (or your key for changing weapons), this should actually work.

@dj_flash
If you'd like to keep player's weapons you had eventually to make a backpack system, or like Fishion already said, you can create a weapon holder.

Gameer_77

  • Guest
Re:purchase script for resistance
« Reply #5 on: 15 Sep 2002, 16:03:06 »
A Back-pack system...GENIOUS!!!!!  ::)

 8)PEACE

mcnils

  • Guest
Re:purchase script for resistance
« Reply #6 on: 01 Oct 2002, 09:09:40 »

uhmn i tested the script, very cool indeed!!!  ;D 8)
I added all the west units/empty vehicles and some weapons to purchase in the script,
it would be nice to use this in multy player, in this way players can select what vehicles and weaps they want to use.
Players would gain points destroying enemy objectives or kiling enemy players..


only problem is that i am not a real ace in scripting..
well this was the idea..