Author Topic: decals  (Read 11570 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
ok I've made some parseing code for the weapons table, it's formatte is
Code: [Select]
$decal:
+texture: 'a_texture_name'
[i]+backface texture: 'an_other_texture_name'[/i]
+radius: 'a_float'

italisised is optional, well the whole thing is optional, but within the decals feild that stuff is optional
currently it must be a pcx, I have yet to get everything built and uploaded I'll tell you when it's updated
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
the zip has been updated, I have notised an odd bug were decals seem to be made around weapons, I think I may have fixed it but I havn't tested it (I will as soon as I get done posting this), I have included a weapons table that has decals enabled on several weapons with a new decal texture.
here are some screen shots of it in action

Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
I'm supposed to be doing essays.  So in the time-honoured tradition of procrastination, I made this damage decal.
http://www.3dap.com/hlp/hosted/scroll/misc/dmgdecal1.pcx

Looks like this:


I figure it'd be a good one for beam damage.

Edit: :) I like your's too, Bob.
« Last Edit: December 04, 2002, 04:09:47 am by 448 »
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline nimroy

  • 22
I get this error message when loading a mission.

Error: Can't open file
File:D:\Games\projects\freespace2_public\fs2_open\code\Model\ModelRead.cpp
Line: 1268

Call stack:
------------------------------------------------------------------
    model_load()    weapons_page_in()    level_page_in()    freespace_mission_load_stuff()    game_start_mission()    game_enter_state()    gameseq_set_state()    game_process_event()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    KERNEL32.dll 77ea847c()
------------------------------------------------------------------

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
oops, forgot that I was testing that, I don't want to make you redownload for such a small thing
in the weapons table were it says
$Model File:         Pulse.pof
change that to
$Model File:         none
and remove the semicolis from all the lines following that that have
;@Laser
that should fix that, note there are other experemental weapons in there
one such fun thing to play with would be the pspewtest1, it has the custum pspew code on it, look twards the bottom and change particleexp01 to something like shieldhit01a
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline nimroy

  • 22
another bug,

Assert: Polygon_models[num]->id == model_num
File: D:\Games\projects\freespace2_public\fs2_open\code\Model\ModelRead.cpp
Line: 2462

Call stack:
------------------------------------------------------------------
    model_render()    warpin_render()    fireball_render()    obj_render()    obj_render_all()    game_render_frame()    game_frame()    game_do_frame()    game_do_state()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    KERNEL32.dll 77ea847c()
------------------------------------------------------------------

 

Offline nimroy

  • 22


looks somewhat odd...stretched...
« Last Edit: December 04, 2002, 05:21:21 am by 952 »

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
you'll get that sometimes with shots that hit at a sharp angle,

the assertion failure, was it caused when a ship was warping in\out in a mission that was not the first one played (there seems to be a bug in the warp model loading were it unloads the warp model and doesn't reload it after a mission)
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by Bobboau
the assertion failure, was it caused when a ship was warping in\out in a mission that was not the first one played (there seems to be a bug in the warp model loading were it unloads the warp model and doesn't reload it after a mission)


Yeah, that's the bug I meant... has it been added to Bugzilla?  It's very annoying, because it's interfering with a whole bunch of stuff.  Somebody fix it! :)

And Bobboau...


Those are nice screenshots.  Well done! :yes: :yes: :yes:

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
:eek2: I can't wait to try this out! Bob, did you update the zip with the fixed weapons.tbl?
"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 Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
bumping this for people who haven't seen it
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together