View previous topic :: View next topic |
Author |
Message |
LEON Forum-Nutzer
Joined: 11 Jan 2005 Posts: 65
Location: Norway
|
Posted: 10.09.2008, 00:34 Post subject: Ship selection |
|
|
Hey.
How do I make the ship selection screen b4 the level start, where you can choose between pyro, pheenix or the tank? Or even BP if that is posible.
Thanks
Leon.
_________________ Skills are worthless if it doesn't makes you a better person. |
|
Back to top |
|
 |
Grendel Forum-Nutzer

Joined: 24 Jun 2004 Posts: 208
Location: Oregon, USA
|
Posted: 10.09.2008, 05:16 Post subject: |
|
|
Heh, you should know that The selected ship is tied to the pilot profile -- in the menus select the pilot you want, IIRC under "Configure" you will find "Ship selection".
Last edited by Grendel on 10.09.2008, 05:17; edited 1 time in total |
|
Back to top |
|
 |
LEON Forum-Nutzer
Joined: 11 Jan 2005 Posts: 65
Location: Norway
|
Posted: 10.09.2008, 09:05 Post subject: |
|
|
Hehe Grendel
Im talking about d3edit and making levels, SP levels.
I want an option on what ship to fly in my singleplayer mission.
Thanks for your info, though.
Leon
_________________ Skills are worthless if it doesn't makes you a better person. |
|
Back to top |
|
 |
Atan Moderator
Joined: 27 Jul 2001 Posts: 876
|
Posted: 10.09.2008, 18:38 Post subject: |
|
|
Not tried this up to now:
DALLAS
Levelstart ->
ACTION -> Mission
Enable the given ship [Ship], so it can be chosen in single player
And I believe you can enable the ship if you end the first level and start the second inside level briefing too.
That's why I inserted a Startlevel inside FiringRange if I remember this right.
|
|
Back to top |
|
 |
LEON Forum-Nutzer
Joined: 11 Jan 2005 Posts: 65
Location: Norway
|
Posted: 11.09.2008, 11:37 Post subject: |
|
|
Thanks Atan.
Now I only need to install and get dallas to work.
_________________ Skills are worthless if it doesn't makes you a better person. |
|
Back to top |
|
 |
LEON Forum-Nutzer
Joined: 11 Jan 2005 Posts: 65
Location: Norway
|
Posted: 20.10.2008, 05:59 Post subject: |
|
|
Ok, i've been playin around with dallas, but seems i can't get this to work.
I have 2 levels, a intro level and the main level. First level have the script: owner>level, event>level end, then always performe enable given ship to use in singleplyer.
Must i make a briefing screen, so the ship can show up for selection on the next level? or will the selection screen show up by it self?
And what is the name of the ships? will D3 [dallas] understand 'phoenix' or 'magnum' or 'magnumAHT'?
I tried to open up your Firingrange, but the cpp file wasen't there so i couldn't study the scripts you made.
Leon
_________________ Skills are worthless if it doesn't makes you a better person. |
|
Back to top |
|
 |
Atan Moderator
Joined: 27 Jul 2001 Posts: 876
|
Posted: 20.10.2008, 16:32 Post subject: |
|
|
I used the briefing for ship selection in FR.
And for Dallas you must use the names out of your (table) gam.
Look at the little pic below to see how to write the names the right way. (Without 'Ship:' for sure)
But I can't say if this will really work in DALLAS because I didn't used that way up to now.
If you can't get it to work please tell us, I will have a deeper look then.
Description: |
|
Filesize: |
6.19 KB |
Viewed: |
36661 Time(s) |

|
|
|
Back to top |
|
 |
LEON Forum-Nutzer
Joined: 11 Jan 2005 Posts: 65
Location: Norway
|
Posted: 20.10.2008, 18:06 Post subject: |
|
|
Thanks for your help Atan.
Still no go.
Excuse my newbieness .. but acording to my logic......the 'enable given ship script' used in the first level, doesn't say anything about what the second level should do. So when second level loads, it just loads like nothing have happen. I dont see how the 'enable given ship script' in first level would make second level start with an ship selection screen. But then again....Im really new to this
Is it possible that I need to adjust some of my settings in D3edit as well, so it reads all the files right? I'm thinking of the tablefile manager.
Thanks again
Leon
_________________ Skills are worthless if it doesn't makes you a better person. |
|
Back to top |
|
 |
Atan Moderator
Joined: 27 Jul 2001 Posts: 876
|
Posted: 20.10.2008, 18:24 Post subject: |
|
|
No, no need to change something if the rest of your script is working in your level well.
Never change a running system! Tag den med ro!
Please wait, I'll have a look if I can made ship selection working by using a DALLAS script.
May take some time to check this out..
|
|
Back to top |
|
 |
Atan Moderator
Joined: 27 Jul 2001 Posts: 876
|
Posted: 20.10.2008, 18:49 Post subject: |
|
|
Quote: | Enables a ship (given it's name) so it can be chosen in single player ship selection dialog. |
This means that you can't start with this ship as I thought, it's just to allow the player to choose that ship the way stated above at (next)second level start.
To enter that ship selection dialog you'll need a briefing so I believe.
Maybe there is an other way to realize the ship selection, to see if this would be possible needs some more time now...
|
|
Back to top |
|
 |
Atan Moderator
Joined: 27 Jul 2001 Posts: 876
|
Posted: 20.10.2008, 21:35 Post subject: |
|
|
I found a function called 'PlayerChangeShip' which IS the one needed, but I wasn't able to use it inside DALLAS.
There is no given interface for us to handle it inside Singleplayer, at least I found none
So I'm sorry, but I can't find any other way than the briefing to use the ships.
Remember, you still need to enable the wanted ship(s) in the Start level script.
With the end of the level two briefing there will come the ship selection dialog automatically then, no need to search this inside briefing.
I'm not pretty sure about, it's just what I remember, which may be to wrong.., sorry.
I would have to test this out, to make two test levels and a briefing, but I have not the time doing this in the moment.
If you can't figure it out please tell me, then I will take the time and build such a test mission.
|
|
Back to top |
|
 |
LEON Forum-Nutzer
Joined: 11 Jan 2005 Posts: 65
Location: Norway
|
Posted: 20.10.2008, 21:51 Post subject: |
|
|
Atan wrote: | Tag den med ro!  |
Ok, jeg vil ta det med ro, Hehe
_________________ Skills are worthless if it doesn't makes you a better person. |
|
Back to top |
|
 |
Atan Moderator
Joined: 27 Jul 2001 Posts: 876
|
|
Back to top |
|
 |
LEON Forum-Nutzer
Joined: 11 Jan 2005 Posts: 65
Location: Norway
|
Posted: 20.10.2008, 23:12 Post subject: |
|
|
Atan!! That worked!!
Thanks big time for fast service
C ya.
Leon
_________________ Skills are worthless if it doesn't makes you a better person. |
|
Back to top |
|
 |
WillyP Forum-Nutzer

Joined: 19 Mar 2006 Posts: 68
Location: New Hampshire, USA
|
Posted: 22.10.2008, 03:54 Post subject: |
|
|
Did you try enabling the briefing for level one? First I tried as level two briefing, then I switched it to level one and I was able to choose the ship before level one started. Then I tried a different pilot and could not choose the ship. Is there a flag in the pilot's file (.plt) to enable ship choosing, after enabling for a given level?
_________________ Planet Descent
Last edited by WillyP on 22.10.2008, 04:18; edited 2 times in total |
|
Back to top |
|
 |
Atan Moderator
Joined: 27 Jul 2001 Posts: 876
|
Posted: 22.10.2008, 16:32 Post subject: |
|
|
No, I didn't try to put it into the first level, never thought that this will work. That are good news.
I think this is only for the one selected pilot. But if you start the level1 with the other pilot it should work again.
Every player own bits for the enabled ships, with scripting you can enable/disable, but choosing that ship is possible during the mission, at level change, only.
|
|
Back to top |
|
 |
Q aka. RagilRal

Joined: 18 Mar 2004 Posts: 116
|
Posted: 22.10.2008, 18:52 Post subject: |
|
|
Yo!
How about letting the Player start in level2, setting
level1 as 'done'?
Roth 513, and Alien Territory allow to choose the
ship from the very first start. The Original Missions
too, but i've played them through.
_________________ Die Hoffnung stirbt zuletzt, sie ist ja auch Verzweiflungs jüngste Tochter;
ihre Schwestern waren Motivation, Zuversicht und Hartnäckigkeit. |
|
Back to top |
|
 |
Atan Moderator
Joined: 27 Jul 2001 Posts: 876
|
Posted: 22.10.2008, 19:13 Post subject: |
|
|
this is one more idea too.
Quote: | to choose the ship from the very first start. The Original Missions too, |
if you had played that Original Mission, sure.
|
|
Back to top |
|
 |
WillyP Forum-Nutzer

Joined: 19 Mar 2006 Posts: 68
Location: New Hampshire, USA
|
Posted: 23.10.2008, 00:05 Post subject: |
|
|
Yes, I experimented a bit... IF briefing is at level one AND player has completed level one, THEN player may choose ship, BEFORE level one. ELSE IF player did not play yet, THEN player may NOT choose ship.
So if you think a mission allowed you to choose a ship before level one start... Are you sure you could, first time you have played this mission? Try with a new pilot.
For the other idea, to mark level one done at the level start, so essentially level two becomes the first playable level... I think this could work, but would be kinda unprofesional, as the player would spawn in level one and immediately get the level over screen. I think most people would be confused, and think level one had crashed or something. There would constantly be new topics in the forum: 'Level one of Such and Such mission doesn't work!!!'
Q wrote: | Yo!
How about letting the Player start in level2, setting
level1 as 'done'?
Roth 513, and Alien Territory allow to choose the
ship from the very first start. The Original Missions
too, but i've played them through. |
I just tried Roth and Alien with a new pilot, could not choose ship.
_________________ Planet Descent
Last edited by WillyP on 23.10.2008, 01:09; edited 3 times in total |
|
Back to top |
|
 |
LEON Forum-Nutzer
Joined: 11 Jan 2005 Posts: 65
Location: Norway
|
Posted: 23.10.2008, 10:21 Post subject: |
|
|
What would be really awesome, is if we culd enable the black pyro as well. But i guess that's another story, somthing that require some deep digging in codes and stuff.
Or?
Leon
_________________ Skills are worthless if it doesn't makes you a better person. |
|
Back to top |
|
 |
|