Jump to content
System downtime for updates - Sunday 13 July 2025 ×
The Dark Mod Forums

Recommended Posts

Posted

I have a typical elevator like the one in St. Lucia or Outpost. I made a new model for the made-from-brushes buttons on the controller, and replaced the "model" spawnarg on the button entity with the new model. This has somehow made the button no longer frob or work at all. All the other spawnargs have not been changed.

 

Is this known to break buttons? Can't the model be anything?

Posted (edited)

Hey Springheel,

 

Instead of changing a brush into a model, why not just change the entity line/spawnarg on the func_static of your model into the mover entity? I've done this before with other entities and it worked fine.

Edited by Moonbo

But you should walk having internal dignity. Be a wonderful person who can dance pleasantly to the rhythm of the universe.

-Sun Myung Moon

 

My work blog: gfleisher.blogspot.com

Posted
why not just change the entity line/spawnarg on the func_static of your model into the mover entity?

 

I've tried that too, but for some reason nothing is happening.

 

edit: Okay, I swapped a different model in and it worked fine, so there must be something wrong with the button model I've created.

Posted

Hm, you could try using one of the door entities (they're just inherited movers anyways). It might be more amenable to changing the model spawnarg than a worldspawn brush.

But you should walk having internal dignity. Be a wonderful person who can dance pleasantly to the rhythm of the universe.

-Sun Myung Moon

 

My work blog: gfleisher.blogspot.com

Posted

This is bizarre. For some reason, this particular button model I've made will NOT work as a button. If I slap a random model into the "model" spawnarg, it works fine. But put button2.lwo in, and it won't even highlight. Yet I can't see anything unusual about this model.

Posted

Yes. I made two button models. One of them works fine. The other (a much simpler model, nearly a cube) will not work as ANY kind of button. I've never seen anything like this before.

Posted

Ok...it's not the model, it's the name. button01.lwo works, but button02.lwo does not. But if I just resave button02.lwo as button03.lwo, it works. :huh:

Posted

That worked in the testmap, but when I tried it in the actual map it didn't help. Then I noticed that when I rotated the buttons, they displayed as the original brushwork versions rather than the model. So I went into the map file and saw they still had all their primitive information from the brushes. I deleted those manually, and now it seems to work.

Posted

I think so, but I'm still not 100% sure what's going on. When I load up the testmap I was using, the primitive information is still there, and yet it started working when I renamed the button model. The actual map wouldn't work with that fix, however, and didn't work until I deleted that primitive information (which I suppose DR should probably remove automatically when a model is selected?).

Posted

I'd expect it to remove it yes. I just did a quick test myself in the map I have open. Changing the "model" spawnarg for a brush FS didn't delete the primitive data. In DR the orthoview showed the new model, but the camera view showed both the new model and the brushes. In game only the new model showed up, but with no clip model -- which is probably why your button didn't work. No clip model for the trace to hit.

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

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...