Jump to content
The Dark Mod Forums

How Do I Create An Ingame Object?


sparhawk

Recommended Posts

So I have a model that I got from Oddity and I wrote the definitions needed to show it up in the editor. But there seem to be a problem, because when I put it in the map, and then press ALT-TAB to switch between the views, suddenly they get white and I don't see my map anymore. The model also doesn't show up in the editor when I reload the map. While I create the model I can see it fine, but when I save it and reload the map it is gone. In the mapfile it exists though, it only doesn't show up in the editor afterwards, only when it is just created.

 

Also when I just created the model and press ESCAPE it also disappears in the editor window, but the entity definition is still there.

 

entityDef darkmod_lightgem_surface
{
"editor_color" 	 ".3 .3 1" 
"spawnclass" 	 "idItem"
"model"    "models/props/misc/lightgem_surface.lwo"
"frobable" 	 "0"
}

 

 

models/props/misc/lightgem_surface
{
  noSelfShadow
  diffusemap models/props/misc/lightgemsurface_d.tga
}

 

Anybody knows whats wrong with it?

 

How do you, Blackthief, or the others get their props into the game? Seems I'm missing something here.

Gerhard

Link to comment
Share on other sites

What do you mean "creat it in the map"? Edit the mapfile with a texteditor? Or do you mean: Create the model in the editor, then copy it and delete the first model?

When I put the bowl ingame, it worked normally, like I expected it to. Never had this problem before.

Gerhard

Link to comment
Share on other sites

I just tried the method proposed on d3world and it works fine. But now I have another problem. The model is very simple. It is just a diamond shaped box with a single texture being full white (RGB 255,255,255). Since it is essentialy only a simple object, it has only a few polygons. But everytime when I look at it in the map, then the map begins to stutter and framerate goes down to still images. When I turn away, the map behaves normal, only when this object is visible on screen it acts strange.

 

Any ideas what could cause that?

Gerhard

Link to comment
Share on other sites

Holy crap, now you got me stumped :laugh:

 

Start again, maybe there is some residual stuff from when you were trying to get it into the map multiple times earlier.

 

Create a new blank map with a simple box room, put the object in using the method I described, and see if the same chunkyness happens.

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

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • 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
       
      · 5 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
×
×
  • Create New...