Author Topic: Altering weapon statistics  (Read 3018 times)

0 Members and 1 Guest are viewing this topic.

Altering weapon statistics
Hi!

I'd like to increase the speed of the projectile of the Subach HL-7 and Mekhu HL-7 to FS1 avenger standards which is 525 m/s. This would be my first time modding the game, so I need some help! Are there any modding tutorials out there, and what do I need to do?

 

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
Re: Altering weapon statistics
http://hard-light.net/wiki/index.php/Weapons.tbl

That'll have most of your info, if you don't know anything look it up there and ask us, we'll be happy to help :D

 
Re: Altering weapon statistics
Thanks, but where do I find the files or table, and how would I open it?

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Altering weapon statistics
Dilmah could stand to be a little more helpful... for instance, starting with the fact that all data is packed in the .VP files, and that he needs to find and edit weapons.tbl... but that's the old-fashioned way.

Grifter, your best bet is to use a feature called Modular Tables which lets you make edits without totally replacing the original data. Create a new plaintext file in Notepad that has this in it:

Code: [Select]
#Primary Weapons
  $Name:              @Subach HL-7
     +nocreate
  $Velocity:         525.0

  $Name:              @Mekhu HL-7
     +nocreate
  $Velocity:         525.0
  #End

and save it as fastsubach-wep.tbm in your Freespace2/data/tables directory. If it isn't there, make it. Voila! This will override the default values for those weapons with the ones you specify here.

If you want to do more extensive editing, reading up on the tables in the Wiki could be useful.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: Altering weapon statistics
save it as fastsubach-wep.tbm in your Freespace2/data/tables directory.
Psst. I try to advise people to keep the \freespace2\data\ directory clear of any non-retail contents for tech support's sake.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 
Re: Altering weapon statistics
save it as fastsubach-wep.tbm in your Freespace2/data/tables directory.
Psst. I try to advise people to keep the \freespace2\data\ directory clear of any non-retail contents for tech support's sake.

Okay, so maybe I should just make it as a new weapon variant (like HL-8 instead of HL-7)and place it in a mod just to test it? What Galemp said would be the fastest way but maybe a new weapon is what I'm thinking now.

Thanks everyone for your help!
« Last Edit: May 31, 2009, 09:01:59 am by xXGrifterXx »

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: Altering weapon statistics
save it as fastsubach-wep.tbm in your Freespace2/data/tables directory.
Psst. I try to advise people to keep the \freespace2\data\ directory clear of any non-retail contents for tech support's sake.

Okay, so maybe I should just make it as a new weapon variant (like HL-8 instead of HL-7)and place it in a mod just to test it?
Exactly. Place the .tbm files to \freespace2\weaponmod\data\tables for example and then use the \weaponmod\ folder as a mod. It'll get the same results but doesn't have the risk of ****ing things up with the \freespace2\data\ directory.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
Re: Altering weapon statistics
Dilmah could stand to be a little more helpful... for instance, starting with the fact that all data is packed in the .VP files, and that he needs to find and edit weapons.tbl... but that's the old-fashioned way.
Well I'm not at home/didn't have time to write out a full response/help reply, I thought I'd point him in the right direction though. Lobo was bound to find him. Or you. Come to think of it I should've given him the page on tables instead of specifically the weapons.tbl page.

save it as fastsubach-wep.tbm in your Freespace2/data/tables directory.
Psst. I try to advise people to keep the \freespace2\data\ directory clear of any non-retail contents for tech support's sake.

Okay, so maybe I should just make it as a new weapon variant (like HL-8 instead of HL-7)and place it in a mod just to test it? What Galemp said would be the fastest way but maybe a new weapon is what I'm thinking now.

Thanks everyone for your help!
Yeah, C:/Games/Freespace2/FastSubachMod/data/tables (create the directory), place your .tbm in there, and then it "should" work.

EDIT: Arghh, Lobo beat me.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Altering weapon statistics
http://homepage.ntlworld.com/karajorma/FAQ/intro.html
This is the place where I started ,I recommend taking a look at it.
It's an excellent Freespace FAQ ,you can begin your adventure with modding from here.

 
Re: Altering weapon statistics
Thanks a lot everyone. You all have been a great help :) I have a lot to learn!

 
Re: Altering weapon statistics
Got it to work, but I had to find another tbm file, paste over it and rename it. Is there an easier way to make a.tbm file?

 

Offline Hyper Ion

  • 26
  • I'm insane. Deal with it.
Re: Altering weapon statistics
Got it to work, but I had to find another tbm file, paste over it and rename it. Is there an easier way to make a.tbm file?
Just right click somewhere (desktop, any blank area in a folder, etc.), choose New>Text Document and append ".tbm" to the end of the name. Congradulations, you now have a TBM from scratch.
"Your ignorance is my bliss... well, unless it affects me negatively."

 
Re: Altering weapon statistics
Got it to work, but I had to find another tbm file, paste over it and rename it. Is there an easier way to make a.tbm file?
Just right click somewhere (desktop, any blank area in a folder, etc.), choose New>Text Document and append ".tbm" to the end of the name. Congradulations, you now have a TBM from scratch.

Can't seem to do it that way, I'm running Windows Vista if that helps, can't seem to find a way to change the file extension.

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: Altering weapon statistics
Got it to work, but I had to find another tbm file, paste over it and rename it. Is there an easier way to make a.tbm file?
Just right click somewhere (desktop, any blank area in a folder, etc.), choose New>Text Document and append ".tbm" to the end of the name. Congradulations, you now have a TBM from scratch.

Can't seem to do it that way, I'm running Windows Vista if that helps, can't seem to find a way to change the file extension.
I'm not entirely sure of the English translation, but it is possible that you have the "Hide known file extensions" on. One way to verify it is to open your \freespace2\ folder and take a look. If the Launcher is named simply "Launcher", you are indeed hiding the known file extensions. If you aren't, it will show up as "Launcher.exe". Because .exe is a known file extension. It can be set from the Folder Settings.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

  
Re: Altering weapon statistics
Thanks Lobo it worked!