5,389
edits
Line 152: | Line 152: | ||
Giving characters weapons is very easy. Simply use the command <tt>chr_giveweapon</tt> to give a character a weapon. | Giving characters weapons is very easy. Simply use the command <tt>chr_giveweapon</tt> to give a character a weapon. | ||
[[OSL: | [[OSL:Inventory|Here]] are the list of the weapon codes. For the purpose of this example, we will use <tt>w3_phr</tt>, the plasma rifle. This command will give the two strikers plasma rifles. | ||
Add the commands <tt>chr_giveweapon Top_Striker w3_phr</tt> and <tt>chr_giveweapon Top_Comguy w3_phr</tt> on separate lines beneath what you have already. Be sure to add it ''BEFORE'' the '''}''' or it will not execute. | Add the commands <tt>chr_giveweapon Top_Striker w3_phr</tt> and <tt>chr_giveweapon Top_Comguy w3_phr</tt> on separate lines beneath what you have already. Be sure to add it ''BEFORE'' the '''}''' or it will not execute. |