Post your script related questions here. Irrelevant posts will be deleted to keep it clean.
This forum is now archived!
- Welcome to the archive!
News:
The 3DRad community can be found at classdev.net.
- 3D Rad - Free 3D game maker - Forum >
- General Category >
- 3D Rad - User-created Sample Projects, Scripts, Tutorials >
- Script related questions
Author Topic: Script related questions (Read 8110 times)
How can i learn to script for 3drad?
is there a tutorial or a list of functions?
EDIT: Thanks jestermon
is there a tutorial or a list of functions?
EDIT: Thanks jestermon
jestermon
AngelScript Tutorial
http://www.3drad.com/files/AngleScript_tutorial_lesson.pdf
AngelScript Manual
http://www.angelcode.com/angelscript/sdk/docs/manual/index.phpl
3D Rad Script functions Reference
http://www.3drad.com/Script_reference.php
3D Rad Script Object Reference
http://www.3drad.com/Script.php
http://www.3drad.com/files/AngleScript_tutorial_lesson.pdf
AngelScript Manual
http://www.angelcode.com/angelscript/sdk/docs/manual/index.phpl
3D Rad Script functions Reference
http://www.3drad.com/Script_reference.php
3D Rad Script Object Reference
http://www.3drad.com/Script.php
Guys how hard is to make script like this :
when you press lets say A key the skinmesh turns 360 degrees and whels on yeach side follow that skinmesh i want to make small bike combo game with 3 or 4 different moves
Could somone give me a demo? or teach or make this? pretty plz
when you press lets say A key the skinmesh turns 360 degrees and whels on yeach side follow that skinmesh i want to make small bike combo game with 3 or 4 different moves
Could somone give me a demo? or teach or make this? pretty plz
Hi this an updated (correct spelling AngelScript, got away with it for 4 years) version.
Thanks GLID3R80 for pointing this out, my dyslexia showing didn't even notice it. Should now be easier to find. or is it Should be easier to find now.
n_iron
Thanks GLID3R80 for pointing this out, my dyslexia showing didn't even notice it. Should now be easier to find. or is it Should be easier to find now.
n_iron
guys can somone help me with this :
dont be rush on my first script i'm just trying, but how to use the iObjectSpin(OBJ_44;And this number) i dont get it
so basic what i'm trying to make is object 22 is counter it starts points and i object spin i want that it will spin while points are rising
OH also how to make that it would turn just 360 degrees and not more!?
HELP!
dont be rush on my first script i'm just trying, but how to use the iObjectSpin(OBJ_44;And this number) i dont get it
so basic what i'm trying to make is object 22 is counter it starts points and i object spin i want that it will spin while points are rising
OH also how to make that it would turn just 360 degrees and not more!?
Quote
void Main()
{
iObjectStart(OBJ_22);
{
iObjectSpin(OBJ_44,20);
iObjectSpinSet(OBJ_44,50);
}
}
HELP!
jestermon
iObjectSpinSet(OBJ_X,Vector3)
Return the specified object spin.
OBJ_X = object handle
Vector3 = spin vector.
The vector direction is the axis of rotation (absolute).
The length of the vector is the rotation speed (spin), in degrees per second.
iObjectSpin(OBJ_0,Vector3(20,0,0)); vector values are the axis x,y,z in this case - spin on the x axis - forwards like a wheel.
Vector3 spin;
iObjectSpin(OBJ_0, spin); // get the spin into the vector
iObjectSpinSet(OBJ_22,spin); //use the vector to pass on the value
No big red letters in your reply please.
Return the specified object spin.
OBJ_X = object handle
Vector3 = spin vector.
The vector direction is the axis of rotation (absolute).
The length of the vector is the rotation speed (spin), in degrees per second.
iObjectSpin(OBJ_0,Vector3(20,0,0)); vector values are the axis x,y,z in this case - spin on the x axis - forwards like a wheel.
Vector3 spin;
iObjectSpin(OBJ_0, spin); // get the spin into the vector
iObjectSpinSet(OBJ_22,spin); //use the vector to pass on the value
No big red letters in your reply please.
relax i wont thx for explaining me oh and also how could i make exact 360 spin?
in iObjectSpinSet the Vector3 what value is that? simple numbers or same as in iObjectSpin?
I'm really newbie os i'm trying to find out
in iObjectSpinSet the Vector3 what value is that? simple numbers or same as in iObjectSpin?
I'm really newbie os i'm trying to find out
other problem i dont know how to use if, when ,else when i write
If(object starts) it says bolean number or smthing like that i would like to know what are these bolean numbers and how to use them
If(object starts) it says bolean number or smthing like that i would like to know what are these bolean numbers and how to use them
jestermon
other problem i dont know how to use if, when ,else when i write
If(object starts) it says bolean number or smthing like that i would like to know what are these bolean numbers and how to use them
Write down the code that gives the problem, then we can help fix it. A generic question like "boolean or something" means nothing to anyone.
void Main()
{
iObjectStart(OBJ_22);
{
iObjectSpin(OBJ_0,Vector3(180,0,0));
}
}
ok this is the first problem i want that when i press the key A (i can make the key probs)
other think with the if i hadnt made anything i just want code
if the car is at the certain location (EOL) than the upper scripts starts if anything else than the script that is upper wont work is that clear enough?
So script starts and in the air when you press A it will spin 360 degrees
{
iObjectStart(OBJ_22);
{
iObjectSpin(OBJ_0,Vector3(180,0,0));
}
}
ok this is the first problem i want that when i press the key A (i can make the key probs)
other think with the if i hadnt made anything i just want code
if the car is at the certain location (EOL) than the upper scripts starts if anything else than the script that is upper wont work is that clear enough?
So script starts and in the air when you press A it will spin 360 degrees
jestermon
You can't spin the car with the script. you need to apply a force to it, in order for this to happen.
oh man
so how about the if could you explain me abit of it also i would like to know where can i use Else, and when! ?
so how about the if could you explain me abit of it also i would like to know where can i use Else, and when! ?
jestermon
oh man
so how about the if could you explain me abit of it also i would like to know where can i use Else, and when! ?
Only you can teach yourself programming - I can't always spoon feed you.
AngelScript Tutorial
http://www.3drad.com/files/AngleScript_tutorial_lesson.pdf]