non circular dynamic lights

Discuss all aspects related to modding Zandronum here.
Post Reply
katZune
Forum Regular
Posts: 470
Joined: Mon Jun 04, 2012 9:41 pm
Location: Mexico! aka the hell gate

non circular dynamic lights

#1

Post by katZune » Sun Nov 10, 2013 3:01 am

the tittle say all, is there any way to make dynamic lights like an square?

Example:

thumbnail

it ends like a circule
Whitout a good PC ATM, i will back when 2.0 come out, :)
Spoiler: The True (Open)
Ijon Tichy wrote:
Catastrophe wrote: Banned on grandvoid for trolling Zombie Horde and all out war (blocking, destroying my own base, etc)
Kicked from El Zoido's all out war for nuking our teams base
Kicked again from el Zoido's server for fucking up the warfactory so bad that mechs couldn't spawn anymore
I see no offenses here

only justice

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: non circular dynamic lights

#2

Post by Ænima » Sun Nov 10, 2013 3:17 am

Replace these:

Image


Found inside Zandronum.pk3. Create your own versions with the same lump names and put them in your PK3 (in a folder named "glstuff") and they should overwrite the default ones.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
agaures
Forum Regular
Posts: 591
Joined: Mon Dec 10, 2012 6:34 am
Location: New Zealand

RE: non circular dynamic lights

#3

Post by agaures » Sun Nov 10, 2013 3:20 am

I am not sure if i am correct about this or not, so don't trust what i say.

In the Zandronum.pk3 there is a directory called 'glstuff'. In there are some images used for..... gl stuff, like mirrors and dynamic lights. 3 of these images are named gllight, glpart and glpart2. As you can see, the highlights are all circular. Edit the images so they are square.

Do this all in a separate .pk3. Do not rewrite Zandronum.pk3.

Edit:

Damn you Aenima!

Edit2:

On what Aenima said, Only replace gllight, glpart and glpart2. The picture named mirror is not for dynamic lights.
Last edited by agaures on Sun Nov 10, 2013 3:23 am, edited 1 time in total.
<agaures> I'm guessing you haven't played many doom mods before huh? :p
<Zuplin> i have played master of puppets zombies doom center and a couple more
<agaures> so not many
<Zuplin> i thought that was everything

katZune
Forum Regular
Posts: 470
Joined: Mon Jun 04, 2012 9:41 pm
Location: Mexico! aka the hell gate

RE: non circular dynamic lights

#4

Post by katZune » Sun Nov 10, 2013 4:48 am

interesting, but sadly looks like is going to modify all, but i will see what i can do, thanks to both :D
Whitout a good PC ATM, i will back when 2.0 come out, :)
Spoiler: The True (Open)
Ijon Tichy wrote:
Catastrophe wrote: Banned on grandvoid for trolling Zombie Horde and all out war (blocking, destroying my own base, etc)
Kicked from El Zoido's all out war for nuking our teams base
Kicked again from el Zoido's server for fucking up the warfactory so bad that mechs couldn't spawn anymore
I see no offenses here

only justice

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: non circular dynamic lights

#5

Post by Lollipop » Wed Nov 13, 2013 3:52 pm

Or you could place the light differently, the light behaves like a light would naturally, and if you want to have a square, you need to place it longer back from he entrance, try and see what works best.

EDIT: never mind, did some testing myself and found out that in doom, light travel through walls for some reason :\
Last edited by Lollipop on Wed Nov 13, 2013 3:56 pm, edited 1 time in total.
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

Tux
Forum Regular
Posts: 510
Joined: Mon Jun 04, 2012 1:18 pm
Location: satan's gaping anus
Contact:

RE: non circular dynamic lights

#6

Post by Tux » Thu Nov 14, 2013 6:35 am

Lollipop wrote: Or you could place the light differently, the light behaves like a light would naturally, and if you want to have a square, you need to place it longer back from he entrance, try and see what works best.

EDIT: never mind, did some testing myself and found out that in doom, light travel through walls for some reason :\
modify light clipping in gl options
Image
dear diary, tux today was a faggot again[/size]

Post Reply