I have a problem adding new weapons!Now I see in the menu and in control.ini that there are 9 weapon slots,but only 7 of them are used I decided to add one more weapon,but I added it in weapon.ini,and put it in slot 7,but the result was nothing,when I started the game there wasn't a weapon in the slot (I'm saying that when I push the button for the weapon nothing happens),than I deleted the minigun and named the new weapon minigun and it worked just fine than I tried to rename the Sprayer to Sprayer1 and It was the same,the sprayer didn't appear...
Why is this happening it's because of the name,right? But how do I fix it.It's a very lame question,but I couldn't find the answer anywhere
Here's a stupid question...
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Here's a stupid question...
You have to "give" the weapon to the player. After defining the weapon go open player.ini and add:
So for example if your weapon is named Sprayer1 you would add:
Code: Select all
[<WEAPON NAME>]
initial = 1
low = 0
high = 1
Code: Select all
[Sprayer1]
initial = 1
low = 0
high = 1
Pain is only psychological.
- QuestOfDreams
- Site Admin
- Posts: 1520
- Joined: Sun Jul 03, 2005 11:12 pm
- Location: Austria
- Contact:
Re: Here's a stupid question...
Read the following sections in the RF manual
Getting Started -> Adding A Weapon
Component Reference -> INI Files -> AttributeInfoFile
Component Reference -> INI Files -> Effect.ini
Component Reference -> INI Files -> Explosion.ini
Component Reference -> INI Files -> Weapon.ini
Getting Started -> Adding A Weapon
Component Reference -> INI Files -> AttributeInfoFile
Component Reference -> INI Files -> Effect.ini
Component Reference -> INI Files -> Explosion.ini
Component Reference -> INI Files -> Weapon.ini
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Here's a stupid question...
Wow! man Thanks Juutis (it really is a stupid question)
QoD,I couldn't find them in the manual,that's why I asked,Thanks for the fast replies btw
QoD,I couldn't find them in the manual,that's why I asked,Thanks for the fast replies btw