To take out the lights on top of masts, or the lamps:
Age of Pirates - Caribbean Tales\Program\sea_ai\AIShip.c
Function: void Ship_SetLightsAndFlares
void Ship_SetLightsAndFlares(ref rCharacter)
{
if(sti(sea.lights) == 1)
{
<i> rCharacter.Ship.Flares = 1; <---
rCharacter.Ship.Lights = 1; <---</i>
}
else
{
rCharacter.Ship.Flares = 0;
rCharacter.Ship.Lights = 0;
}
}
Change the value in the lines marked to 0. Flares are the lights on the top of masts, lights are the lamps.
So, to get just the lamps, it will end:
void Ship_SetLightsAndFlares(ref rCharacter)
{
if(sti(sea.lights) == 1)
{
<b> rCharacter.Ship.Flares = 0;
</b> rCharacter.Ship.Lights = 1;
}
else
{
rCharacter.Ship.Flares = 0;
rCharacter.Ship.Lights = 0;
}
}
BTW, just before that function, you get void Ship_SetLightsOff that looks rather interesting to be able to turn on/off the lights with a command...
Age of Pirates - Caribbean Tales\Program\sea_ai\AIShip.c
Function: void Ship_SetLightsAndFlares
void Ship_SetLightsAndFlares(ref rCharacter)
{
if(sti(sea.lights) == 1)
{
<i> rCharacter.Ship.Flares = 1; <---
rCharacter.Ship.Lights = 1; <---</i>
}
else
{
rCharacter.Ship.Flares = 0;
rCharacter.Ship.Lights = 0;
}
}
Change the value in the lines marked to 0. Flares are the lights on the top of masts, lights are the lamps.
So, to get just the lamps, it will end:
void Ship_SetLightsAndFlares(ref rCharacter)
{
if(sti(sea.lights) == 1)
{
<b> rCharacter.Ship.Flares = 0;
</b> rCharacter.Ship.Lights = 1;
}
else
{
rCharacter.Ship.Flares = 0;
rCharacter.Ship.Lights = 0;
}
}
BTW, just before that function, you get void Ship_SetLightsOff that looks rather interesting to be able to turn on/off the lights with a command...