• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

ODF question

Started by Crewman87, November 01, 2009, 04:39:09 PM

Previous topic - Next topic

Crewman87

Hey guys,
I recently came back to BZ2 after a long time and I wanted to start modding again. So im about to ask a noobie question since I forgot a lot about how to do these.

I wanted to know when it comes to the color codes in the ODF files. What is the order they go?

ex: Startcolor = "0 0 0 0" and the last one is opacity. I think it goes in that order. So am I doing this right?

bigbadbogie

Perfectly.


The scale is 255 to 0.

0 is transparent, and 255 is fully opaque.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

Crewman87

Ok thanks a lot. Also Ill most likley be sticking around also. So hello! lol.

bigbadbogie

Good!

The more modders, the better.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

General BlackDragon

there are posts in modding tutorial section wich can be useful :)



*****General BlackDragon*****

iron maiden

good to see a new person willing to stick to the universe.  :-D :-D :-D Perhaps when you get your modding skills back up to snuff you could help the others with the community project.[i exclude myself as i know nothing of and am to busy to learn the sort.] still......yay, new member.  :-D :mrgreen:
So we only get one chance can we take it
And we only get one life can't exchange it
Can we hold on to what we have don't replace it
The age of innocence is fading..... Like an old dream

Crewman87

I'd be glad to help with a community project. FE was fun and another campaign would be killer.
I'm also taking a modeling class next semester so until then I'd love to help with what I could.  :-)

TheJamsh

I posted an effects tutorial a while ago, but its not overly accurate. BZ2's particle system is VERY flexible, so one setting could mean one thing in [ExplosionClass], but something ENTIRELY different in [i76Building] Class.



BZII Expansion Pack Development Leader. Coming Soon.

General BlackDragon

TJ, thats because renders are called differently in explosion class then in all other classes. They're not a draw_multi render class setup, they're a played minimovie of renders that has a focal start point and lasts however long the timers run.

Unlike normal draw renders wich exist and are generated for as long as the object making them is around.



*****General BlackDragon*****

TheJamsh

I know that, im just saying :P

You can quite easily have an explosion class generate an infinite-lifespan effect though... but again its done differently.


BZII Expansion Pack Development Leader. Coming Soon.

General BlackDragon

Love to do that with an explosion, attach it to a weapon with a 0.1 fire rate, and see how long it takes it to kill a new computer  :-D



*****General BlackDragon*****

Crewman87

Lol any explosions that uses .flame effect on a large scale makes my comp go nuts. Seriously I don't think it can handle an explosion with a radius over 100.  :cry:

General BlackDragon

#12
.flame effect?

that could be anything... effects can be named *Filename*.monkeydoodle and as long as there's a render with the heading [monkeydoodle] in that particular file, it'll be used.

Yes, you can referance a render from a different file. just put filename.renderheader in the rendername slot.

For instance:

For effects on vehicles/torpedoes:

effectName# = "filename.rendername"

or on a draw multi render:

[Render]
renderBase = "draw_multi"
renderCount = #
renderName1 = "fileA.rendername"
renderName2 = "fileB.rendername"

Where it draws 2 renders from 2 other odf files. An odf file can be made completely of renders if you want. Allowing you to move all renders into 1 file for easy tweaking.




*****General BlackDragon*****

TheJamsh

Quote from: General BlackDragon on November 02, 2009, 01:47:57 PM
Love to do that with an explosion, attach it to a weapon with a 0.1 fire rate, and see how long it takes it to kill a new computer  :-D

BZ2 just cuts off the oldest particle first it too many are drawn by the same type of object IIRC. And i think hes talking about the stock 'flame' effect.

Theres a big nono when doing special effects, and that is to use LARGE particles. As soon as they get big, they are harder for BZ2 to draw than a few smaller ones. It sounds a bit odd, but thats what i see here, which is why i tend to use lots of little effects, rather than a few large ones.

Small is better anyway, it makes your effect more random. Of course, you can use large ones for some weapons, like the slam cannon in this video that i made a few months ago:
http://www.youtube.com/watch?v=CTh29z0yETk

This waterfall effect that i did however, uses a few smaller effects to generate the watery steam and ripples:
http://www.bzuniverse.com/~betadudes/unprotected/ST_Rock_Pools.7z


BZII Expansion Pack Development Leader. Coming Soon.