Page 1 of 1

Demo ship parade

Posted: Sun Nov 13, 2011 5:19 pm
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?

Re: Demo ship parade

Posted: Sun Nov 13, 2011 6:01 pm
by Smivs
Do you want to post demoships.plist so we can have a look, KW?

Re: Demo ship parade

Posted: Sun Nov 13, 2011 8:10 pm
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.

Re: Demo ship parade

Posted: Sun Nov 13, 2011 10:03 pm
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'.

Re: Demo ship parade

Posted: Mon Nov 14, 2011 5:31 am
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.

Re: Demo ship parade

Posted: Mon Nov 14, 2011 6:10 pm
by Killer Wolf
that did it. cheers bud :-)