Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → New level
New level
2002-11-04, 4:08 PM #1
Greetings fellow mappers, I am in the middle of creating a new ladder level called "Battle of the Blades". I pretty much have the basic construction and textures done. It is a round room(as usual with ladder levels) but it has some weird brushes that i really messed up, it's pretty cool. I have not added any music or sounds ect... I was thinking how much the original skins are used in new maps, and how much better maps that use new skins are. I got a tutorial on making new NPC's, but it was so vague i couldn't get it to work. I would like to change ALL the skins i am using. can i change the individual reborn skins? i also would like to know how to make it so, say, if you kill "x" npc, an objective is finished. if someone could tell me how, i could finish my level, and you guys could tell me how bad i did [http://forums.massassi.net/html/smile.gif]
2002-11-04, 4:46 PM #2
I can help you with the NPC completing an objective when he dies. This is done by having an NPC trigger a death script that is used to trigger the objective. Create this script first:

Code:
//Generated by BehavEd

rem ( "completes an objective when an NPC dies" );
set (  "SET_OBJECTIVE_SUCCEEDED",  "KEJIM_POST_OBJ1" );


Note: KEJIM_POST_OBJ1 is just one of the objectives you can choose among. You can't make your own objective strings so you'll have to replace the original objective messages found in the "objectives.sp" in the strip folder of the "assets0.pk3".

Just save that script as a text file, import that into behavEd, compile it, and then just add key this to your NPC in radient:

"deathscript" "scripts/yourlevel/nameofscript"

When you NPC dies now, it will trigger this script and complete an objective. If you like to make multiple NPCs die before triggering the script, do this instead:

Make a new death script and make it use the "use" function. Make this "use" use a target_counter entitiy and make this target_counter target a target_scriptrunner that uses the script that triggers an objective.

Hope this helps.

-- SavageX

------------------
"Never trust a bartender with bad grammar." - one of the many one-liners of Kyle Katarn.

[This message has been edited by SavageX (edited November 04, 2002).]
"Be kind to nerds because one day... one will be your boss."
SavageX's Editing Corner
2002-11-05, 6:53 AM #3
GREAT!! i really appreciate your help, ignorance really is not bliss. now alls i need is to know how to change the skins. I know there are some geniuses out there who know how to do this.
2002-11-05, 6:55 AM #4
dumb question, i just noticed something,how much of this do i write and what do i call the file?
code:
--------------------------------------------------------------------------------

//Generated by BehavEdrem ( "completes an objective when an NPC dies" );set ( "SET_OBJECTIVE_SUCCEEDED", "KEJIM_POST_OBJ1" );

--------------------------------------------------------------------------------
2002-11-07, 5:59 PM #5
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Morgoth:
dumb question, i just noticed something,how much of this do i write and what do i call the file?
code:
</font>


You edit it according to your needs and save it as a script file using BehaveEd.

BTW, you can put code segments in your post by using the [*code*]Code here[*/code*] tags (without the *s)

------------------
Official Staff Member of the Massassi Temple - File Poster, SotD updater...
I can't ban you like buck can, but you should |>|-|34|2 me all the same.

------------------
Why girls are evil.
------------------
I R TEH 1337 FRNDS_Pommy!!!
一个大西瓜

↑ Up to the top!