Home   Help Search Login Register  

Author Topic: How the COC_nuke was made?  (Read 912 times)

0 Members and 1 Guest are viewing this topic.

Offline wired

  • Members
  • *
  • Explosion Scripter for the [unsung] mod!!!
How the COC_nuke was made?
« on: 02 May 2004, 21:47:38 »
kk, i've been seeing that coc_torp that is the nuke?
1. well how do they make it so bright (giving off light)? Is it the drop[] command or am i missing summit?
2. In the drop command, what colour is brown (dirt) colour?
Sum1 really shud make a colour-chart for the drop[] command ;D
We have a problem at 'Oscar-Charlie 2-7' do you read me? Well its that guy with the RPG!

illmatic

  • Guest
Re:How the COC_nuke was made?
« Reply #1 on: 04 May 2004, 22:32:38 »
Go to the editor depot and search for number to colours.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:How the COC_nuke was made?
« Reply #2 on: 14 May 2004, 05:21:08 »
There is no way to create a light source with the drop command. You can only config one via an addon; basically you can make a custom fireplace, and make it glow whatever color you want, however bright you want. But again, you CANNOT do that via scripting.

Now, the color format for the drop command is in RGBA format. That is a very standard format for computers, and it works like this: each slot in the array is the amount of red, green, blue, or alpha (transparency) in your color. OFP makes it easy, because you are just doing percents (0-1). Usually RGBA uses numbers from 0 to 255 (255 = largest 8-bit number).

Since this format is so standard, you can just search Google for "RGBA chart" or "RGBA picker" or something like that. You should get tons of results.

Just remember, the charts are likely going to be using numbers from 0-255, instead of from 0-1. This just means you're going to bust out your crazy math skills to convert :P.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:How the COC_nuke was made?
« Reply #3 on: 14 May 2004, 11:46:54 »
There is no way to create a light source with the drop command. You can only config one via an addon; basically you can make a custom fireplace, and make it glow whatever color you want, however bright you want. But again, you CANNOT do that via scripting.

Yeah you can... it's not very bright, but it is a light source.
Try some of these objects:

"obrysove svetlo"
"Halflight"

yeah... they more glow than project light, but at least they don't appear dark...

Father.Jack

  • Guest
Re:How the COC_nuke was made?
« Reply #4 on: 14 May 2004, 16:10:40 »
That nuke sucks!! Get the this one, i swear its sweeeet!

http://www.atwar.net/request.php?3524.0