lights.rad'er Created 18 years ago2005-09-22 13:48:48 UTC by ChickenFist ChickenFist

Created 18 years ago2005-09-22 13:48:48 UTC by ChickenFist ChickenFist

Posted 18 years ago2005-09-22 13:48:48 UTC Post #136560
I have made a tool for editing the lights.rad file.
You choose a color and brightness and it will turn it to rgb and add to your lights.rad file

screen:
http://www.crazymoocow.net/~temp/ooo.jpg

d/l:
http://crazymoocow.net/files/lights.zip
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-22 14:39:24 UTC Post #136595
Neat. Good stuff.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-09-22 14:42:33 UTC Post #136597
you made that with c?
downloading it :)
as 7th said
Neat. Good stuff.
:)
Posted 18 years ago2005-09-22 14:49:46 UTC Post #136600
Thx. :D

It's made in Visual Basic, I can't code gui applications in c.
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-22 15:41:33 UTC Post #136621
Cool now I don't need to check in hammer for the light type! :o
Posted 18 years ago2005-09-22 15:47:17 UTC Post #136623
is that vb.net? i coded for vb6 (piece o' crap) for a while. i've wanted to start some more vb coding, but vb6 is limited and buggy.
Posted 18 years ago2005-09-22 15:55:41 UTC Post #136624
Eww, VB. Learn a real language. Still a useful tool though. :)
m0p m0pIllogical.
Posted 18 years ago2005-09-22 16:14:38 UTC Post #136627
I know, VB sucks, but i'll get MVC++ 2003 soon :)
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-22 18:29:25 UTC Post #136654
Nice tool. Nice idea, too.
Posted 18 years ago2005-09-22 22:10:31 UTC Post #136679
Good job.

If VB works for you, do it. If nothing else, the learning curve is fast and you can produce stuff quickly.

When you're ready for C/C++, go with MVC++ or MVS.Net 2003. Net has a steep learning curve but there's a lot of stuff to google for when you want it.
Posted 18 years ago2005-09-22 22:13:24 UTC Post #136680
How cool! Nice Job!!! :)
Posted 18 years ago2005-09-23 04:07:58 UTC Post #136704
Nice.

But you need to have the .NET Framework package installed. Without that, the program cannot run.
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 04:11:10 UTC Post #136705
I like it.. Although it could have been better.
I've got some ideas, maybe I should make my version?
I'll do it. :)
Daubster DaubsterVault Dweller
Posted 18 years ago2005-09-23 07:33:53 UTC Post #136729
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 07:35:37 UTC Post #136730
How long do have experience with VB6?
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 07:36:37 UTC Post #136732
2 weeks or something :P
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 08:14:03 UTC Post #136745
What the fuck.

Then how did you figure out all the required code for your prog? :/
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 08:23:02 UTC Post #136750
Google, Muzzle... ;)
Posted 18 years ago2005-09-23 08:31:17 UTC Post #136762
Indeed :)
But it was really annoying to make it work.
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 08:35:04 UTC Post #136764
But how did you figured out the code that READS the value's in the valve.rad file? Im positive you can't find that on Google.
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 08:36:10 UTC Post #136766
It's SO easy to make code that reads files.. You just gotta know the order, the file is written in, everything else is simple math. :)
Daubster DaubsterVault Dweller
Posted 18 years ago2005-09-23 08:36:41 UTC Post #136767
Reads value's? :confused:
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 08:37:34 UTC Post #136768
As in: read information, I guess.. :confused:
Daubster DaubsterVault Dweller
Posted 18 years ago2005-09-23 08:38:11 UTC Post #136769
Hmm, it doesnt ?
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 08:38:54 UTC Post #136770
Anywho - it's not hard to write an app like that. :)
Daubster DaubsterVault Dweller
Posted 18 years ago2005-09-23 08:38:56 UTC Post #136771
I don't get it. :/
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 08:39:45 UTC Post #136773
I don't get it. :/
What the fuck are you talking about? :P
Anywho - it's not hard to write an app like that. smile - :)
Nope :)
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 08:42:33 UTC Post #136774
Give me an exmaple code bit please.
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 08:46:05 UTC Post #136775
Delphi is much like VB, so I'll write it. :)

[b]{$I-}
AssignFile(&lt;name of TextFile variable&gt;, Edit76.text);
Reset(&lt;name of TextFile variable&gt;);
{$I+}
lines := 0;
while not Eof (&lt;name of TextFile variable&gt;) do begin
lines := lines + 1;
ReadLn (&lt;name of TextFile variable&gt;, x);
case lines of
   1 : br_k := strtofloat(x);
   2 : num_k := strtofloat(x);
   3 : sky_k := strtofloat(x);
   4 : kam_k := strtofloat(x);
   5 : blk_k := strtofloat(x);
   6 : juo_k := strtofloat(x);
   7 : vok_k := strtofloat(x);
   8 : lam_k := strtofloat(x);
   9 : lab_k := strtofloat(x);
   10 : pef_k := strtofloat(x);
   11 : big_k := strtofloat(x);
   12 : lan_k := strtofloat(x);
   13 : poz10_k := strtofloat(x);
   14 : poz20_k := strtofloat(x);
   15 : poz44_k := strtofloat(x);
   16 : par_k := strtofloat(x);
end;
end;[/b]
As you see - this shows how to open a text file and read it's data, when you know how big is it. :)
Daubster DaubsterVault Dweller
Posted 18 years ago2005-09-23 08:53:36 UTC Post #136777
But how did you figured out the code that READS the value's in the valve.rad file? Im positive you can't find that on Google.
I still don't get it, why would it do that?
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 08:55:35 UTC Post #136778
:confused:
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 08:56:03 UTC Post #136779
Now I'm really confused. :/
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 08:56:33 UTC Post #136780
because you said you had a texture embedded?
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 08:58:05 UTC Post #136781
It has a list over all the names of the textures in halflife.wad :)
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-23 09:05:35 UTC Post #136784
Ow ok, i thought that your program could read the entries in the valve.rad file and showing it.
The Mad Carrot The Mad CarrotMad Carrot
Posted 18 years ago2005-09-23 14:33:39 UTC Post #136956
What the hell? I'm sure there are simpler ways to read multiple lines into a single array in Delphi :|.

It's "maths", by the way. Mathematics. Lots of them.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-10-15 12:38:54 UTC Post #141679
Just because I was so bored today:
User posted image
http://www.crazymoocow.net/files/lights.zip
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-10-15 12:46:16 UTC Post #141680
Woah.. Looks much more useful now.. :o
Dling.

After download: Meh I don't have .net framework v2.0...
Too lazy to download it tonight, maybe tomorrow... :)
Daubster DaubsterVault Dweller
Posted 18 years ago2005-10-15 13:27:36 UTC Post #141687
Wow, apparently even I don't have the correct version. I'll get it now, then...
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-10-15 16:11:07 UTC Post #141730
Posted 18 years ago2005-10-15 16:20:13 UTC Post #141731
Yeah, VB6's is a bizatch when it comes to functionality. The only real useful thing I've made from VB6 was an Insult Generator, and I had to package some OCX and a couple fonts to get it to work right on some systems.

I should learn Delphi, or figure out how to code a GUI in FreeBasic.
Posted 18 years ago2005-10-16 10:04:13 UTC Post #141823
Now it doesn't require the latest framework.
And it's better.
User posted image
http://www.crazymoocow.net/files/lights.zip
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-10-16 10:25:16 UTC Post #141834
Where does it get the Texture List from, anyway?

Works now, too, just to confirm that.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-10-16 14:04:24 UTC Post #141864
Yea and it's quite nice now...
The textures in the texture list must be default.
Why not load them from the .rad file, when the user opens it? :confused:
Daubster DaubsterVault Dweller
Posted 18 years ago2005-10-16 14:09:23 UTC Post #141865
Why not load them from the .rad file, when the user opens it? confused - :confused:
Because it's suppsoed to be a listover the texture's in the halflife.wad file.
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-10-16 14:33:22 UTC Post #141866
you going to add a feature to change the .wad used?
Posted 18 years ago2005-10-17 09:28:35 UTC Post #141961
nope, can't do that :/
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-10-17 10:35:36 UTC Post #141966
why? I suppose you somehow integrated halflife.wad into that program of yours. :)
Posted 18 years ago2005-10-17 10:56:30 UTC Post #141968
I think he just dumped a listing of it from Wally or suchlike.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-10-17 10:58:09 UTC Post #141972
I did at first, but I just found a tutorial on editing the .wad files.
I'm trying.
ChickenFist ChickenFist<Witty Title>
You must be logged in to post a response.