Descentforum.DE Forum Index Descentforum.DE
Search | FAQ | Memberlist | Usergroups | Newsfeed Newsfeed  Register
Profile | Log in to check your private messages | Log in 
Chat | D3-Tactics | Downloads | Map | Links | Serverlist | Teamspeak 

Ship selection
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Descentforum.DE Forum Index -> English Embassy / International Descenters Forum
View previous topic :: View next topic  
Author Message
LEON
Forum-Nutzer


Joined: 11 Jan 2005
Posts: 65
Location: Norway

PostPosted: 10.09.2008, 00:34    Post subject: Ship selection Reply with quote

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
View user's profile Send private message
Grendel
Forum-Nutzer


Joined: 24 Jun 2004
Posts: 208
Location: Oregon, USA

PostPosted: 10.09.2008, 05:16    Post subject: Reply with quote

Heh, you should know that Auf den Arm nehmen 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
View user's profile Send private message
LEON
Forum-Nutzer


Joined: 11 Jan 2005
Posts: 65
Location: Norway

PostPosted: 10.09.2008, 09:05    Post subject: Reply with quote

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. Auf den Arm nehmen

Leon

_________________
Skills are worthless if it doesn't makes you a better person.
Back to top
View user's profile Send private message
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 10.09.2008, 18:38    Post subject: Reply with quote

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
View user's profile Send private message
LEON
Forum-Nutzer


Joined: 11 Jan 2005
Posts: 65
Location: Norway

PostPosted: 11.09.2008, 11:37    Post subject: Reply with quote

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
View user's profile Send private message
LEON
Forum-Nutzer


Joined: 11 Jan 2005
Posts: 65
Location: Norway

PostPosted: 20.10.2008, 05:59    Post subject: Reply with quote

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
View user's profile Send private message
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 20.10.2008, 16:32    Post subject: Reply with quote

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.



ships.jpg
 Description:
 Filesize:  6.19 KB
 Viewed:  21804 Time(s)

ships.jpg


Back to top
View user's profile Send private message
LEON
Forum-Nutzer


Joined: 11 Jan 2005
Posts: 65
Location: Norway

PostPosted: 20.10.2008, 18:06    Post subject: Reply with quote

Thanks for your help Atan.

Still no go. Geschockt

Excuse my newbieness Sehr glücklich .. 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 Sehr glücklich

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
View user's profile Send private message
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 20.10.2008, 18:24    Post subject: Reply with quote

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! Smilie
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
View user's profile Send private message
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 20.10.2008, 18:49    Post subject: Reply with quote

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
View user's profile Send private message
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 20.10.2008, 21:35    Post subject: Reply with quote

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 Traurig
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
View user's profile Send private message
LEON
Forum-Nutzer


Joined: 11 Jan 2005
Posts: 65
Location: Norway

PostPosted: 20.10.2008, 21:51    Post subject: Reply with quote

Atan wrote:
Tag den med ro! Smilie


Ok, jeg vil ta det med ro, Smilie Hehe

_________________
Skills are worthless if it doesn't makes you a better person.
Back to top
View user's profile Send private message
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 20.10.2008, 22:26    Post subject: Reply with quote

Ok LEON, now it was me who couldn't sit still Winken

I did a quick build of two level, made a script for level1 which enables the Magnum and starts a timer which will end the level one in 10 secs.
Then I made a mini briefing, just a picture without any other stuff.
Collected both levels, (cpp), dll, msg, brief+picture inside a mission and told level 2 to own the briefing.
This minimal mission works. I attached the mission here so you could try it out.
I added the cpp so you could test the phoenix yourself.
Let me know if the problem is solved.



ShipSelect_Test.zip
 Description:

Download
 Filename:  ShipSelect_Test.zip
 Filesize:  316.16 KB
 Downloaded:  883 Time(s)

Back to top
View user's profile Send private message
LEON
Forum-Nutzer


Joined: 11 Jan 2005
Posts: 65
Location: Norway

PostPosted: 20.10.2008, 23:12    Post subject: Reply with quote

Atan!! That worked!!

Thanks big time for fast service Sehr glücklich

C ya.
Leon

_________________
Skills are worthless if it doesn't makes you a better person.
Back to top
View user's profile Send private message
WillyP
Forum-Nutzer


Joined: 19 Mar 2006
Posts: 68
Location: New Hampshire, USA

PostPosted: 22.10.2008, 03:54    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 22.10.2008, 16:32    Post subject: Reply with quote

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
View user's profile Send private message
Q
aka. RagilRal


Joined: 18 Mar 2004
Posts: 116

PostPosted: 22.10.2008, 18:52    Post subject: Reply with quote

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
View user's profile Send private message
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 22.10.2008, 19:13    Post subject: Reply with quote

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
View user's profile Send private message
WillyP
Forum-Nutzer


Joined: 19 Mar 2006
Posts: 68
Location: New Hampshire, USA

PostPosted: 23.10.2008, 00:05    Post subject: Reply with quote

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. Weinen Winken

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
View user's profile Send private message Send e-mail
LEON
Forum-Nutzer


Joined: 11 Jan 2005
Posts: 65
Location: Norway

PostPosted: 23.10.2008, 10:21    Post subject: Reply with quote

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? Winken

Leon

_________________
Skills are worthless if it doesn't makes you a better person.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Descentforum.DE Forum Index -> English Embassy / International Descenters Forum All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
PayPal


Descent is a trademark of Interplay Productions.
Descent, Descent II are © Parallax Software Corporation.
Descent III is © Outrage Entertainment.
Descentforum.DE and Descentforum.NET is © by Martin "Do_Checkor" Timmermann.
Powered by phpBB © 2001-2008 phpBB Group