Adding new wepons

Discuss any other topics here
Post Reply
Alex
Posts: 11
Joined: Wed Apr 11, 2007 2:27 am
Contact:

Adding new wepons

Post by Alex »

I added the pistol that i got from the rf resources and it just doesn't show up in my game what do i do :?:
Please Download Infantry Challenge from my website this is my first game. I am currently working on adding Timer, Scoring System, a Highscoreboard and adding robots.
http://members.shaw.ca/alexshel
User avatar
jonas
Posts: 779
Joined: Tue Jul 05, 2005 5:43 pm
Location: Texas, USA
Contact:

Post by jonas »

I would recommend The Rf Book
Goto page 93. It walks you through adding a weapon. Then if you still have problems please explain what you did, so we can try to pinpoint your problem.
Jonas

Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Alex
Posts: 11
Joined: Wed Apr 11, 2007 2:27 am
Contact:

Post by Alex »

I tried what the book said to do but istill can see the weapon

All i did was add the actor files to the media/actor/weapon folder and in wepon.ini i changed the C8 so that all the models where the pistol model
then i editted player.ini by adding

[dual pistol]
initial = 1
low = 0
high = 1

I got it to show up but i don't get how to put it in the right place
Please Download Infantry Challenge from my website this is my first game. I am currently working on adding Timer, Scoring System, a Highscoreboard and adding robots.
http://members.shaw.ca/alexshel
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Post by darksmaster923 »

open the inieditor.exe, turn on weapon positioning, go into ur game, turn on debug text in the debug menu of ur options menu, get the gun, use the numpad to position the gun, look at the debug text weapon numbers, write them down, then add to ur weapon.ini file.
Herp derp.
Post Reply