Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Centrixo on January 02, 2007, 12:24:32 pm

Title: fred
Post by: Centrixo on January 02, 2007, 12:24:32 pm
ive now started work on modding my RTD Wars 1 campaign, i already done 1 fighter, i placed everything exactly where its supposed to go but when it finally comes to use the ship on fred or fs2 it says ModelRead.ccp has an error, oddly enough it seems to be coming from line 1899 everytime.

Ships tbl file

$Name:                          RTF Sarrik
$Short name:                    TFight-RTF01
$Species:                       Terran
+Type:                          XSTR("Interceptor", -1)
+Maneuverability:               XSTR("Very High", -1)
+Armor:                         XSTR("Very Heavy", -1)
+Manufacturer:                  XSTR("RTD Sarrik", -1)
+Description:               XSTR(" Retrofitted and Specialized Defender that Protects the RTD Sarrik ", -1)
$end_multi_text
+Tech Description:
XSTR("This retrofitted Perseus fighter is the fastest fighter beating the SF Dragon, its also one the heaviest and agile their is in the RTC, their are only 8 in total; because they are prototypes overseen and directed by Adimral Sarrik himself this ship has been stripped down and an experimental power reactor installed, this ship can deal even with the biggest of Fighter threats but is only assigned to defend the RTD Sarrik", -1)
$end_multi_text
+Length:                  17 m
+Gun Mounts:               2
+Missile Banks:               2

$POF file:                      fighter-RTF01.pof
$Detail distance:            (0, 180, 300, 1100)
$Show damage:               YES
$Density:                       1
$Damp:                          0.15
$Rotdamp:                       0.35
$Max Velocity:               0.0, 0.0, 104.0                  ;; in x/y/z -- z only specified forward.  use special tokens for backward movement
$Rotation time:               2.4, 2.4, 2.4
$Rear Velocity:               0.0
$Forward accel:               2.0
$Forward decel:               1.5
$Slide accel:               0.0
$Slide decel:               0.0
$Expl inner rad:            25.0
$Expl outer rad:            75.0
$Expl damage:               25.0
$Expl blast:               1000.0
$Expl Propagates:            NO                       ;; If set to Yes, then when the ship dies, the explosion propagates through it.
$Shockwave Speed:            0.0                      ;; speed shockwave expands at, 0 means no shockwave
$Allowed PBanks:            ( "UD-8 Kayser" )
$Allowed Dogfight PBanks:         ( "UD-8 Kayser" )
$Default PBanks:            ( "UD-8 Kayser" "UD-8 Kayser" )
$Allowed SBanks:            ( "Harpoon" )
$Allowed Dogfight SBanks:         ( "Harpoon" )
$Default SBanks:            ( "Harpoon" "Harpoon" )
$SBank Capacity:            ( 92, 64 )
$Shields:                          1400
$Shield Color:            0 255 255
$Power Output:               5.0
$Max Oclk Speed:            100.0
$Max Weapon Eng:            32.0
$Hitpoints:                        965
$Flags:                         ( "fighter" )
$AI Class:                      Captain
$Afterburner:               YES
   +Aburn Max Vel:         0.0, 0.0, 192.0
   +Aburn For accel:       0.8
   +Aburn Fuel:            890.0
   +Aburn Burn Rate:       22.0
   +Aburn Rec Rate:        25.0
$Countermeasures:         74
$Scan time:                 2000
$EngineSnd:               126                   ;; Engine sound of ship
$Closeup_pos:            0.0, 0.0, -30
$Closeup_zoom:            0.5
$Shield_icon:            shieldf-RTF01
$Ship_icon:                 iconfighter-RTF01
$Ship_anim:                 ssfighter-RTF01
$Ship_overhead:            loadfighter-RTF01
$Score:                  14
$Trail:
   +Offset:      6.51 -1.76 -3.37
   +Start Width:   0.25
   +End Width:      0.05
   +Start Alpha:   1.0
   +End Alpha:      0.0
   +Max Life:      1.0
   +Spew Time:      120
   +Bitmap:      Contrail01
$Trail:
   +Offset:      -6.51 -1.76 -3.37
   +Start Width:   0.25
   +End Width:      0.05
   +Start Alpha:   1.0
   +End Alpha:      0.0
   +Max Life:      1.0
   +Spew Time:      120
   +Bitmap:      Contrail01
$Trail:
   +Offset:      0 -4.30 -5.08
   +Start Width:   0.25
   +End Width:      0.05
   +Start Alpha:   1.0
   +End Alpha:      0.0
   +Max Life:      1.0
   +Spew Time:      120
   +Bitmap:      Contrail01
$Subsystem:                     sensors,                        5,0.0
$Subsystem:                     communications,               6,0.0
$Subsystem:                     weapons,                        3,0.0
$Subsystem:                     navigation,                     5,0.0
$Subsystem:                     engine,                         4,0.0


so no confusing can come, i will post screenshots(these are screenshots nothing to argue about)

(http://img70.imageshack.us/img70/623/rtf01on5.png)

(http://img70.imageshack.us/img70/1649/rtf02ps6.png)

i cant progress until this is sorted.
Title: Re: fred
Post by: Flipside on January 02, 2007, 12:28:49 pm
I think you need to make folders for the seperate stuff, so you'd need data/Maps and data/Models and data/hud (I think), put the pcs in the maps folder, the pof in the models folder and the ani in the hud (I tihnk) folder.

Also, you need the Mod name first, so it would be C:/Games/Freespace2/RTC/Data/Maps etc

That's the only possible problems I can see.
Title: Re: fred
Post by: Starman01 on January 02, 2007, 12:31:58 pm
Indeed. Either you can place everything right under the main folder (which will result into an incredible mess after a short time) or you need to make subfolders under the data tree

Make folders for effects, hud, maps, models and tables for starters (watch the spelling) and place everything where it belongs.
Title: Re: fred
Post by: Centrixo on January 02, 2007, 02:03:34 pm
alright.

edit; nope made ablsoutly no difference. it says the same thing still

Title: Re: fred
Post by: Getter Robo G on January 02, 2007, 07:45:02 pm
you skipped a place in folder placement... you don't put a mod under FS2 data

Unless things have changed this is how I've built and run my mods the last 3 years:

H:/FS2Trek3.6/Data (modified files in the proper subfolders under data)/ IE Models-maps-tables-effects etc..

When you get a can't open .pof file it's either 1.) corrupted OR  2.) It can't find it in the model folder under data, under the main FS folder... Which appears to be the case since the file name matches the error message so it's not a typo it's a location issue.

Title: Re: fred
Post by: Snail on January 02, 2007, 08:11:13 pm
Why the ****ing ****ing hell is the .pof file set to open with notepad? :wtf:
Title: Re: fred
Post by: Centrixo on January 02, 2007, 08:41:10 pm
@Getter, ive just started creating the mod, i want to see if all the files run ok, now

1. i dont know if its corrupt (i cant dl fs-view)
2. im still getting the hang of this.

can you think back to when you first started your modding, what was the cause? As you were in the same position as me. it is also possible you had help and took the info for granted(1st time, dont get todays info and 1st time confused).

that would be a good start at the very least before you went into other folders and so on.

@Snail
Why the ****ing ****ing hell is the .pof file set to open with notepad? :wtf:
thats wordpad, and ive always edited via the wordpad, even with the most trickiest things. you would be suprised how far you can go with wordpad.
Title: Re: fred
Post by: Snail on January 02, 2007, 08:51:48 pm
News alert for me. You can edit .pof's with wordpad? Can someone clarify that for me? :wtf:

You know pof files are models, right?
Title: Re: fred
Post by: Flipside on January 03, 2007, 09:25:36 am
I think he means .tbl files, at least I hope he does. Wordpad might be a bad idea though, Freespace doesn't always like the auto-formatting that Wordpad tends to add to stuff.
Title: Re: fred
Post by: Snail on January 03, 2007, 10:36:57 am
No, look at the image again, the pof file has the wordpad icon.........


I believe we have your problem, sir.
Title: Re: fred
Post by: Centrixo on January 03, 2007, 10:55:52 am
that is not the problem its never ..... ok give me a straight answer please.

snail can it, ive seen you having a go at me from a different direction.
Title: Re: fred
Post by: karajorma on January 03, 2007, 01:59:05 pm
Did you actually put the files in C:/Games/Freespace2/RTC/Data/Maps etc as Flipside suggested or did you actually put them in C:/Games/Freespace2/Data/RTC/Maps etc

Cause the latter absolutely won't work.
Title: Re: fred
Post by: Snail on January 03, 2007, 09:50:24 pm
Okay, Centrixo, I'm here to help. What text is in the POF file?
Title: Re: fred
Post by: Getter Robo G on January 04, 2007, 08:54:01 am
Don't know what your on about with that attitude...

Apologies if you somehow took offense but that wasn't me that made that F-ing hell comment...

I'm done... (no further posts in this thread.)

And no I can't think of anything else to help you. People criticize me enough as it is the way I'm building :P
Title: Re: fred
Post by: Snail on January 04, 2007, 03:22:46 pm
The F-ing hell comment was me being a complete idiot. Please disregard.

Centrixo, please accept my apologies. I was being stupid. But the thing you people do not realise is the pof file is set to be open with Wordpad which is pretty strange. I don't think you can edit pof files with Wordpad. I'm just asking what's in it.


EDIT: Oooohhhhhh!!!!!! This is interesting. While most of the pof file I have opened with Wordpad is gibberish, the top part describes textures.... However, Centrixo, I still recommend you don't use Wordpad for editing Pof files, there is some stuff that is much, much, much easier and will also stop many crashes, such as this one. Try asking around for modelview or PCS. I think something has become corrupted somehwere around the line with Wordpad.
Title: Re: fred
Post by: Centrixo on January 05, 2007, 11:15:47 am
umm thats strange, i use wordpad everytime and its never let me down, snail what program do you suggest i use then?.

and i accept your apoligy snail.
Title: Re: fred
Post by: Dysko on January 05, 2007, 11:34:47 am
For POF files you should use ModelView or POF Constructor Suite. For ModelView, you can find a link to it in Kara's FAQ. For PCS, I don't remember where I downloaded it (and BTW I have an older version of it, so I better see which links are posted and re-download it).
Title: Re: fred
Post by: Centrixo on January 05, 2007, 03:22:48 pm
now ive gotten somewhere, thank you darth dysko. my fighter has now got 10 gun banks XD
Title: Re: fred
Post by: Snail on January 06, 2007, 01:30:08 pm
Screenshots....... Plz? :p

Don't say anything you dont need to say or you'll get people poking you for screens. :D
Title: Re: fred
Post by: bizzybody on January 07, 2007, 06:49:33 am
Plop this into some search engine;

"smart editor professional" freeware

Quote
Smart Editor Professional 3.0 Freeware is a complete and feature rich Text/Hex/Programmers/HTML Editor. It comes with a WYSIWYG (What You See Is What You Get) HTML designer and an integrated Binary Editor (Hex Editor). Smart Editor Professional is developed and maintained by Anoop Madhusudanan and Robert Drewry.
Title: Re: fred
Post by: Turey on January 07, 2007, 06:55:52 am
Notepad2 (http://www.flos-freeware.ch/notepad2.html) > Wordpad.
Title: Re: fred
Post by: Unknown Target on January 07, 2007, 09:46:52 am
Notepad > All.
Title: Re: fred
Post by: Snail on January 07, 2007, 01:19:43 pm
Notepad > All.

Mmmm... Yush.