Jump to content
The Dark Mod Forums

Issue with Lockbox


NeonsStyle

Recommended Posts

Heyo,

 

I'm making a lockbox (first one) and found the model, and defined the handle as atdm:lockbox_lever_01,

and then made a top for it out of a brush and tried to define it as atdm:mover_door but it

won't do it. It just remains worldspawn.

 

Is there something I'm missing?

 

Also, I selected a hanging oil lamp from Entity lights and there doesn't seem to be a spawnarg to

adjust it's light radius. How is this done?

 

Thx

 

Ven

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Link to comment
Share on other sites

Regarding the light: Extinguishable lights have the actual light entity attached to them. The attachment name is usually "flame". If you want to change a spawnarg on an attached entity, you have to use "set spawnarg on attachmentname". In your case it is "set light_radius on flame". Similarely, you can change the light_color using "set _color on flame".

 

Regarding the first issue it would be helpful if you could upload an example map.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Regarding the light: Extinguishable lights have the actual light entity attached to them. The attachment name is usually "flame". If you want to change a spawnarg on an attached entity, you have to use "set spawnarg on attachmentname". In your case it is "set light_radius on flame". Similarely, you can change the light_color using "set _color on flame".

 

Regarding the first issue it would be helpful if you could upload an example map.

 

Thanks for first part. Take a look at the hanging light in the Barracks, I don't see a flame entity.

 

Also is the chain ok? I needed the lamp to hang lower, so only thing that made sense was a chain. Just not sure if there's a simpler way to do it, it's 2 x 4 patches in X arrangement. all textured with chain texture. Was the only way I could get it visible from all sides.

 

 

 

Thx Ven

Edited by Venus

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Link to comment
Share on other sites

Thanks for first part. Take a look at the hanging light in the Barracks, I don't see a flame entity.

 

The flame entity is spawned during map load, so it doesn't exist in the editor. That is why the complicated "set foo on bar" spawnarg is nec. to change properties of the flame.

 

Also is the chain ok? I needed the lamp to hang lower, so only thing that made sense was a chain. Just not sure if there's a simpler way to do it, it's 2 x 4 patches in X arrangement. all textured with chain texture. Was the only way I could get it visible from all sides.

 

Yes, patches are only visible from one side, so you need both sides (or have one side with a "twosided" texture on it, in that case the game engine will create the other side during map load.

 

As for chains, TDM is a bit lacking in that department. The chains we have are never the right length... It would be cool if there was a chain-prefab where you can cut the chain to the length you need.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Ahh that explains more of it of why it's not visible in editor (flame). Ok next question re the flame,

are the spawnargs entered just in the entity editor, or do they need to be done in a script?

 

Ahh good, was wondering about chains and alpha channel objects. It looks good in game

from all angles so I guess it's ok.

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Link to comment
Share on other sites

Ahh that explains more of it of why it's not visible in editor (flame). Ok next question re the flame,

are the spawnargs entered just in the entity editor, or do they need to be done in a script?

 

You can place them in the editor on the "light holder" entity, in this case the torch. The spawnargs will be parsed and applied during loading the map.

 

More info is on the wiki: http://wiki.thedarkmod.com/index.php?title=Combined_light_entities

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Thanks Tels, now if someone can tell me why the lockbox lid brush can't be defined as an atmd:mover_door it'd

be great. The lid is just a brush placed over the top of the lockbox model.

 

If you aren't sure what I mean, take a look at the map above, it's the lockbox in the guards quarters

(6 beds in there).

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Link to comment
Share on other sites

for a normal worldspawn brush you have to select it, right click it, select convert to func_static, then change the func_static into what ever type of mover you need, via the entity window, just click on the classname and select what you need , it will then inherit the properties for that type then you can change them.

Edited by stumpy
Link to comment
Share on other sites

Well, that solves that problem.

 

Thanks guys

 

Ven

Edited by Venus

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 1 reply
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...