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

    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
×
×
  • Create New...