Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Drop[] Wizard  (Read 4473 times)

0 Members and 1 Guest are viewing this topic.

Bluelikeu

  • Guest
Drop[] Wizard
« on: 16 Jun 2005, 00:01:25 »
Hello all,

I Was just wondering if such a program existed? If not, I was thinking about doing one.

Thanks,
Bluelikeu

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Drop[] Wizard
« Reply #1 on: 16 Jun 2005, 00:20:48 »
I know a little about a lot, and a lot about a little.

Bluelikeu

  • Guest
Re:Drop[] Wizard
« Reply #2 on: 16 Jun 2005, 00:27:52 »
Accually, I meant more like one that you run outside the game.

Basically would allow someone who does not have much experience with the drop command to create what they want more easily. Lets you choose the color and all the rest of the options such as the velocity. It would then compile the data and then spit out the command.
« Last Edit: 16 Jun 2005, 00:30:20 by Bluelikeu »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Drop[] Wizard
« Reply #3 on: 16 Jun 2005, 00:31:38 »
Nope, I've never seen one that runs outside of the game.   ;D



Planck
I know a little about a lot, and a lot about a little.

Grendel

  • Guest
Re:Drop[] Wizard
« Reply #4 on: 16 Jun 2005, 00:33:47 »
It might make things a little clearer for those that are new to the drop[] syntax...after a while though you don't see an array anymore.  All I see now is blond....brunette....redhead  :P

-Grendel

Bluelikeu

  • Guest
Re:Drop[] Wizard
« Reply #5 on: 16 Jun 2005, 00:41:32 »
ok, good...
I'll have it done by 5 AM
right now its 2:31 AM

my life is sad :'(

Bluelikeu

  • Guest
Re:Drop[] Wizard
« Reply #6 on: 16 Jun 2005, 15:05:03 »
Ok its done, although a bit late, I fell asleep before completing it.

Here's the program, however, i'm not exactly sure of some of the commands. So I would be so grateful if someone could sift through the wizard and check to see if any of the syntax is wrong. There were some parts of the drop command that I myself was not too sure about. Any assistance will get YOU in the credits too.

Thanks,
Bluelikeu

PS: I didn't have the color choosing option yet, because I'm still trying to understand why BIS used a range of 0-1 instead of the standard 0-255 color range.
« Last Edit: 16 Jun 2005, 15:07:25 by Bluelikeu »

Offline Pilot

  • Contributing Member
  • **
Re:Drop[] Wizard
« Reply #7 on: 16 Jun 2005, 16:27:50 »
Uhh, forgive me if I am an idiot, but...how does one run this program? :-[  I extracted the contents to a folder and double-clicked the .bat file.  Nothing happened.  Could you give some directions on how to use this program for those of us who are idiots with programing?

As for the color, I think I can answer that:

IIRC there are 4 numbers in the color array:
[0,0,0,0]
The first three are ratios of Red, Green, and Blue.  The 4th number is the transparency setting

The colors are ratios of each other.  Values of 1,1,1 would yield white, as would .1,.1,.1.  Now, I would assume that .1,.1,.1 would be darker than 1,1,1, but I am not too sure about that.  1,0,0 would yield Red, 0,1,0 would yield Green, 0,0,1 would yield Blue.

The fourth digit, as I said earlier, defines the transparency.  I don't know how the scale goes, if 1 is transparent or if 0 is transparent.  It's either one or the other ::), with decimals being different levels of transparency

I hope that clears it up some.

-Student Pilot
« Last Edit: 16 Jun 2005, 16:29:47 by Student Pilot »

Bluelikeu

  • Guest
Re:Drop[] Wizard
« Reply #8 on: 16 Jun 2005, 16:48:17 »
ok, can you click edit on the .bat file and delete the @ symbols. Only the @ symbols.

Then run the program again and tell me if there are any errors.

if no erros appear, then swap it with the attached batch file.

About the color. Since java uses the 255 values for each color level, I'm not certain as to how accurate the scale is. All I know is that it should be 255:1.
Also, It seems to me that the OFP color for the drop command only changes the RPGA intensities of the given partical, so the color might look different from that of what can be recreated in java.
« Last Edit: 16 Jun 2005, 16:49:01 by Bluelikeu »

Offline Pilot

  • Contributing Member
  • **
Re:Drop[] Wizard
« Reply #9 on: 16 Jun 2005, 16:55:11 »
Quote
Also, It seems to me that the OFP color for the drop command only changes the RPGA intensities of the given partical
AFAIK that is exactly what OFP does.  I think that is what I was trying to say, I just didn't do so well saying it. ::)

I tried the new batch file, and nothing happened.  I opened it up and added a pause command (see, I know something ::)), here is the error message:
' java' is not recognized as an internal or external command, operable command or batch file.

-Student Pilot

Bluelikeu

  • Guest
Re:Drop[] Wizard
« Reply #10 on: 16 Jun 2005, 16:59:07 »
i see...., just as a question, do you have Java installed?
This always happens to me..., I get the program working and it doesn't work. It seems to run on my PC ok, i guess its because I have the SDK instead of just the RTE.

It should work, I don't have the SDK installed on my other computer and it runs fine.

Offline Pilot

  • Contributing Member
  • **
Re:Drop[] Wizard
« Reply #11 on: 16 Jun 2005, 17:07:22 »
Java? ??? ::)

Uhhh, let me see

*Starts search on computer*

Uhh, I honestly have no idea, which probably means I don't have it.

Do you know where I can get it?

-Student Pilot

Bluelikeu

  • Guest
Re:Drop[] Wizard
« Reply #12 on: 16 Jun 2005, 17:56:19 »
http://www.java.com/en/download/download_the_latest.jsp

if after you click the download button, and it says you've go the latest version, then i need to fix my stuff.

after you click download it will probably ask you dl some components, dl them.
« Last Edit: 16 Jun 2005, 17:57:29 by Bluelikeu »

Offline Pilot

  • Contributing Member
  • **
Re:Drop[] Wizard
« Reply #13 on: 16 Jun 2005, 18:18:41 »
Thanks, Bluelikeu

It appears I don't have the latest version, so I have to download it.  That will take a while, as I'm still on dial-up.

-Student Pilot

Bluelikeu

  • Guest
Re:Drop[] Wizard
« Reply #14 on: 16 Jun 2005, 18:22:00 »
no problem, i'll be around all day