Author Topic: First modding ever  (Read 4534 times)

0 Members and 1 Guest are viewing this topic.

I wanted to try my hand at modding, and thought I'd start off with a little table editing.

The trouble is, I had absolutely no idea how to even get at the tables. Some scouring later, I found the Descent Manager VPVIEW32 and was able to successfully extract and edit a table. Now, however, I don't know how to get that table back into a .vp so I can run it.

My point is, I think there should be a stickied thread in the FreeSpace Modding board with a basic list of things needed to start modding, and maybe a barebones tutorial. Obviously there's too much to put in a single topic, but a little starting point in an easy-to-find place would be great.

(If I'm not the first to ask this, I apologize. Forum searches suck.)

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
but there is a special portal where you can get that kind of info.

http://www.hard-light.net/wiki/index.php/Portal:Modding

specially usefull for you:

http://www.hard-light.net/wiki/index.php/FS2_Data_Structure

It's a good idea to create a mod folder to put your stuff in it and test, just to keep your FS2 directory as clean as possible, anyways... all of what you need can be found there, regardless if you have any more questions then come here again.

el hombre vicio...

 

Offline Topgun

  • 210
I wanted to try my hand at modding, and thought I'd start off with a little table editing.

The trouble is, I had absolutely no idea how to even get at the tables. Some scouring later, I found the Descent Manager VPVIEW32 and was able to successfully extract and edit a table. Now, however, I don't know how to get that table back into a .vp so I can run it.

you don't need, or want to.
pop the table in data/tables

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Okay, first up, you don't need to put the altered tbl back into the vp for the game to read it. Putting it into <mod directory>\data\tables does the job as well
(First lesson: Stuff in the data\ folder structure overrides stuff in vps).

Second: When modding, remember these rules: NEVER, EVER TOUCH THE <FreeSpace directory>\data FOLDER. DO NOT PUT ALTERED TBLS THERE, NO MATTER HOW MUCH YOU WANT TO. Unless you really, absolutely know what you are doing, you WILL break things and make life harder for the people who will try to help you.
Always use a mod folder and a mod.ini for your own modding.

WHEN YOU HAVE A PROBLEM, USE A DEBUG BUILD. If the warnings and errors it spits out do not help you, post the error messages and the fs2_open.log from the main data folder here.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
but there is a special portal where you can get that kind of info.

http://www.hard-light.net/wiki/index.php/Portal:Modding
Ha ha! Success! Thanks for the quick answer, I got it working.
(Ever wondered what would happen if you gave the tracking capabilities of a harpoon to an infyrno? It's just as cheap as you'd expect.)

Okay, first up, you don't need to put the altered tbl back into the vp for the game to read it. Putting it into <mod directory>\data\tables does the job as well
(First lesson: Stuff in the data\ folder structure overrides stuff in vps).

Second: When modding, remember these rules: NEVER, EVER TOUCH THE <FreeSpace directory>\data FOLDER. DO NOT PUT ALTERED TBLS THERE, NO MATTER HOW MUCH YOU WANT TO. Unless you really, absolutely know what you are doing, you WILL break things and make life harder for the people who will try to help you.
Always use a mod folder and a mod.ini for your own modding.
So, the file path would be: FreeSpace2Open/mymod/data/tables/my .tbl files

I think all these things should be in one big sticky thread, so people like me don't make you use the red text.  :p

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
Yep. That path is about right.
Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!

 

Offline Retsof

  • 210
  • Sanity is over-rated.
Quote
(Ever wondered what would happen if you gave the tracking capabilities of a harpoon to an infyrno? It's just as cheap as you'd expect.)
heh, now make a missile that spawns one of itself, with heat seeking and a 360* view cone.  (if you make it spawn two of itself they will multuply untill the game crashes.  :cool: )
:::PROUD VASUDAN RIGHTS SUPPORTER:::

"Get off my forum" -General Battuta
I can't help but hear a shotgun cocking with this.

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
I once made a missile with aspect lock, 270 fov, insane turn speed, and the ability to detonate a produce children missiles which inherited the lock. It was imba.

Then I up-scaled it, and made it into a capital use anti-fighter torpedo. It was a fearsome weapon.
Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!

 
Thanks all. I figured out most of it, and am having great fun so far.

 

Offline Topgun

  • 210
Second: When modding, remember these rules: NEVER, EVER TOUCH THE <FreeSpace directory>\data FOLDER. DO NOT PUT ALTERED TBLS THERE, NO MATTER HOW MUCH YOU WANT TO. Unless you really, absolutely know what you are doing, you WILL break things and make life harder for the people who will try to help you.
Always use a mod folder and a mod.ini for your own modding.


I disagree. do it and you will learn how the game works, just don't ask us what's wrong if something breaks.

IF something DOES break, just delete the various folders in the data dir and things should go back to normal.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Okay. You do that.

However, I do prefer it if I can actually help people. Keeping your experimental stuff separate from the stuff that is known to be correct is one of the best things you can do to ensure that finding and fixing errors is as painless as possible.

Besides, the -mod system is there FOR A REASON. It's so that you don't have to do STUPID **** like what you are recommending.

I am (not very) sorry if that offends you, but new guys putting files in bad places is one of the most common causes for errors.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Second: When modding, remember these rules: NEVER, EVER TOUCH THE <FreeSpace directory>\data FOLDER. DO NOT PUT ALTERED TBLS THERE, NO MATTER HOW MUCH YOU WANT TO. Unless you really, absolutely know what you are doing, you WILL break things and make life harder for the people who will try to help you.
Always use a mod folder and a mod.ini for your own modding.


I disagree. do it and you will learn how the game works, just don't ask us what's wrong if something breaks.

IF something DOES break, just delete the various folders in the data dir and things should go back to normal.

The problem is, when you simply want to do something else, having your own mod in its seperate mod folder is much more convenient then having to cut-paste the whole thing.

 

Offline Topgun

  • 210
I am not saying he should, but I don't think its a cardinal sin like The E was saying.
making mistakes is how we learn.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Oh, yeah, but you are not dealing that much with new guys who mess up their installs because of making those mistakes.

I am trying to make my life easier here, I'd appreciate it if you would refrain from undoing my efforts.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
The_E's right. It's a huge support problem.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
It should be used only for modding retail. (does anybody still do it?)

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Once in a blue moon.... My netbook for example... The thing chugs like helll.. But it can run it.
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
What is this Retail you speak of?    :P

(I kid)


At one time having several projects myself, I can testify that the -MOD system is critical for experimentation and fixing of various issues, knowing that you won't screw up your install so bad you have to delete everything and install FSO from scratch!

That was the whole purpose of the -mod called TEST.
I would drop a ship and table in there and in 3 mins or less I was viewing it in the tech room and then in game blowing it up to see if it crashed or not... Or viewed a weapon texture in use or a skybox ect...

Things that worked in TEST mod eventually would be finished off and go into relevant other mod folders. Things that failed... Went to a "GET FIXED!" folder or simply got round filed for the trouble...

I learned early on you DON'T screw with critical things that make the game work. At least until you know what you are doing. It saves you a lot of hassle and makes it easier for others to help you out when you got a question.  (USUALLY, not always)...
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 
Hi! So far so good, but I'm back with a couple of questions:

1) In ships.tbl under $Rotation time, I understand that the three values are x, y, and z. I'm unclear as to what those are though, which is pitch, yaw, and roll? I found this link: http://www.gamedev.net/community/forums/topic.asp?topic_id=202717&whichpage=1&#1289132 Is that accurate?
2) Looking through the wiki page on ships.tbl, I found $Warpin Type and have been itching to use it. Do I need all the other warpin tags to make it work right? I'm especially interested in "Homeworld" and "Hyperspace" types. Assuming I need a warpin animation, where would I find it?

Thanks again.

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Hi! So far so good, but I'm back with a couple of questions:

1) In ships.tbl under $Rotation time, I understand that the three values are x, y, and z. I'm unclear as to what those are though, which is pitch, yaw, and roll? I found this link: http://www.gamedev.net/community/forums/topic.asp?topic_id=202717&whichpage=1&#1289132 Is that accurate?
x = left and right
y = up and down
z = roll around your axis
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them