Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
Thanks to YOUR votes, GOG.com now sells:
- Sea Dogs
- Sea Dogs: Caribbean Tales
- Sea Dogs: City of Abandoned Ships
Vote now to add Pirates of the Caribbean to the list!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
I want to have resources of sails and planks. Im playing as a smuggler now,@ANSEL: Why would you want a weapons locker working there?
A weaponslocker doesn't work for that. Only ships and stores can store cargo goods.I want to have resources of sails and planks.
I have no idea - didn't know it could happen.
A quick look in itemlogic.c under void Box_FillBox( )
//fill box with new items
could be something?
Conquered towns are never retaken. No such feature was ever made.
Of course it wont. It was early in the morning for me, before I had my essential coffee, sorry.A weaponslocker doesn't work for that.
case 2:
if (!bSeaActive) {
float x,y,z,ay,xx,zz,xz,zx;
GetCharacterPos(GetMainCharacter(), &x, &y, &z);
GetCharacterAy(pchar, &ay);
xx = -sin(ay - PId2);
zz = xx;
xz = -cos(ay - PId2);
zx = -xz;
Logit("Location id: "+pchar.location);
Logit("Your Coords x: " + x+" y: "+y+" z: "+z );
Logit("Viewangle ay: "+ay+"; xx= "+xx+" xz= "+xz+" zx= "+zx+" zz= "+zz);
Logit("Curlocator: "+chrWaitReloadLocator);
// trace("rld,loc," +xx+",0,"+xz+",0,1,0,"+zx+",0,"+zz+","+x+","+y+","+z+",1,0,0,0,0,0,0,0,0,");
// trace("rld,aloc,"+xx+",0,"+xz+",0,1,0,"+zx+",0,"+zz+","+x+","+y+","+z+",1,0,0,0,0,0,0,0,0,");
} else {
Logit("Ship position: x="+pchar.ship.pos.x+", z="+pchar.ship.pos.z);
}
//Logit("Ship position: x="+worldMap.playerShipX+", z="+worldMap.playerShipZ);
break;
case 2:
if (!bSeaActive) {
float x,y,z,ay,xx,zz,xz,zx;
GetCharacterPos(PChar, &x, &y, &z);
WriteLocatorGlobal(PChar.location, "box", "buried_treasure", "", -1, x, y, z, false);
Logit("Buried Treasure Box made in location: "+pchar.location);
Logit("Your Coords x: " + x+" y: "+y+" z: "+z );
/* GetCharacterAy(pchar, &ay);
xx = -sin(ay - PId2);
zz = xx;
xz = -cos(ay - PId2);
zx = -xz;
Logit("Location id: "+pchar.location);
Logit("Your Coords x: " + x+" y: "+y+" z: "+z );
Logit("Viewangle ay: "+ay+"; xx= "+xx+" xz= "+xz+" zx= "+zx+" zz= "+zz);
Logit("Curlocator: "+chrWaitReloadLocator);
// trace("rld,loc," +xx+",0,"+xz+",0,1,0,"+zx+",0,"+zz+","+x+","+y+","+z+",1,0,0,0,0,0,0,0,0,");
// trace("rld,aloc,"+xx+",0,"+xz+",0,1,0,"+zx+",0,"+zz+","+x+","+y+","+z+",1,0,0,0,0,0,0,0,0,");
} else {
Logit("Ship position: x="+pchar.ship.pos.x+", z="+pchar.ship.pos.z);
}*/
//Logit("Ship position: x="+worldMap.playerShipX+", z="+worldMap.playerShipZ);
break;
Oops, I think this should work better:I tried to execute this code with the console. The console wont execute it.
case 2:
if (!bSeaActive) {
float x,y,z,ay,xx,zz,xz,zx;
GetCharacterPos(GetMainCharacter(), &x, &y, &z);
WriteLocatorGlobal(PChar.location, "box", "treasure_box", "", -1, x, y, z, false);
Logit("Buried Treasure Box made in location: "+pchar.location);
Logit("Your Coords x: " + x+" y: "+y+" z: "+z );
/* GetCharacterAy(pchar, &ay);
xx = -sin(ay - PId2);
zz = xx;
xz = -cos(ay - PId2);
zx = -xz;
Logit("Location id: "+pchar.location);
Logit("Your Coords x: " + x+" y: "+y+" z: "+z );
Logit("Viewangle ay: "+ay+"; xx= "+xx+" xz= "+xz+" zx= "+zx+" zz= "+zz);
Logit("Curlocator: "+chrWaitReloadLocator);
// trace("rld,loc," +xx+",0,"+xz+",0,1,0,"+zx+",0,"+zz+","+x+","+y+","+z+",1,0,0,0,0,0,0,0,0,");
// trace("rld,aloc,"+xx+",0,"+xz+",0,1,0,"+zx+",0,"+zz+","+x+","+y+","+z+",1,0,0,0,0,0,0,0,0,");*/
} else {
Logit("Ship position: x="+pchar.ship.pos.x+", z="+pchar.ship.pos.z);
}
//Logit("Ship position: x="+worldMap.playerShipX+", z="+worldMap.playerShipZ);
break;
Really? When I tried, I did notice some weird stuff, but all of that weirdness has an explanation.Well! That is weird. The chest is invisible and you can open it anywhere you are.
I think I have made a chest I always must carry around with.
With the console you posted, its the same behavior us before: Invisible chest I can open everywhere.Attached file is the one I did my testing with.
Also if you leave the location? And when you then come back?With the console you posted, its the same behavior us before: Invisible chest I can open everywhere.
Yes I will start it tonight.Can you start a new game on mod default settings, then try again with the console.c I posted?