It seems the game lacks a lot of orginally, although the leveling up isn't what i expected.
Thanks, you are the first person to really give some usefull feadback. I have pretty much been making this as somthing to keep me occupied untill the skyrim CK comes out.
Heh, for a 128x pack on very far draw distance it runs at a constant 55-60fps in AC for me. I've probably loaded up something that kills the framerate in some of the javascript so take that with a grain of salt, since I use a super computer.
I believe you can allocate more RAM to AC, but I'm not sure how you would do so. One thing I would like to mention is that with my 128x texture pack with the modified version of the GLSL shaders (can't remember who's mod of the mod it is) and optifine it drops my framerate down to 40fps on average with about 33fps minimum. That is on an i7-980 paired with two 6970s and 8GB of RAM, so I'm guessing that adding AC into the mix would drop it down to 30fps average with 22fps minimum.
In my stealth map, I wanted Custom Mob Spawners to check onUpdate if the player's light level is over 10, and if so, spawn a dude to attack him, forcing the player into the shadows.
I'm not sure how I would write that, especially checking the player's light level.
I know it would be like:
Get player's light level
If (playerlightlevel >= 10)
spawn 1 (and here is another spot where I am confused. I am not sure how to force a mob spawner to spawn a certain amount of a certain mob.)
Also, I would put it on every mob spawner, so I would also need some line of code to see if the player is a certain number of blocks away so not EVERY spawner spawned a dude, and I don't know that either (I have only dabbled in the mystical art of Java)
Any help would be appreciated
Use this in your Global OnUpdate script:
pPos = player.getPosition();
if (world.getLightValue(pPos.x, pPos.y, pPos.z) >= 10) {
var ppos = player.getPosition();
var px = Math.round(ppos.x);
var py = Math.round(ppos.y);
var pz = Math.round(ppos.z);
for (var i = px - RangeX; i < px + RangeX; i++)
{
for (var j = py - RangeY; j < py + RangeY; j++)
{
for (var k = pz - RangeZ; k < pz + RangeZ; k++)
{
if (world.getBlockID(i,j,k) == 101 // 101 = Mob Spawner ID
{
world.triggerBlock(i, j, k)
}
}
}
}
}
The script checks to see if the light value at the player's position is equal to or greater than 10 and if it is it searches for nearby mob spawners and activates them.
And put this in your global OnLoad script:
RangeX = ## // ## = The range that mobs spawners will be activated within when the player in in the light
RangeY = ##
RangeZ = ##
And this in your global OnNewSave script:
StealthSpawner = false
Whenever you have a spawner that uses the stealth system have it runn this code as OnSpawn:
StealthSpawner = true
I haven't tested it yet so let me know how it goes. :biggrin.gif:
It is when the library is compile for a 32-bit system... when you download that zip just take the swt.jar from it and override the one in adventurecraft with it, the rest of the zip is useless to you. So in short just download the file from the quote, run AC and get the java exception error just to be safe, open the file you downloaded and drag swt.jar into the folder, run from the .bat so it can output any errors you get. If you get errors send me a screenshot so i can try and figure it out. In fact... imma make a list for y'all
1. Download the new installer
2. Run it
3. Find my post on 343 with the fix and go to the link with eclipse in the name
4. Download the version of the swt for your OS (if you are getting this error and don't know what an OS is I am going to assume you are running 64-bit windows, so download the one that has x86_64 at the end)
5. Open the zip and drag the swt.jar from there into your adventurecraft folder
6. run from the bat, send screen of any errors you get.
7. if it worked enjoy adventurecraft
8. ???
9. PROFIT!!!
It is when the library is compile for a 32-bit system... when you download that zip just take the swt.jar from it and override the one in adventurecraft with it, the rest of the zip is useless to you. So in short just download the file from the quote, run AC and get the java exception error just to be safe, open the file you downloaded and drag swt.jar into the folder, run from the .bat so it can output any errors you get. If you get errors send me a screenshot so i can try and figure it out. In fact... imma make a list for y'all
1. Download the new installer
2. Run it
3. Find my post on 343 with the fix and go to the link with eclipse in the name
4. Download the version of the swt for your OS (if you are getting this error and don't know what an OS is I am going to assume you are running 64-bit windows, so download the one that has x86_64 at the end)
5. Open the zip and drag the swt.jar from there into your adventurecraft folder
6. run from the bat, send screen of any errors you get.
7. if it worked enjoy adventurecraft
8. ???
9. PROFIT!!!
It is when the library is compile for a 32-bit system... when you download that zip just take the swt.jar from it and override the one in adventurecraft with it, the rest of the zip is useless to you. So in short just download the file from the quote, run AC and get the java exception error just to be safe, open the file you downloaded and drag swt.jar into the folder, run from the .bat so it can output any errors you get. If you get errors send me a screenshot so i can try and figure it out. In fact... imma make a list for y'all
1. Download the new installer
2. Run it
3. Find my post on 343 with the fix and go to the link with eclipse in the name
4. Download the version of the swt for your OS (if you are getting this error and don't know what an OS is I am going to assume you are running 64-bit windows, so download the one that has x86_64 at the end)
5. Open the zip and drag the swt.jar from there into your adventurecraft folder
6. run from the bat, send screen of any errors you get.
7. if it worked enjoy adventurecraft
8. ???
9. PROFIT!!!
Gaaasp! This...looks...epic! I haven't played it and I give it a +1.
Thanks. Check out this page for a video of the upcomming city for the map:http://www.mcschematics.com/index.php?topic=7839.0
It is made by felixhgh and fabian9696 and I got their permission to include it in the map.
The city will also feature the dark brotherhood and the mages guild both of which you will be able to join. :smile.gif:
0
If would like to preview the server, the IP is: login.lordofthecraft.net
To register and play go here:
http://www.lordofthe....net/?page_id=6
0
0
0
It happens with people who have slow computers.
I just got it off planet Minecraft.
0
I have uploaded a new manual that shows you how to customize the controls to whatever you want. Download it here:
http://www.gamefront.com/files/21340030/Manual.doc
0
Thanks, you are the first person to really give some usefull feadback. I have pretty much been making this as somthing to keep me occupied untill the skyrim CK comes out.
0
You have to have
So if you wanted to change the player's attack then you would use:
If you wanted to change the attack strength of mobs from a spawner then you would put this script as OnSpawn for the spawner:
Then use this script to change the attack strength:
ent was defined in the spawner OnSpawned script.
0
Nobody is going to help someone as impatient and rude as you are.
Can you be a bit more specific as to what's wrong.
0
Please learn to research and read.
0
Actially AC runs better for me than minecraft 1.1
0
Use this in your Global OnUpdate script:
The script checks to see if the light value at the player's position is equal to or greater than 10 and if it is it searches for nearby mob spawners and activates them.
And put this in your global OnLoad script:
And this in your global OnNewSave script:
Whenever you have a spawner that uses the stealth system have it runn this code as OnSpawn:
I haven't tested it yet so let me know how it goes. :biggrin.gif:
No......
0
To everyone having problems with AdventureCraft Read this:
0
0
Read this:
0
Thanks. Check out this page for a video of the upcomming city for the map:http://www.mcschematics.com/index.php?topic=7839.0
It is made by felixhgh and fabian9696 and I got their permission to include it in the map.
The city will also feature the dark brotherhood and the mages guild both of which you will be able to join. :smile.gif: