Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Bobboau on March 16, 2005, 10:51:07 pm

Title: change to the warp effect
Post by: Bobboau on March 16, 2005, 10:51:07 pm
I just made a new class for manageing a type of effect, and I just implemented it for the warp effect as a test, now this is just test textures, and I plan on useing this sort of effect to improve explosions mainly (this was just a quick test), and this particular useage of it doesn't look as good as it can in other situations, but I want to know if people like the small change I added to the warp effect.
so, test build.

http://freespace.volitionwatch.com/blackwater/fs2_open_Bobboau_3-16-05.zip
Title: change to the warp effect
Post by: WMCoolmon on March 16, 2005, 11:03:21 pm
Hmm, interesting...this might actually be useful for a BSG style FTL effect. (Although no one seems to be interested in doing the art for it)

What all does the new class do?
Title: change to the warp effect
Post by: Bobboau on March 16, 2005, 11:05:40 pm
manages, animates, and renders a ball of rays.

hopefully it should allow for a number of cool looking effects,
might be neat to use for a new weapon rendering type.
Title: change to the warp effect
Post by: RedAssAg05 on March 16, 2005, 11:39:45 pm
ooh...usable for BSG FTL?!  Mmmmm....

The more I get into all of this, the more I wish I had more photoshop/max/coding talent!!
Title: change to the warp effect
Post by: RandomTiger on March 17, 2005, 01:40:55 am
I take it its optional
Title: change to the warp effect
Post by: Nuke on March 17, 2005, 02:51:53 am
if i wasnt totally exausted from work id be playing with this right now, maybe this weekend.
Title: change to the warp effect
Post by: kasperl on March 17, 2005, 02:58:53 am
Screenies for those without direct acces to a working build?
Title: change to the warp effect
Post by: WMCoolmon on March 17, 2005, 03:25:53 am
Um... http://freespace.volitionwatch.com/blackwater/fs2_open_Bobboau_3-16-05.zip

It's hard to get a screenie of..think the subspace hole, but it flares when it closes.

I have now not done any justice to the feature at all with my description. :)
Title: change to the warp effect
Post by: kasperl on March 17, 2005, 03:38:17 am
No, it's more of an issue with needing to get all the data in the right place, I can do it myself, but not right now.

But, as always, add it as an option.
Title: change to the warp effect
Post by: Kie99 on March 17, 2005, 04:40:26 am
That's awesome, nice work Bob.
Title: change to the warp effect
Post by: Vasudan Admiral on March 17, 2005, 04:59:22 am
Wow, purdy. :D
Title: change to the warp effect
Post by: Col. Fishguts on March 17, 2005, 06:00:45 am
Me likes.

(http://n.ethz.ch/student/ebuerli/download/bobwarp1.jpg)

(http://n.ethz.ch/student/ebuerli/download/bobwarp2.jpg)

But yes....you have to see it in motion to fully grasp the effect.

This might allow a more B5 style jump hole effect.
Title: change to the warp effect
Post by: KARMA on March 17, 2005, 06:17:03 am
could be useful for star trek too. And maybe for star wars too.
But in both cases it'd be needed a way to make the ships accelerate  to a monster speed in no time, then you'd see that effect in lontanance
Title: change to the warp effect
Post by: Omniscaper on March 17, 2005, 07:02:31 am
WOW!!! i've gotta try this. Like a moth I'm attracted to all things glowy and shiny!!!

edit: EXCELLENT EFFECT!!!!

I second Karma's motion to somehow speed up either the ship arping out and or the ship and the effect to close in on each other.
Title: change to the warp effect
Post by: Falcon on March 17, 2005, 07:17:50 am
Me likes :yes:
Title: change to the warp effect
Post by: DaBrain on March 17, 2005, 10:49:00 am
Wow, cool. :eek2:
Title: change to the warp effect
Post by: Primus on March 17, 2005, 10:55:54 am
Looks great. :yes:
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 12:01:55 pm
extreemly poorly implemented hacked in I am realy freaking late for work, implementation of this effect being used in an explosion.
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 12:02:27 pm
somemore
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 12:03:07 pm
wish I could atach more than one image at a time
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 12:04:23 pm
the flashes are based on the geometry of the debris objects
Title: change to the warp effect
Post by: Lt.Cannonfodder on March 17, 2005, 12:31:12 pm
Looks extremely cool :yes:
Title: change to the warp effect
Post by: RandomTiger on March 17, 2005, 12:34:31 pm
Nice :)
Title: change to the warp effect
Post by: Fineus on March 17, 2005, 12:49:40 pm
Oh hell yes. This looks incredible. Sure it needs tweaking but the potentials clearly there.
Title: change to the warp effect
Post by: Carl on March 17, 2005, 01:03:46 pm
it needs to be more subtle, but the effect itself is super :yes:
Title: change to the warp effect
Post by: Col. Fishguts on March 17, 2005, 01:18:32 pm
Yeah...it might be a bit overkill if ervery fighter blows up like this. But it has great potential for capship explosions. :yes:
Title: change to the warp effect
Post by: Black Wolf on March 17, 2005, 02:02:29 pm
CTD when I go to commit into a mission, and, interestingly, the grid on the briefing window appears to have gone away.
Title: change to the warp effect
Post by: Kie99 on March 17, 2005, 02:16:37 pm
That is ****ing unreal!
Title: change to the warp effect
Post by: Descenter on March 17, 2005, 04:49:31 pm
Looks good, I'll have to play with this later.
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 06:21:59 pm
http://freespace.volitionwatch.com/blackwater/boom.zip

has the explosion thing in it, it only realy works right on fighters atm.
Title: change to the warp effect
Post by: MatthewPapa on March 17, 2005, 08:59:30 pm
If this effect could be refined a little better it would be great.
Title: change to the warp effect
Post by: spaceman spiff on March 17, 2005, 09:01:12 pm
wow... it looks amazing!
Title: change to the warp effect
Post by: FireCrack on March 17, 2005, 09:08:41 pm
Could we have consstant rayballs (not flaring in and out, but the rays move around and fade in/out randomly) for weapon shots, as a table flag.
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 09:33:20 pm
Quote
Originally posted by Bobboau
hopefully it should allow for a number of cool looking effects,
might be neat to use for a new weapon rendering type.
Title: change to the warp effect
Post by: Omniscaper on March 17, 2005, 09:51:55 pm
It doesn't seem to want to work , are there specific launcher settings I'm supposed to use.
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 10:06:42 pm
nope, it's just suposed to work, are you still getting those dll errors?
Title: change to the warp effect
Post by: Omniscaper on March 17, 2005, 10:08:04 pm
the effect is just not working. Not even with stock models. The warp effect build worked. The latest one doesn't. Anyone else get it to work? I tried both EFF and stock anis for explosions... no show.

Where is the Boom.tga suppose to go? I put in effects folder.
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 10:17:45 pm
is it working for other people?
maybe I grabed the wrong exe

(I just had it in the FS root)
Title: change to the warp effect
Post by: Omniscaper on March 17, 2005, 10:24:16 pm
It even crashes certain types of missions for me. Does this effect work on debris-less fighters? Well, I tried with my viper with debris model and still no show.

Could you re-upload just to make sure?
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 10:30:03 pm
it's crashing on me now too...
didn't do that in the debug build...
this is why you don't want to keep hack tests around very long.
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 10:44:56 pm
try a debug build!
http://freespace.volitionwatch.com/blackwater/fs2_open_d.zip
Title: change to the warp effect
Post by: Omniscaper on March 17, 2005, 11:04:33 pm
The debugger keeps looking for stuff on a drive  I:  ?
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 11:06:36 pm
no it isn't looking for anything it's telling you were I keep my source code, that's a standard error message,
...probly...

what's it say?
Title: change to the warp effect
Post by: Omniscaper on March 17, 2005, 11:12:30 pm
Warning: cannot find bitmap nebulA1-main
File:I:\FSO\fs2_open\code\Starfield\StarField.cpp
Line: 811

Call stack:
------------------------------------------------------------------
    game_init()    WinMainSub()    WinMain()    WinMainCRTStartup()    kernel32.dll 7c816d4f()
------------------------------------------------------------------




I get a number of these till i get inside the game. The moment I go to the techroom the killer error that drops to desktop:


Assert: bay->num_slots == 2
File: I:\FSO\fs2_open\code\Model\ModelRead.cpp
Line: 2148

Call stack:
------------------------------------------------------------------
    model_load()    techroom_select_new_entry()    techroom_change_tab()    techroom_init()    game_enter_state()    gameseq_set_state()    game_process_event()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    kernel32.dll 7c816d4f()
------------------------------------------------------------------
:
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 11:20:07 pm
ok, that first one means that it can't find the texture
nebulA1-main
it is a background nebula image (as opposed to a sun or a planet), look in your active stars table, and make sure the file is spelled the same way and in the right folder.

the second one, the model it's trying to load, it has a dock, with only one point, all docks must have exactly two points.
Title: change to the warp effect
Post by: Omniscaper on March 17, 2005, 11:32:11 pm
I'm sorry, I don't mean to make this threa my personal troubleshooting topic... after fixing MANY tbl errors what not... this one, I am dumbfounded.

Assert: f < MAX_MEM_POINTERS
File: i:\fso\fs2_open\code\globalincs\windebug.cpp
Line: 1489

Call stack:
------------------------------------------------------------------
    vm_free()    close_help()    doexit()    exit()    WinAssert()    unregister_malloc()    vm_free()    close_help()    doexit()    exit()    WinAssert()    unregister_malloc()    vm_free()    close_help()    doexit()------------------------------------------------------------------
Title: change to the warp effect
Post by: Bobboau on March 17, 2005, 11:37:42 pm
that's an unpleasent looking fellow...

were the hell did that show up?
I hope it was when you hit cancel on an Assert or something.
Title: change to the warp effect
Post by: Omniscaper on March 17, 2005, 11:57:39 pm
Thats the first message as soon as I load a simple Viper vs Cylon mission.

This is the following message.

Assert: TotalRam == total
File: i:\fso\fs2_open\code\globalincs\windebug.cpp
Line: 1443

Call stack:
------------------------------------------------------------------
    doexit()    exit()    WinAssert()    unregister_malloc()    vm_free()    defpoint()    parse_bsp()    initalise()    ship_create()    parse_create_object()    parse_object()    parse_objects()    parse_mission()    parse_main()    mission_load()------------------------------------------------------------------
Title: change to the warp effect
Post by: Bobboau on March 18, 2005, 12:16:36 am
that means there is something realy weired up with the memory tracker, wich is bad, hmmm...

oh well, too late for me to do anything about it now, just late enough for me to go to sleep though
Title: change to the warp effect
Post by: Drew on March 18, 2005, 12:24:02 am
that debug dont work for me either crashes when i commit
Title: change to the warp effect
Post by: Omniscaper on March 18, 2005, 12:41:27 am
Thank you anyway. You dedication kicks ass as it is.
Title: change to the warp effect
Post by: DaBrain on March 18, 2005, 04:32:29 am
Yay I got a mission working! But only for a few seconds :(
(I think it crashed as soon as I moved the joystick)

But I found a bug. :)


The weapon effects look kinda wrong. ;)

http://img169.exs.cx/img169/7558/screen00673wj.jpg
Title: change to the warp effect
Post by: MetalDestroyer on March 18, 2005, 04:34:54 am
Wow , i 'm impressed, it's definitively excellent for Star Trek and SW universe
Title: change to the warp effect
Post by: DaBrain on March 18, 2005, 04:53:04 am
Ok, I've tried the warp build.
It has the same bug but it works.


Here are some more bugs:

Satanas jumping out. Looks retro ;)
http://img208.exs.cx/img208/5269/warp3wo.jpg (BTW I'm using the EFF warp effect.)


And the thruster code seems to need some tweaking.

http://img208.exs.cx/img208/5932/thurster12ro.jpg

http://img208.exs.cx/img208/4594/thruster23jv.jpg

http://img208.exs.cx/img208/2464/thruster33mc.jpg

(The second one looks quite cool somehow. Like beam effect.
Title: change to the warp effect
Post by: Dark RevenantX on March 27, 2005, 11:32:12 pm
engine trails...
Title: change to the warp effect
Post by: Gregster2k on March 29, 2005, 03:35:03 pm
I use OpenGL and the fighter-explosion Boom build CTD's when I push the COMMIT button on any mission.

As for the standard Warpball one (3-16-05) -- -the effect does not look like your screenshots whatsoever...it is a static ray-ball that expands and contracts JUST AFTER the main warp funnel shrinks to nothingness.

Unless that's what you wanted. But it doesn't look "right" to me. It looks the same in D3D...main funnel shrinks to nothing and secondary rayball suddenly expands and then disappears.

EDIT: Just a moment, I just realized that the screenshots on Page 1 were taken from a much further distance than i have been viewing subspaces here...ill go check. BTW: I'm also using that enhanced EFF warp effect.

EDIT 2: Yeah, it still looks the same, any distance. It does not look anywhere NEAR what those screenshots look like in coolness.
Title: change to the warp effect
Post by: DaBrain on March 29, 2005, 03:44:32 pm
Bob's builds are more or less D3D only....
Title: change to the warp effect
Post by: Gregster2k on March 29, 2005, 03:44:56 pm
DaBrain: I checked it in D3D: It looks just as bad on my system. It simply looks like a 2D blast flare effect sizes up and down, there's none of this directional flaring I see in the screenshots.

I like the effect, but it is apparently not cross-system compatible...
Title: change to the warp effect
Post by: Jetmech Jr. on April 13, 2005, 04:54:52 pm
This ****ing rocks.
Title: change to the warp effect
Post by: FireCrack on April 13, 2005, 06:14:05 pm
I also have the problem where it only flares up when the warp hole closes, but i think that looks friggin awesome because the warphole closes and then you just see this big flash. Same for opening.

You guys should try this in OGL, especialy bob, it looks very cool IMO.
Title: change to the warp effect
Post by: AqueousShadow on April 16, 2005, 06:53:43 pm
Explosions look cinematic. Gotta reinstall my Freespace to try this thing out. Good work :yes:
Title: change to the warp effect
Post by: Bobboau on April 16, 2005, 07:35:08 pm
there shouldn't be any diference between d3d and OGL, it doesn't use any API code, it's all high level.
Title: change to the warp effect
Post by: Ulala on April 18, 2005, 09:19:05 pm
Is anyone else having trouble downloading the .zip? :doubt: