Forums | Hello Guest, Login or Register | > > L4Y Files: No longer here! < <
  Red Faction : [RED] Tutorials : How to add new weapon into RF [Forum Rules]  
Page 1
Multiple Page Topic : 2 3 
Back to Forum Thread List

FuryThor   Posted 23rd Feb 2007 5:41pm
L4Y Member
Post 641 / 831

I will update this guide during weekend with examples, and propably upload file related to it into own CDC upload small modification that shows how I have added new weapon.

IF you read my RF_SDI project description you will note that this won't be only guide I will be writing and putting online (sigh I wish I still got own domain running).

Okay here is my brief guide howto add entirely new weapon into RF and not just replace old models

Files we use here are "weapons.tbl"; "pc_multi.tbl"; "fpgun.tbl" "items.tbl" "strings.tbl"
Note that 3 first files are vital and game will crash if there are messed at all.

First thing we do is that we duplicate entry we want (in this guide I have used riot stick as sample) in weapons.tbl
However there are few things that must be taken to note.
1) No duplicate pref and/or cycle positions. First free is 15
2) $1st Person Mesh: "fp_riot.vcm"<- MUST be same as is in fpgun.tbl

Then we add new actual player weapon in PC_multi.tbl
we use Riot stick as samle so we duplicate line
+Custom Fpgun:     "Riot Stick"(same as in weapons.tbl) "riot_stick_normal"(in fpgun.tbl)

Note that you must name each weapon entry individually, and that "riot_stick_normal" refers to normal set in fpgun.tbl
Another note is that PC_multi.tbl also defines player model and animation type. DO NOT TOUCH THOSE unless you know what you are doing.

Okay now to last important file the fpgun.tbl
What you see in top of page is
// ----------------------------
// Normal Set
// ----------------------------
this mean normal set (parker look in multi)
ALL entries here must be individually named, or game will either crash or behave in undesired manner.

$Name:     "riot_stick_normal" (refered from PC_multi.tbl)
$Model: "fp_riot.v3c" (MUST be same as is $1st Person Mesh: in weapons.tbl) or game will crash.
$Hand Texture: "hand1st.tga"
$Forearm Texture: "envirohand.tga"
$Bicep Texture: "armnew1.tga"

Files that also are needed are items.tbl and strings.tbl but you should be able to figure how those work, as those are only refered from other files. (Xstr means string number defined with xxx)

I don't gurantee that here is not typos or other mistakes, so if you find anything you want to question, please PM me instead than replying so topic stays clean from un needed spam.

PS. if this guide is any good, please make it sticky.
Project RF SDI
My RF Files  
 Modified Feb 24th, 03:11am by Forum Moderator
goober   Posted 23rd Feb 2007 7:53pm
L4Y Member
Post 4659 / 265

This is useful to alot of people, i stick-ied it...
For anyone reading this in 2019 or later: The RF community is alive on the Community Discord

[Faction Files]  
 
FuryThor   Posted 23rd Feb 2007 9:37pm
L4Y Member
Post 642 / 831

Quoting goober
This is useful to alot of people, i stick-ied it...

Good, and as I said before this was just first guide I will do in near future, however IF you find mistakes or parts you don't understand PM me so I can check and fix those.

Otherwise I quess this topic could also be closed.

HEY why this topic was moved to lounge ?
Project RF SDI
My RF Files  
 Modified Feb 23rd, 09:41pm by FuryThor
D2k   Posted 23rd Feb 2007 9:50pm
L4Y Member
Post 1071 / 1923

This would have been alot more useful about 5 years ago.
My AP 1 - NEW
AQuest update 7/17/08  
 
goober   Posted 23rd Feb 2007 10:54pm
L4Y Member
Post 4662 / 265

Quoting FuryThor
HEY why this topic was moved to lounge ?

Looking back at it, its more appropriate in here, but i acually moved it by mistake
For anyone reading this in 2019 or later: The RF community is alive on the Community Discord

[Faction Files]  
 
Link2097   Posted 24th Feb 2007 2:02am
L4Y Member
Post 21 / 28

Hi i have been doing RF mods for a while now.And im prty good at mods but I have always had trouble when it comes to this. I am having trouble with the fpgun.tbl when I change everything and get RF running it says Too many fpguns in fpgun.tbl. and im prty sure I got the cycle postiton and pref position right. And I put the +custom Fpgun in pc_multi.tbl i did everything in the items.tbl and fpgun.tbl so whats wrong?
Any help will be appreciated .thanks
   
FuryThor   Posted 24th Feb 2007 2:12am
L4Y Member
Post 643 / 831

dang I hoped that this topic would stay nice and clean, and only I would update it by editing, but effort has been vain so far, sigh.

Actually this could have been done A lot earlier if someone would have wanted to see the trouble to figure out how weapons are defined. But I quess everyone was too lazy to do that since after all information I revealed here was not is not any of cryptic message or was it ?

SO PLEASE CLOSE THIS TOPCI NOW !

Edit PS: I hope that nobody says after this that I just babble nonsense
Project RF SDI
My RF Files  
 Modified Feb 24th, 02:18am by FuryThor



NoClanFrank    Posted 24th Feb 2007 3:11am
Post 3524 / 5840
Quoting Doc Savage
this is very useful! im glad SOMEONE put it up. we need a tutorial section on here! compete w/ redtech lol

Done!
>Click Here< If You Don't Have a Social Life :/    
RF Grim Reaper   Posted 24th Feb 2007 3:22am
L4Y Member
Post 541 / 902

I still think you do it the long way around Fury.
Maps | Stargate MOD | Daves Place | Moddb Site    
NoClanFrank    Posted 24th Feb 2007 3:50am
Post 3527 / 5840
Quoting RF Grim Reaper
I still think you do it the long way around Fury.

Do you have a shorter version and if so post it here.
>Click Here< If You Don't Have a Social Life :/    
FuryThor   Posted 24th Feb 2007 3:31pm
L4Y Member
Post 644 / 831

Quoting Doc Savage
this is very useful! im glad SOMEONE put it up. we need a tutorial section on here! compete w/ redtech lol


And it would be even better if here would be possibility to upload example files related to that tutorial.

And grim please if you know easier/faster way to add weapons please PM details for me and tell, is that also sure that if done right, it will work for sure ?
Project RF SDI
My RF Files  
 
Slitzerfest   Posted 26th Feb 2007 1:58am
L4Y Member
Post 68 / 117

FurThor... you are a genius. (Or all of us here are retards)
Not only can you do this with weapons, but characters! vehicles! and possibly more!
Imagine a set of 35 weapons in RF

Like i said, RF is getting closer and closer to freedom!
w00
Im Back, Im Loaded, And Ready.
RED FACTION HERE I COME.  
 
goober   Posted 3rd Mar 2007 1:09am
L4Y Member
Post 4703 / 265

Well Fury, i just tried it for a project i am working on (secret ) and i did all the tutorial says, but Red Faction gives me a error saying there is too many entries in fpgun.tbl.
For anyone reading this in 2019 or later: The RF community is alive on the Community Discord

[Faction Files]  
 
DARTH JOKER   Posted 3rd Mar 2007 7:06am
L4Y Member
Post 257 / 467

if only the tuteral section had been out four months ago. and had got the bug worked out, and had i decided not to keep this litle secret to my self.i might have poste this exact same topic.... then again wasn't redfrog the first persion to release a mod with one new weapon? eko had 16 weapons.

also there was the answer mod which gives you two extra multi player characters (i should know that mod is the base for my mod only for the higher res texters though)

to: FuryThor it works just if you want your new weapon to show up in multi player you must make a mape with your new weapon in it.
DA WICKED KLOWN PRINCE OF DA SITH    Modified Mar 3rd, 07:09am by DARTH JOKER
FuryThor   Posted 3rd Mar 2007 8:43am
L4Y Member
Post 664 / 831

Quoting goober
error saying there is too many entries in fpgun.tbl.


Yeah I know that to appear, but I don't know the exact reason for that as error just refers to fpgun.tbl and says there is too many weapons... check for duplicate names etc.

Also I suggest that you look my multiple remote charges mod for sample, it has worked that out.


And for darth joker, this information is known before me but it has been forgotten as old modders have stopped creating mods for RF.
However I brought that to knowledge after testing and seeing it to work online (my multiple remote charges mod).
Project RF SDI
My RF Files  
 
goober   Posted 3rd Mar 2007 7:14pm
L4Y Member
Post 4706 / 265

With the help of REDFROG, i got the weapon working, but it then crashes multiplayer... Any ideas?

I had to get rid of both pc_multi.tbl and fpgun.tbl for it to load RF, but now it crahses in multi?
For anyone reading this in 2019 or later: The RF community is alive on the Community Discord

[Faction Files]  
 
Page 1
Multiple Page Topic : 2 3 


Copyright © 2000-2025 Levels-4-You
Your request was handled in 0.12 seconds.