PlayerHurt(int damage);
Where damage is how many half hearts the player gets hurt by. Yes, I know it is merely a change of the PlayerHurt function, but I see this as more useful.
AddxVect(int x); AddyVect(int y); AddzVect(int z);
This adds or subtracts this value from the players velocity in their respective direction.
ChangeSpeed(double speed);
This changes the movement speed of the player. Note that double is a variable type, not a multiplier! Ofc, I don't know whether FScript supports this, but any fraction variable will work.
ChangeJump(double jump);
Same as ChangeSpeed(); but for jumping.
Did you put your scripts into the script directory?
And after that, click a button, and click ESC
Edit: Mine works now.
This is what keeps happening to me:
This mod looks great and looks like it will be much use in the future for me... if this same problem stops happening to me :sad.gif:
yeah but no buttons appear
i used the floodgate example
Umm... It works fine...
Also I keep getting this error:
My code:
Goddamn do I hate this name z_z
btw r u going to make ingame script editing and a tool for coordinates
Save it as a .txt file in .minecraft/saves/<savename>/cpu/saves
You do not need FScript...
He might... I doubt it... Unless...
Books...
Goddamn do I hate this name z_z
Goddamn do I hate this name z_z
ok i saved it as a .txt but the gui for it doesn't appear
i used the exact code for the floodgate example
I generated a new world and it worked for me.
Also I'm saving into .minecraft/saves/<savename>/cpu/script
same thing for me except its not a new world im playing in
Other than that, this is an epic mod!
Its just a normal text file. The language is just fscript.
PlayerHurt(int damage);
Where damage is how many half hearts the player gets hurt by. Yes, I know it is merely a change of the PlayerHurt function, but I see this as more useful.
AddxVect(int x); AddyVect(int y); AddzVect(int z);
This adds or subtracts this value from the players velocity in their respective direction.
ChangeSpeed(double speed);
This changes the movement speed of the player. Note that double is a variable type, not a multiplier! Ofc, I don't know whether FScript supports this, but any fraction variable will work.
ChangeJump(double jump);
Same as ChangeSpeed(); but for jumping.