Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: swamper123 on November 27, 2011, 02:39:18 pm

Title: How can I make the escape pod or any other non-player ship playable?
Post by: swamper123 on November 27, 2011, 02:39:18 pm
Hey Hlp users, as the title says, I want to make the escape pod playable, I know I can do it modifying the table at least I guess that, some help would be nice  :D
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: SypheDMar on November 27, 2011, 03:56:08 pm
In $flags add the following:

( "player_ship" "default_player_ship" )

http://www.hard-light.net/wiki/index.php/Ships.tbl#.22player_ship.22
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: headdie on November 28, 2011, 05:00:30 am
isnt "default_player_ship" a once use flag to tell fred what the default ship should be?
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: CommanderDJ on November 28, 2011, 05:09:28 am
Yeah, just to make a ship usable by the player, all you need is the "player_ship" flag.
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: SypheDMar on November 28, 2011, 12:57:28 pm
isnt "default_player_ship" a once use flag to tell fred what the default ship should be?
I don't think so. If you pop open retail, many ships have that flag. I'm guessing it's used in the Team Loadout from the Wiki. This would be helpful in case you want to have a choice to choose other ships as well.

EDIT: I'm retarded. It makes it so that the ship is checked by default in the loadout. Derp.
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: Dragon on November 28, 2011, 01:00:49 pm
"Default player ship" means that it's available by default (the box in Team Loadout is ticked).
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: SypheDMar on November 28, 2011, 01:02:39 pm
Yeah, my bad.
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: swamper123 on December 04, 2011, 09:43:16 pm
Thanks to all the people for the feedback I will try this in a while, =D
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: Talon 1024 on December 05, 2011, 01:32:19 am
If you want to make Shivan ships playable, you'll have to add "Allowed PBanks/Allowed Dogfight PBanks" and "Allowed SBanks/Allowed Dogfight SBanks"
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: swamper123 on December 05, 2011, 05:10:50 pm
I added the flag, and it appear me into the fred editor, it says it not have weapons, I know that is obvious so I skip that, enter a simple mission I create but I dont see the pod, I see the Ulysses any suggestion?
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: swamper123 on December 05, 2011, 05:27:52 pm
Yeah I made it, I was trying to do this for a long time, thanks for all of you, and I will use that shivan playable ship idea in a mission ,thanks
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: mralexs on December 09, 2011, 08:35:30 pm
erm, how do i find ship.tbl?
Title: Re: How can I make the escape pod or any other non-player ship playable?
Post by: headdie on December 10, 2011, 03:13:16 am
grab VPview32 from freespacemods (http://www.freespacemods.net/news.php) and open root.vp in the main FS2 folder