Jump to content

Map Object Help


Recommended Posts

Posted

I'm assuming you're making a singleplayer map?

Can you be more specific about what's going on? What entity is the object/trigger, and what parameters do you have on it?

Posted

@NAB622,

Yes it's a single player level. Object shows up in game but player can't collect it. I have it as misc_model_breakable. The options that are checked is, no_smoke, use_model, use_not_break, and no_dmodel. Nothing is attached to it. Is a trigger needed for it?

Posted

Misc_model_breakable is a damage-based entity. The way you have it configured, you need to destroy it to activate it. 

I do not know how single player entities work exactly, but I believe there is func_usable or func_button, try one of those.

I do not know how to make it trigger a level objective, but one of those should at least get you started on the right track.

Posted

I've never worked with single player maps before, so any answer I give is speculation.

My first thought is, it is possible there is a script or some other entity triggering the objective. I would have to see the entity configuration, and possibly the map in question, to be able to tell.

mrwonko likes this
Posted

All right, I got the files. I have the level open, but I need to know which entity I am looking for exactly. Can you provide any screenshots, entity details, or an entity number to guide me to what you're looking at?

Posted

@NAB622,  sure I can provide screenshots.

Nar Shadda:

Go to this section of the map.

image.png.3a151d2d713091de22724e703f99ee71.png

image.png.2cccb5f6ee475c8e872aa2d741ca0d05.png

Secbase:

From the start take right and go through this wall.

image.png.aea3e08a4a81c69c95b1fd4a70c6d8ef.png

Go around the left side of the cylinder to the stairs and go down them.

image.png.4df8edc05039571d576a7c16d48f266c.png

go down the next stairs though the wall. go around the corner you'll see this wall go through it.

image.png.29b7e04a0af307dd42e1677235ad1afc.png

The map object that I based the nar shadda map object is this one and it works.

 

image.png.8e79bfea40cebe39f598fe1174efe185.png

image.png.b5bac396054d3c8d946be529658d4204.png

Hope this helps. :)

Posted

The misc_model_breakable entity appears to be SP only, and I am used to MP mapping, so I don't actually know much about it.

That being said, I did notice a few things. Most importantly, neither of the misc_model_breakable entities is actually firing anything. I don't know exactly what is causing Nar Shadaa to trigger a level objective, but it is definitely not that.

In secbase, there is a targetname and a script_targetname on the misc_model_breakable, but both of these are for triggering things on the misc_model_breakable, not for causing some other effect. That said, if you remove the targetname, it should behave normally again. According to the entity definition:

Quote

MISC_MODEL_BREAKABLE

targetname: When used, dies and displays damagemodel (model + "_d1.md3"), if any (if not, removes itself)

This implies that the presence of a targetname will disable the player from "Using" the entity in game.

Posted

@NAB622,

That's definitely confusing because the deathstar plans object works exactly as is. But the nav card doesn't work at all. The targetname isn't on the nav card one but it is on the deathstar, I believe that is to trigger the line that Kyle says there after reteving the plans. I don't know if that helps or not.

Posted

Sorry, got sidetracked and forgot to respond.

It's been ages since I played Jedi Outcast, and I never looked into SP mapping. Someone else would have to chime in on how that stuff works. All I can tell you is that I don't see anything being triggered directly by the misc_model_breakable.

I also don't have Radiant set up properly, since I no longer have a workflow for JA, so I'm having a hard time seeing anything.

 

Here's what I see on the misc_model_breakable on the Nar Shadaa map:

image.png.6ac87d9a588d16aa0a4b08446096dbb1.png

 

On Secbase, here's what I see on the trigger_once:

image.png.a8aed8eb8c278125a51bcd42ddd87e9f.png


And here's the misc_model_breakable:

image.png.701a95af5c13b27268b58084a062ffb2.png

 

In Secbase, you have it set up such that the trigger_once is firing both the misc_model_breakable and the target_scriptrunner. When you activate the trigger, what happens? Specifically, does the script run?

The misc_model_breakable should destroy itself when the trigger is activated, but I don't know anything about that particular entity, since I've never used it before.

Posted

@NAB622,

That's ok we all get sidetracked from time to time. So the sec base triggers 3 things in the game. 1.) Kyle's line after picking up the plans. 2.) Objective complete tone and the game marking off the objective and giving the player a new one. 3.) Let's the game know to send the moldy crow to come and pickup the player for next mission.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...