Demo ship parade

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2272
Joined: Tue Jan 02, 2007 12:38 pm

Demo ship parade

Post by Killer Wolf »

Okay, if i'm typoing something i can't see it for looking and there's no log message associated, but :
in the new MkVI OXP, i put the ship and the new missile i made into the demoships. the ship appears, not the missile. anything i'm missing?
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Demo ship parade

Post by Smivs »

Do you want to post demoships.plist so we can have a look, KW?
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2272
Joined: Tue Jan 02, 2007 12:38 pm

Re: Demo ship parade

Post by Killer Wolf »

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
	<string>kwcobra6npc</string>,
	<string>kwjidaMissile</string>,
</array>
</plist>
relevant names in the shipdata are the same :

Code: Select all

//  ***************************************************
//  *          N P C   K I N G   C O B R A            *
//  ***************************************************
{
"kwcobra6npc" = 
	{
//	ai_type = "route1traderAI.plist";
etc
etc

"kwjidaMissile" = 
	{
	ai_type = "hardMissileAI.plist";
	exhaust = ("0.0 0.0 -4.5 2.0 2.0 4.0");
etc
etc
missiles work fine in game too. wasn't sure about that comma after the missile entry in the array but i took it out and it still don't work.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Demo ship parade

Post by Smivs »

Looks OK at first glance, doesn't it? Have you sat through the whole sequence of demoships, as they may not apperar consecutively, and if there are a lot of demoships it could get 'lost in the crowd'.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2407
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: Demo ship parade

Post by Wildeblood »

Killer Wolf wrote:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<string>kwcobra6npc</string>, <------
<string>kwjidaMissile</string>, <------
</array>
</plist>
Lose the commas.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2272
Joined: Tue Jan 02, 2007 12:38 pm

Re: Demo ship parade

Post by Killer Wolf »

that did it. cheers bud :-)
Post Reply