Author Topic: Need help in creating a level  (Read 10095 times)

0 Members and 1 Guest are viewing this topic.

Need help in creating a level
Update: Again, I want to thank all for helping me out. I appreciate it.
I do have a question however, and I can't seem to find how to solve this.
This is how it is so far:

An enemy wing is attacking the Silencer. Once you kill them, the Silence says a message (all Good so far).
Another wing comes in, wingmen go to kill them; repeat again, a third wave. Once dead, Silencer says another message, on time, so far all is perfect.
Here is the problem:

After some seconds, two SC Lilith's enter. Another message pops up, perfect, except the "directives" aren't showing the name and to destroy it.

I tried various attempts, and they failed. It popped up at the beginning when they weren't even in the game yet. They were up, but showed completed before even attacking them.
Once I accidently had it appear the same as the third wing.
What I mean by that, is it said:
Destroy SC Lilith [3]
Destroy Dragon [3]

When I killed a dragon, it showed [2] on both the SC lilith and dragon, even though the lilith wasn't even in combat at this moment.
Can someone help please?

Also, how do you monitor capitol ships?

 
Need help in creating a level
To monitor capital ships, use the add-escort sexp, or go into 'misc' on the ship editor, and enable escort-ship (priority should be one or two).

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Need help in creating a level
Quote
Originally posted by Jeremy971
After some seconds, two SC Lilith's enter. Another message pops up, perfect, except the "directives" aren't showing the name and to destroy it.

I tried various attempts, and they failed. It popped up at the beginning when they weren't even in the game yet. They were up, but showed completed before even attacking them.
Once I accidently had it appear the same as the third wing.
What I mean by that, is it said:
Destroy SC Lilith [3]
Destroy Dragon [3]

When I killed a dragon, it showed [2] on both the SC lilith and dragon, even though the lilith wasn't even in combat at this moment.
Can someone help please?


Hmmm. Sounds like the two events are using the same code. The code for each Lilith should look like this.

Event 1
When
-has-arrived-delay
--0
--Lilith 1
-Send message
--It's Lilith 1


Event 2 (Chained to  to event 1).
When
-is-destroyed-delay
--0
--Lilith 1
-do-nothing (Or send a message or whatever).

Your directive text goes in event 2.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Need help in creating a level
just tried it, thanks. out of curiosity, do you know how many you can monitor? is it 3 or 4 max? and i take it, if you hit 1 for priority, that will be displayed on top, and if it is 3 max, and one dies, the one that is on 4, will then show up, because its not as much of a priorty?

Just got the other message about the SC lilith. thanks. I'll try that now.

 

Offline magatsu1

  • 210
Need help in creating a level


make sperate directive text for each wing (Fighters or whatever).
The game logic will only display an objective when it becomes possible (when then target arrives for example)
Blitzerland: Knows what he's talkin' about

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Need help in creating a level
Quote
Originally posted by Jeremy971
just tried it, thanks. out of curiosity, do you know how many you can monitor? is it 3 or 4 max? and i take it, if you hit 1 for priority, that will be displayed on top, and if it is 3 max, and one dies, the one that is on 4, will then show up, because its not as much of a priorty?


You can have 3 as standard (although if you're using FS2_Open it is possible to make HUD changes and have upto 6).

Priority is a number from 1 to 100 (or 1 to 89 I forget which.) The higher the number the more of a priority it is. The highest 3 ships present are shown until they either leave or are destroyed at which point the next highest one shows up.

Quote
Originally posted by magatsu1
make sperate directive text for each wing (Fighters or whatever).
The game logic will only display an objective when it becomes possible (when then target arrives for example)


I know it does that for fighters but I've always chained things for capships since I always have a nice arrival event for them anyway. :D

I'll have to give it a try and see if it works without chaining one of these days :D
« Last Edit: October 03, 2004, 05:46:00 pm by 340 »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Need help in creating a level
half working. it says "destroy lilith" when they come, but doesn't show the [2]. I think I know how to get that to go.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Need help in creating a level
You should have a seperate directive for each Lilith really (and refer to each of them by name rather than as Lilith1 and Lilith2). If for some reason you wanted both on the same directive you should make event2 look like this.

When
-is-destroyed-delay
--0
--Lilith 1
--Lilith 2
-do-nothing (Or send a message or whatever).
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Need help in creating a level
thanks. that worked! Isn't this easier than last night? Man, that was rough. But the more you learn or get help on, the easier it becomes.
When I get this done, I'd like to put you in the text file for helping me out.

 
Need help in creating a level
Here's the next step, and in a way, one of the final ones.

Two SC liliths enter the battle field, command sends a message.
Here's the new stuff. After that, more enemy wings enter, a few seconds later command says he'll send in delta/beta, little while longer, they enter, more capital ships enter as well.

Oh, before I get too far. I don't know if this is important to do soon or what. I need to make sure the objectives work.
It says primary objective: defend silencer. but when you start the game, it says it was just completed.
How do we fix that?
« Last Edit: October 03, 2004, 06:16:11 pm by 2261 »

 
Need help in creating a level
Doesn't Karajorma or someone have a full FREDing tutorial out there?

 
Need help in creating a level
Btw, just to clarify, in FS2 it's not called a 'level' but rather a mission. It's not a big deal, but there are some people around here who hate such terminology with a passion so I thought I'd give you a heads up before one of them jumps on you and scares you away forever :)

 
Need help in creating a level
I heard something about that. A level is just some map, and a mission is actually having some goals, and performing tasks, that sort of stuff.
Funny how they call true Descent and other games "levels" and not always "missions".

Anyway, I can't believe how far I am getting so far. It's starting to get a little tense in the battle field, but not quite.

I have some problems that still remain:

'Primary Objective: Defend Silencer Capital Ship'

When you start the game it says both primary and secondary objective is complete. Not much of a game if you can just leave the battle area and win.

I'm understanding a lot, thanks to those on here helping me out. I just have some more things that I am not sure about.

Wait until I try the next section of the level, escape pods going to a jump node.

This is my FIRST "mission" that I am doing, but I'm not just skimming through it. I want it to look pretty well professional and laid out well.


P.S. Thanks for the advance warning on the "level/mission" bit, but don't worry, no one scares me on here.

  

Offline Axem

  • 211
Need help in creating a level
Quote
Originally posted by Jeremy971
Here's the next step, and in a way, one of the final ones.

Two SC liliths enter the battle field, command sends a message.
Here's the new stuff. After that, more enemy wings enter, a few seconds later command says he'll send in delta/beta, little while longer, they enter, more capital ships enter as well.

Oh, before I get too far. I don't know if this is important to do soon or what. I need to make sure the objectives work.
It says primary objective: defend silencer. but when you start the game, it says it was just completed.
How do we fix that?


You can make new ships appear by using the arrival cues in the ship editor. Just set your ships to appear when is-event-true-delay. If you want to tie the ships appearing after a message, just add a large delay to the arrival cue to the event that sent the message.

For objectives, it sounds like you need a second condition. I'm guessing you are using something like

--not
---is-destroyed-delay

or

--is-event-false-delay

Because as soon as you start the mission, Silencer is alive and that's good enough for FS2 to say, "It's completed!" So tie in another event, like an event that's true when all the enemies are gone, AND the ship isn't destroyed.

 
Need help in creating a level
What setting shall I place? In case you need to know: the Silencer is in the game at the beginning. technically, it's in there before you get out there, as it is being mentioned in briefing that its fighting off waves of enemies.

 

Offline Axem

  • 211
Need help in creating a level
Well, technically arrived at 0 seconds anyway. :D The player is just fooled by changes in hull and whatnot. Anyway for your objective I'd do something like this...

Defend Silencer
--and
----not
------is-destroyed-delay
--------Silencer
--------0
----is-destroyed-delay
------[Enemy Wing 1]
------[Enemy Wing 2]
------[etc]
------0

This is all assuming I'm understand this correctly, I have a habit of misreading stuff. :nervous:

 
Need help in creating a level
I think I see it now. At first I couldn't see why I'd have to name all enemy targets, but once you kill them, that would mean it's safe.
I'll give that a try.

I tested o njust the mara enemies. once they died, it was programmed to be completed, which it did say. so that works great! thanks.

how about an objective: destroy NTC Phoenix
« Last Edit: October 03, 2004, 09:00:13 pm by 2261 »

 
Need help in creating a level
Both seem to work now, defending the silencer and destroying the phoenix.

There isn't too much left that I need help with. I haven't attacked the "escape pod to node part".
I just hope it won't get too difficult.
Thanks a TON!
if you want to see this mission when it's done, I hope you enjoy it.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Need help in creating a level
Quote
Originally posted by Blitzerland
Doesn't Karajorma or someone have a full FREDing tutorial out there?


There is a walkthrough that comes with FRED and another one Darkage made which you can find at.

http://www.swooh.com/premium/Darkage/site/Tutorial.htm
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Steam
    • Something
Need help in creating a level
Jeremy, you're Vanguard, I assume?  Top Gun here :).  Looks like these guys are giving you much more help than my lack of skills could :p.