Battlezone Universe

Battlezone Universe => Battlezone 2 => Maps and Modding => Topic started by: Avatar on January 10, 2008, 07:35:35 PM

Title: Make me a billboard...
Post by: Avatar on January 10, 2008, 07:35:35 PM
Does anyone know if there's a way to have an emitter just hang a texture in mid-air?  Think of an 'electronic billboard' sort of thing, where the emitter puts up a texture which fades away, then the emitter puts it back up again...

I suck at effects and haven't had any luck figuring out if this can be done...

-Av-
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 10, 2008, 08:11:44 PM
um - do you mean like - say a holograpic projector???
Title: Re: Make me a billboard...
Post by: Steeveeo on January 10, 2008, 09:49:31 PM
draw_sprite?

Make the texture fade out at X seconds, then hook it to an emitter with an emitdelay of X+N (N being the delay in between total fadeout and replacement)

Unless you're having trouble with the ODF itself, then I can give you a hand.
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 10, 2008, 10:15:11 PM
wouldnt it just be better to make it never fade out??
Title: Re: Make me a billboard...
Post by: Steeveeo on January 10, 2008, 10:44:40 PM
multiple boards or flashing signs...duh :P
Title: Re: Make me a billboard...
Post by: Red Devil on January 10, 2008, 10:52:11 PM
What will it say?  Maulers 'R Us?
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 10, 2008, 10:59:54 PM
steeeeeeeeeeeeeeeeeeeeeeeeeeeeeveeeeeeeeeeeeeeeeeeeeeeeeeeeeeo - shutup
Title: Re: Make me a billboard...
Post by: Steeveeo on January 10, 2008, 11:49:57 PM
Quote from: bigbadbogie on January 10, 2008, 10:59:54 PM
steeeeeeeeeeeeeeeeeeeeeeeeeeeeeveeeeeeeeeeeeeeeeeeeeeeeeeeeeeo - shutup
And the thing that crawled up your ass is.....what again?
Title: Re: Make me a billboard...
Post by: Avatar on January 11, 2008, 05:31:46 AM
Guns guns guns....  gentlemen, calm down...  please.

Yes, like a flashing billboard in a futuristic city...

And yes, I'm totally clueless about how the odf would read.  Based on the FE damage odfs I see you can have an a render call an emitter sort of thing, but my fumbling about hasn't gotten it working yet.

I used to have a flashing red light someone posted, and I thought if I found that I could get this working, but I can't find that either...

-Av-
Title: Re: Make me a billboard...
Post by: General BlackDragon on January 11, 2008, 09:00:42 AM
give me the picture, i'll make it.

suggest 2 pictures if u want it to fluctuate or flash or be staticy or anything. Make a base picture, and a pic of static i can make flash a tiney bit.

make them same size btw, and email them to me. rebelion2@rock.com

i'll come up with an odf for you.
Title: Re: Make me a billboard...
Post by: Avatar on January 11, 2008, 09:12:39 AM
Thanks, that'd be cool...

I'm pretty tied up tonight but I'll try to get to it tomorrow.  Otherwise just grab any couple of images off the net and I'll make up specific ones later.

-Av-
Title: Re: Make me a billboard...
Post by: Steeveeo on January 11, 2008, 09:35:17 AM
I'll make up an ODF after school, but I warn you, the best you can do with an ODF (AFAIK) is a sprite which turns with the view, for a flashing texture you may need DLLs.
Title: Re: Make me a billboard...
Post by: mrtwosheds on January 11, 2008, 10:10:10 AM
I think draw_geom does not rotate with the view, but you would need a simple 1 frame rectangular .xsi

This is from my harpoon ground explosion

[Poon]
simulateBase = "sim_null"
lifeTime = 10.0
renderBase = "draw_geom"
geomName = "harpoog.xsi"
textureName = "dsnipr00.pic"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "96 96 96 255"
finishColor = "96 96 96 255"
startRadius = 1.0
finishRadius = 1.0
animateTime = 10.0

It creates a harpoon sticking out of the ground.
Title: Re: Make me a billboard...
Post by: Red Devil on January 11, 2008, 11:59:37 AM
DR2 has billboards, so maybe that is a good place to find some.

ZTV has flashing red lights as well as most of the innovative and advanced stuff people are trying to recreate now-a-days.
Title: Re: Make me a billboard...
Post by: General BlackDragon on January 11, 2008, 12:39:33 PM
flashy ness is easy to make in odf.

and yes i was thinking of maybe using a model, but a flashyness/holoscreen like static on a model can only be done if it's computer class...wich shouldnt be too hard to make a model for.

like the shields the scion base used, with a glowing texture that moves up/down across screen with kinda lines in it, it should look pretty good.
Title: Re: Make me a billboard...
Post by: Nielk1 on January 11, 2008, 02:04:03 PM
If only BZ2 didn't have so many issues with transparency. Half Life 2 has some amazing looking holographic billboards that are made by haivng teh same slightly curved plane 3 times over itself. As an effect, it only looks good when viewed from teh front, and the edges are a bit blurred, but if u look from the side, the side is nice and the front is blurry.

A computer class can get you scrolling signs, and when used in conjunction with a draw geometry emit it could have some nice effects, but your still playing with transparencies if you want it to look good. :cry:
Title: Re: Make me a billboard...
Post by: Red Devil on January 11, 2008, 02:25:41 PM
The console in the Hadean 'Eyes of Xyr' has a nice see-through panel.
Title: Re: Make me a billboard...
Post by: OvermindDL1 on January 11, 2008, 03:20:44 PM
Most games will do two major passes for the in-scene objects.  First they will draw everything in the frustrum that has no transparency from front-to-back, to minimize overdraw.  Then they will draw all the transparent items that are in the frustrum from back to front so that it looks correct.  BZ2 does not do this, it seems to draw things pretty randomly (actually there is an order I notice, just not well made).
Title: Re: Make me a billboard...
Post by: Avatar on January 11, 2008, 04:23:14 PM
Ooh, can't have it rotate as viewed, it has to be planar, seen only along one direction.  Like I said, a billboard along a highway is a good example. 

Don't need flashing, or scrolling, as I can (as noted) use computer class for scrolling.

I want 'fade in', 'fade out', or barring that 'blink in', 'blink out', or any combination of the two.   

Can even be the same image each time...  think "Eat at Joes"... or  "Bachelor Chow"...  :)

I appreciate anything anyone can do to point me to the right ODF...

-Av-
Title: Re: Make me a billboard...
Post by: Steeveeo on January 11, 2008, 04:29:49 PM
AFAIK there is no way to have 2 different animations in the same particle...yet...(Hint PB4 people)

So its either blink in-fade out or vice versa.

I have not yet figured out how to fake it...
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 11, 2008, 04:40:06 PM
ah...you mean like one of those billboards that changes from one image to another...that should be very simple

i think thats what you mean...right???
Title: Re: Make me a billboard...
Post by: Avatar on January 11, 2008, 05:44:54 PM
No, just one image hanging there...  doesn't have to switch back and forth, or flash, or anything.  Just fade in, then fade out, then fade in, then fade out, that sort of thing...

I know the on/off/on/off bit can be done as I've seen blinking lights, but getting an image up there seems beyond me.  I'll try 'draw sprite' a bit, see what that does...

-Av-
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 11, 2008, 08:15:19 PM
um - that sounds like the easiest thing in bz2 to mod-- now you are scaring me av...you dont know that and you are making BZC???
Title: Re: Make me a billboard...
Post by: Nielk1 on January 11, 2008, 09:27:56 PM
Quote from: Steeveeo on January 11, 2008, 04:29:49 PM
AFAIK there is no way to have 2 different animations in the same particle...yet...(Hint PB4 people)

So its either blink in-fade out or vice versa.

I have not yet figured out how to fake it...

If that's how it is, then you ahev the rade out ruetine start right when the fade in ends, so it blinks inwhen it blinks out.

I beleive drawgeom goes it how you want Av.
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 11, 2008, 09:59:08 PM
make the sign in 3dsmax - use a draw_geom effect to make it fade in and out - make it fade by decreasing the alpha transparency (the number at the end of the RGBA colour -- 255 opaque and 0 transparent) on the finish colour. The start colour should be 255 or whatever transparency level you want for the sign - 127 for semi transparent.

[Render]
renderBase = "draw_geom"
textureName = "signtexture.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255" <------
finishColor = "255 255 255 0"  <-------
startRadius = 1.0
finishRadius = 1.0
animateTime = 1.0
geomName = "signgeom.xsi"
Title: Re: Make me a billboard...
Post by: Steeveeo on January 12, 2008, 02:49:04 AM
Quote from: bigbadbogie on January 11, 2008, 09:59:08 PM
make the sign in 3dsmax - use a draw_geom effect to make it fade in and out - make it fade by decreasing the alpha transparency (the number at the end of the RGBA colour -- 255 opaque and 0 transparent) on the finish colour. The start colour should be 255 or whatever transparency level you want for the sign - 127 for semi transparent.

[Render]
renderBase = "draw_geom"
textureName = "signtexture.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255" <------
finishColor = "255 255 255 0"  <-------
startRadius = 1.0
finishRadius = 1.0
animateTime = 1.0
geomName = "signgeom.xsi"

The result would still be a blink in->fadeout
Title: Re: Make me a billboard...
Post by: TheJamsh on January 12, 2008, 05:49:46 AM
computer class??? where do all these new class labels keep appearing :S
Title: Re: Make me a billboard...
Post by: Avatar on January 12, 2008, 06:07:15 AM
Quote from: bigbadbogie on January 11, 2008, 08:15:19 PM
um - that sounds like the easiest thing in bz2 to mod-- now you are scaring me av...you dont know that and you are making BZC???

My strengths are terrains, modeling, & scripting, and definitely NOT effects.  The whole effects system seems very powerful and therefore pretty complex...  and I haven't spent any time at it.  It goes hand in hand with weapons, I think, which I also suck at.

Know your strengths and get help with your weaknesses...

Thanks for the code, I'll have to give it a try and see if I can get what I want.

***

Cool, this works well enough for what I want...

renderBase = "draw_geom"
textureName = "billboard00.pic"
textureBlend = "one one modulate"
startColor = "255 0 0 255"
finishColor = "255 155 0 255"
startRadius = 30.0
finishRadius = 30
animateTime = 0.1
geomName = "billboard00.xsi"

Hangs there nicely, although for some reason it's greenish.  I'll have to play with that...

Thanks!

-Av-
Title: Re: Make me a billboard...
Post by: Nielk1 on January 12, 2008, 02:48:45 PM
Quote from: Steeveeo on January 12, 2008, 02:49:04 AM
The result would still be a blink in->fadeout

That's why you would have one that fades in and blinks out occur first and have the one that blinks in and fades out ocur immediently after using some sort of initial delay. You can do that, but I tihnk it requires another render thing to makes the 2nd part

---

As for computer class, it is a stock class used by the shield in the last ISDF mission.
Title: Re: Make me a billboard...
Post by: Steeveeo on January 12, 2008, 04:36:42 PM
Quote from: Avatar on January 12, 2008, 06:07:15 AM
Quote from: bigbadbogie on January 11, 2008, 08:15:19 PM
um - that sounds like the easiest thing in bz2 to mod-- now you are scaring me av...you dont know that and you are making BZC???

My strengths are terrains, modeling, & scripting, and definitely NOT effects.  The whole effects system seems very powerful and therefore pretty complex...  and I haven't spent any time at it.  It goes hand in hand with weapons, I think, which I also suck at.

Know your strengths and get help with your weaknesses...

Thanks for the code, I'll have to give it a try and see if I can get what I want.

***

Cool, this works well enough for what I want...

renderBase = "draw_geom"
textureName = "billboard00.pic"
textureBlend = "one one modulate"
startColor = "255 0 0 255"
finishColor = "255 155 0 255"
startRadius = 30.0
finishRadius = 30
animateTime = 0.1
geomName = "billboard00.xsi"

Hangs there nicely, although for some reason it's greenish.  I'll have to play with that...

Thanks!

-Av-

Could be because you have your RGBA values set to that, what was the blendmode to keep the original TGA intact again? Maybe just "DSTCOLOR" would work?
Title: Re: Make me a billboard...
Post by: Lizard on January 12, 2008, 05:46:25 PM
Quote from: Avatar on January 12, 2008, 06:07:15 AM


My strengths are terrains, modeling, & scripting, and definitely NOT effects.  The whole effects system seems very powerful and therefore pretty complex...  and I haven't spent any time at it.  It goes hand in hand with weapons, I think, which I also suck at.



I suck at weapons even though I've made a few all I ever did was cut and paste stuff from other weapons then change a few values around, generally speaking I'm not very creative when it comes to making weapons but I can kind of muddle through.


I'm a little bit better with effects but not by much.


the thing is that every aspect of making a mod ( or indeed a game) is pretty deep so it's near on impossible to master them all in one lifetime, the best you can hope to do if you are making a mod by yourself is to specialise in a couple of areas and just aim for adequacy in the remaining ones .


I suck at any kind of scripting ( the only reason my AIP's work is because I had to simplify them to the level where I could understand them and by then even the AI couldn't get it wrong  :lol: ) and I haven't got much of a clue about audio work either
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 12, 2008, 06:24:09 PM
its actually not that hard...i think i have mastered them all -- well it is true that bz2 is pretty much all i ever do in regards to computers

@lizard, i hope that was a joke
Title: Re: Make me a billboard...
Post by: Avatar on January 12, 2008, 06:34:59 PM
The RGB shown in the effect should make it a little reddish...  I think it's an issue with materials colors, but I'll get back to it tomorrow and figger it out...  :)

Anyone who says they've mastered it all, well, the more you know the less you know... 

"As a circle of light grows, so does the circumference of darkness surrounding it."

It turned out very nice for a billboard, thanks again for the help.  :)

-Av-
Title: Re: Make me a billboard...
Post by: Lizard on January 13, 2008, 04:34:38 AM
Quote from: bigbadbogie on January 12, 2008, 06:24:09 PM
its actually not that hard...i think i have mastered them all -- well it is true that bz2 is pretty much all i ever do in regards to computers

@lizard, i hope that was a joke


so you've mastered 3d model making, UV mapping , animation, texture design, map making, c++ programming, mission scripting, AIP scripting ,ODF editing, Iface design and shell scripting, multimedia work including making movies and other cut scenes and audio engineering to a level where you can create almost anything you desire with ease and you've done this all in the space of just a few months .


well I am impressed.  :roll:


what I wanna know is where are the hundreds of mods that someone with your god like powers must have created .....  :lol:





e2a :


I must admit though that some of your screenies on b2zmd do look quite nice . ;)
Title: Re: Make me a billboard...
Post by: mrtwosheds on January 13, 2008, 07:13:06 AM
I am lacking in the skills, c++ programming, mission scripting,Iface design and shell scripting.
If there are any bored genius out there looking for something to do, I can help.
Applicants Must be prepared to work unpaid for omnicidal hate filled aliens.
Title: Re: Make me a billboard...
Post by: Nielk1 on January 13, 2008, 01:15:15 PM
Quote from: Lizard on January 13, 2008, 04:34:38 AM
all in the space of just a few months

I think Avatar has been working on it alot longer than that. I joined the BZU forums right after the FIRST change of forum systems (there was an archive still around) and found Avatar toiling away at his mod. I looked in the achive and what did I find? Posts dating WAY back of Avatar working on his mod. I remember when he couldn't even get an extractor based silo up. :roll:
Title: Re: Make me a billboard...
Post by: Lizard on January 13, 2008, 01:19:53 PM
Quote from: Nielk1 on January 13, 2008, 01:15:15 PM
Quote from: Lizard on January 13, 2008, 04:34:38 AM
all in the space of just a few months

I think Avatar has been working on it alot longer than that. I joined the BZU forums right after the FIRST change of forum systems (there was an archive still around) and found Avatar toiling away at his mod. I looked in the achive and what did I find? Posts dating WAY back of Avatar working on his mod. I remember when he couldn't even get an extractor based silo up. :roll:



:lol:


I wasn't replying to Avatar -  he's been lurking around the Battlezone even longer than I have. :-P



Title: Re: Make me a billboard...
Post by: Nielk1 on January 13, 2008, 01:30:09 PM
Ops.
LOL, I'm sitting here sleep typing and paceing (figure that out).

BBB kinda came outta nowhere with his mod screenshots and in your face slug avatar.
Where did you come from BBB? :roll:
Title: Re: Make me a billboard...
Post by: Warfreak on January 13, 2008, 01:40:19 PM
Well, while we're somewhat on the topic, heres my lists of Pros-Cons:

Good at:  :-)
--------------------
Modeling
Animation
UV Mapping (stock textures)
Map Making
.ter creation (winter)
odf editing
weapon tweaking (changing values and effects)
basic scripting (bz2scriptor)
----------------------

Bad at:  :-(
----------------------
c++ scripting
weapon & effect creation (they ARE hand-in-hand)
texture design
advance mission scripting (OM's scriptor)
iface scripting
shell scripting
aip scripting
SOME multimedia work
-----------------------

Never tried:  :|
-----------------------
audio creation (like explosions)
Title: Re: Make me a billboard...
Post by: Steeveeo on January 13, 2008, 02:11:36 PM
Quote from: Warfreak on January 13, 2008, 01:40:19 PM
Well, while we're somewhat on the topic, heres my lists of Pros-Cons:

Good at:  :-)
--------------------
Modeling
Animation
UV Mapping (stock textures)
Map Making
.ter creation (winter)
odf editing
weapon tweaking (changing values and effects)
basic scripting (bz2scriptor)
----------------------

Bad at:  :-(
----------------------
c++ scripting
weapon & effect creation (they ARE hand-in-hand)
texture design
advance mission scripting (OM's scriptor)
iface scripting
shell scripting
aip scripting
SOME multimedia work
-----------------------

Never tried:  :|
-----------------------
audio creation (like explosions)

Might as well join in, just in case anyone needs me in the future.

Can:
Weapon and effect creation via ODFs
Somewhat good at AIPs
Odf editing (in general)
I think I've gotten the basic DLL mission scripting down, just nothing for multi or advanced stuff.
Graphic creation
Audio engineering (creating new sounds, mixing old sounds to make new ones, etc)
Some map making experience.
Script writing (as in backstories and dialog).

Cant:
Modeling (in any aspect)
Advanced DLL scripting (from making multiplayer mission scripts to making buildings move)
C++ writing (No exp. yet, planning on learning soon)

Never really dug my teeth into:
Interface editing (partial experience because I moved some baseslots)
Winter


Anyway, now that thats over with, back on topic...which was...what again? :lol:
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 13, 2008, 03:40:53 PM
Quote from: Nielk1 on January 13, 2008, 01:30:09 PM
BBB kinda came outta nowhere with his mod screenshots and in your face slug avatar.
Where did you come from BBB? :roll:

I did come out of nowhere - but believe me i have been modding and playing bz2 since 2004 when i first got my hands on it.
Until 2007 I didnt even know what a forum was - yes i am telling the truth. i came to these forums hundreds of times and had absoloutely no idea what they were for.

i started modding after i discovered Sonic's mods at SFP and played them heaps of times.. i think the first one was 'outback' because it sounded very australian lol

i downloaded everything i could find that said 'battlezone 2' - including the dll scriptor with the sample scripts to sonic's mods
those got me thinking that i could do it too...then i accidentally found FE and downloaded it

soz 4 boring u with my life story -- ZZZzzzz ZZZZzzzzz
Title: Re: Make me a billboard...
Post by: Avatar on January 13, 2008, 03:46:19 PM
I was born with the BZ CD in my hand.

Mom never forgave me for that birth...  ouch.   :roll:

Actually I 'aquired' a copy of the leaked BZ1 beta, and it hooked me.  I bought a copy the day the game hit the shelves here, and it's been part of my gaming life ever since.  I'm one of the few 'old men' around here I think, although Trinity pops in now and then.

Some names from 'my' time:
Mowerman, FON, King Kobra, Scrapmaker, Tim the Original, Zen, Existence, Red River, Nightwing, Slingshot, Mick Brown, and who could forget Po?  Not me, and I've tried very hard to do so... :)

Anyway, now that I'm totally depressed about how old I am I realized something...

I haven't had nearly enough to drink yet...   :evil:

-Av-
Title: Re: Make me a billboard...
Post by: Red Devil on January 13, 2008, 03:52:12 PM
Thanks for reminding me, man. *makes another trip to the beer tap*   :-)

Title: Re: Make me a billboard...
Post by: Nielk1 on January 13, 2008, 03:58:31 PM
Quote from: Avatar on January 13, 2008, 03:46:19 PM
Actually I 'aquired' a copy of the leaked BZ1 beta, and it hooked me.  I bought a copy the day the game hit the shelves here, and it's been part of my gaming life ever since.  I'm one of the few 'old men' around here I think, although Trinity pops in now and then.

-Av-

Do you still have that beta? :roll:

I found BZ2 in a flee market I think. I had had BZ1 from my father's thrustmaster and though it was fun. I was editing the game before I beat the story line. I always do that.

So, got a screeny or short vid of this bill board? Time laps perhaps?
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 13, 2008, 04:02:24 PM
lizard - i am an odf master, an intermediate dll scriptor, (sorry what the hell does c+++ or watever have to do with bz2?), i am fairly experienced with modelling (expert with threed), i am an expert weapon/effects maker, a fair map maker, never tried advanced uv mapping because i never needed to, animation is a new thing to me but i am getting the hang of it, never needed to edit the iface but i have a good idea of how to, and i have made advanced aips.

And it takes more than a few months to learn these things, try 4 years.
Title: Re: Make me a billboard...
Post by: Lizard on January 13, 2008, 04:37:43 PM
BBB I think you are confusing mastery with proficiency , being proficient at something means you have a good handle of the basic concepts, being a master at something means you are not only proficient but can consistently do stuff nobody else has even thought about.


Not that I have any time for modding BZ2 these days but I'd say that the only aspect of BZ2 modding that I've really mastered is map making and even here there is room for improvement ( there always is) , I'm pretty good when it comes to all aspects of modelling and texturing but I'm no master .


most other aspects I'm proficient at but with things like scripting I rely on other people's examples a lot .


You haven't even come close to mastering DLL scripting unless you get to grips with C++ , there's so much more you can do with it as opposed to using the scriptor which is ok for making basic missions but it's quite limited really.


I'm not saying your work is bad or anything ( far from it) but I think you've still got a ways to go before you can claim mastery .
Title: Re: Make me a billboard...
Post by: Nielk1 on January 13, 2008, 04:53:26 PM
I am above proficient in 3D moddeling and ODF editing, and proficient in CFG editing and complicated weapon arrangement.

I can program in Java, Visual Basic, and C++. I am best in Java, 2nd best in Visual Basic, and only have a little experience with C++.
C++ is what BZ2 DLLs are written in BBB. The DLL scriptor converts your code into compiled DLLs, but the original DLLs are from C++ compilers. OM made a DLL that reads and automaticly compiles Python Codes and interprets it as mission script. That one is interesting in that it is always the special DLL, but it loads scrips via a cvar (or equivilent parameter). OM's python one isn't working right now.

If someone could give me a walkthough of the BZ2 DLLs, just once, I would be able to make my own. As I am now, I only know how to edit the existing ones, but not how to compile them into DLLs with a differnt name. I think renaming the files does not work either cause the DLLs themselves contain their filename. If someone could just help me there I could do a good job.
Title: Re: Make me a billboard...
Post by: bigbadbogie on January 13, 2008, 06:15:07 PM
Quote from: Lizard on January 13, 2008, 04:37:43 PM
BBB I think you are confusing mastery with proficiency

i guess we'll find out soon enough
Title: Re: Make me a billboard...
Post by: GSH on January 13, 2008, 06:21:20 PM
Quote
As I am now, I only know how to edit the existing ones, but not how to compile them into DLLs with a differnt name.

Do this in developer studio. Right click on the project, hit properties. Look under the output (linker) settings.

-- GSH
Title: Re: Make me a billboard...
Post by: Red Devil on January 13, 2008, 06:30:52 PM
Set it for U:\RD-DLLs
Title: Re: Make me a billboard...
Post by: OvermindDL1 on January 13, 2008, 10:17:00 PM
Quote from: Nielk1 on January 13, 2008, 04:53:26 PM
C++ is what BZ2 DLLs are written in BBB. The DLL scriptor converts your code into compiled DLLs, but the original DLLs are from C++ compilers. OM made a DLL that reads and automaticly compiles Python Codes and interprets it as mission script. That one is interesting in that it is always the special DLL, but it loads scrips via a cvar (or equivilent parameter). OM's python one isn't working right now.

Like yo!  They are working perfect.  I even made it so it would support BZ2 all the way back to 1.0.  However, it requires a unique way of loading, which the latest 1.3's have, or I need to go machine code diving and change some things (not hard at all, just tedious, BZ2's layout is very obvious, I could describe its entire startup structure and code and what it does with how much of its machine code I've read), thus I would need to release a new BZ2 exe with my scriptor for the older BZ2's.  The latest version of my scriptor can even load scripts from information based on BZ2's own filesystem (hence, from the addon directory, a pak file, wherever, GSH made that stupidly easy to do with a change a few private versions back, again thanks).

I really should make a mission script sometime for people to learn off of.  Freakin school starting back up, why can they not actually teach something, feels like such a waste of time, whether it is or not it feels like it, and it should not, hence they are doing something wrong.  That, or I am addicted to programming, probably the latter, heck I dream code (I dreamed the answer to a programming annoyance I was having last night, I woke up, knew the answer, coded the new style up in about 20 minutes and it just worked beautifully, only got about 4 hours of sleep due to suddenly waking so quickly, but I got that programming part done).
Title: Re: Make me a billboard...
Post by: Nielk1 on January 14, 2008, 10:20:21 AM
The built in test map would not run for me. Even when I launched with to parameters for the new 'unique way of loading' in private 1.3

They just fail and do nothing when the map loads. I haven't tried in several versions, but last I tried, it had some sort of error message in the console. No, I do not remember the message.
Title: Re: Make me a billboard...
Post by: OvermindDL1 on January 14, 2008, 11:53:20 PM
I would love to test it myself, I was quite certain it worked fine, but anytime I try to start BZ2 it complains about "Can't start hardware accelerated Direct3D 8. Please see http://www.microsoft.com/directx/ to download DirectX 8.0 or better." although everything else works perfect.  Been having this issue for a bit now...
DIAG|Main            |            maininit:475  |23:49:15|9      |Version Information Section
DIAG|Main            |            maininit:486  |23:49:15|9      |Session started Mon Jan 14 23:49:15 2008
DIAG|Main            |            maininit:489  |23:49:15|19     |CPU: Dual Core AMD Opteron(tm) Processor 165   /103MHz L1:128K T:0 F:15 M:3 S:2 (SSE,3DNow,MMX,TSC,FPU)
DIAG|Main            |            maininit:492  |23:49:15|20     |Executed by Cerebrate\Zagg on Windows NT v5.1 Service Pack 2 Build 2600
DIAG|Main            |            maininit:495  |23:49:15|20     |Compiled by Ikkoku\GSH on Win2000+SP2
DIAG|GLOBAL          |               setup:73   |23:49:15|110    |Drive type : Fixed
DIAG|GLOBAL          |               setup:143  |23:49:15|111    |Startup directory : G:\Program Files\Battlezone II - 1.3 Latest
DIAG|GLOBAL          |                 vid:1026 |23:49:16|618    |
DIAG|GLOBAL          |                 vid:1027 |23:49:16|618    |dd: Primary Display Driver
DIAG|GLOBAL          |                 vid:1057 |23:49:16|731    |mem dx:
DIAG|GLOBAL          |                 vid:3466 |23:49:16|731    |tex mem:   total 0, free 0
DIAG|GLOBAL          |                 vid:3483 |23:49:16|731    |frame mem: total 0, free 0
DIAG|GLOBAL          |                 vid:1123 |23:49:16|731    |mem actual:
DIAG|GLOBAL          |                 vid:1125 |23:49:16|731    |frame mem: total 5242880, free 5242880
DIAG|GLOBAL          |                 vid:1587 |23:49:16|733    |no hardware d3d devices


And are you sure you are using the parameter "/allowstackless", and have the files "boost_python-vc71-mt-1_34.dll", "BZ2Stackless.dll", and "python25.dll" in the same directory as the bzone.exe file?  Even if you had nothing else, that would still spit out a log file, so send me or post up that log file that I make (not battlezone.log, it is something else, like bz2stackless.log or something).
Title: Re: Make me a billboard...
Post by: anomaly on January 15, 2008, 02:52:42 PM
Quote from: OvermindDL1 on January 14, 2008, 11:53:20 PM
I would love to test it myself, I was quite certain it worked fine, but anytime I try to start BZ2 it complains about "Can't start hardware accelerated Direct3D 8. Please see http://www.microsoft.com/directx/ to download DirectX 8.0 or better." although everything else works perfect. 

I used to have that problem.  Installing dx9 got rid of the message but then the way 1.2 displays textures got all messed up.  1.3 seems to work fine though.  But how are you still able to get bz2 to start up?
Title: Re: Make me a billboard...
Post by: OvermindDL1 on January 15, 2008, 10:31:02 PM
Everything else, as in all my other games, and everything is very well updated, only BZ2 has this issue, will try reinstalling it whenever I get a free moment again.
Title: Re: Make me a billboard...
Post by: Nielk1 on January 15, 2008, 11:28:38 PM
Quote from: OvermindDL1 on January 14, 2008, 11:53:20 PM
And are you sure you are using the parameter "/allowstackless", and have the files "boost_python-vc71-mt-1_34.dll", "BZ2Stackless.dll", and "python25.dll" in the same directory as the bzone.exe file?  Even if you had nothing else, that would still spit out a log file, so send me or post up that log file that I make (not battlezone.log, it is something else, like bz2stackless.log or something).

I haven't tried it in a while but the last version I used had this DLL:boost_python-vc71-mt-1_33_1.dll
Everything was right.

BZ2PythonScriptor-Stackless opened
>> network.session.svar16 = ''
>> options.instant.string16 = ''
>> BZ2Paths['scriptname_*'] = ''
>> network.session.svar0[:-4] = ''
>> Script: 'C:\Program Files\Battlezone II 1_3b\missions'
FATAL SCRIPT ERROR: Unable to import traceback module.
>> FATAL SCRIPT ERROR: Could not load mission for unknown reason, check scripts to make sure that CreateMission is defined in the proper module (C:\Program Files\Battlezone II 1_3b\missions) and that it returns a class that subclasses BZ2.DLLBase.
BZ2PythonScriptor-Stackless closed
Title: Re: Make me a billboard...
Post by: OvermindDL1 on January 15, 2008, 11:48:31 PM
Whatever version you were using appears to be a rather old one, I upgraded to 1_4 a while ago, and not to mention that I included the traceback module (and others) with the distribution later on as well.

I still have a newer one I should post up (supports loading scripts from pak file and so forth, anywhere in BZ2's filesystem).
Title: Re: Make me a billboard...
Post by: Nielk1 on January 16, 2008, 06:00:46 AM
As I said it was a while ago...