3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: 1 2 [3] 4 5 6

Author Topic: Script related questions  (Read 8112 times)

« Reply #30 on: May 17, 2012, 04:04:55 PM »
Hey dogtorque... few things here in that script.

First, leave out the semicolon (;) after your else() statement.

Second, your "speed" variable needs to be equal (=) to something.
For example: "float speed = IN_2;"
« Reply #31 on: May 17, 2012, 11:03:11 PM »
Hi dogt.... 11Dogs is right about the speed needing an assignment but the else doesn't work like that.

Try and lay out code with indented sections this helps locate faults and generally makes easier to read.

Code: [Select]
void Main(){

   float speed-IN_0;

   if(speed > 2) {
      OUT_2 = 2 ;
   }else if(speed > 0 ) {
      OUT_2 = 3;
   }

}
« Reply #32 on: November 04, 2012, 11:27:03 AM »
can some one help me my client game is just gave me a black screen ???
« Reply #33 on: September 20, 2013, 12:47:28 PM »
Hi, I need some script help. Can someone write angelscript tutorial for who has no knowledge of programming. For example look cprogramming.com that how they made c++ tutorial for who has no knowledge of programming. Avoiding learning of prerequisite programming, can anyone make that kind of tutorial? I have made car. Now I need script to make force fly the car.
« Reply #34 on: September 20, 2013, 01:00:44 PM »
Oh, I am using mobile so I can't download programs.
« Reply #35 on: September 21, 2013, 04:19:36 AM »
Can someone write angelscript tutorial for who has no knowledge of programming...

Oh come on. At least try a little bit.

Check the scripting bit: Tips / Faq / Tutorials and other useful threads.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #36 on: September 21, 2013, 05:41:43 AM »
Oh, I didn't understand anything..
« Reply #37 on: September 21, 2013, 09:20:31 PM »
What should I write. To make my car manually fly.
There is plane on sample project, I din't understand that
if (iInitializing ()) TargetThrust equal 0; // I did not find the function and how it found the value of it?
Out-0 equal Thrust //why the are declared inside function? Are they global function.
« Reply #38 on: September 22, 2013, 05:05:06 AM »
Okay, this is maddening.

Listen, you're trying to accomplish something very difficult and you have obviously no clue about scripting what so ever.

Drop your idea, it's not gonna happen.

if (iInitializing ()) TargetThrust equal 0; // I did not find the function and how it found the value of it?

You didn't find this function, because it's not a function. It's a variable.

Out-0 equal Thrust //why the are declared inside function? Are they global function.

Again, no functions. Again, variables.

Just start simple.




And yes, this makes you feel upset. They always feel like they've been wronged, but this is just the way the cookie crumbles.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #39 on: September 23, 2013, 01:35:47 AM »
Ok, I think I am getting this. But first I need to be answered to script the game.
These are:
1) What other is written instead of void main()?
2) What id the meaning of void?
3)I saw other things are declared before void main(). Why they are declared? What are the function of those?
4) What are Vector3? Why they are used?
5) Why OUT are inside of second brackets and seperate from IN?
6)Why float are declared before void main()?
7)Sometimes out-0, out-9 ect are at the last of the formula. For example out -9 equals Thrust. What are those? Why they are here?
8) Please send me the process of using script to activate one object without eventobInput.
I would be gratefull if these questions are answered.   Thanks in advance.
« Reply #40 on: September 24, 2013, 08:10:29 AM »
« Reply #41 on: September 24, 2013, 08:40:21 AM »
And don't forget this one: http://www.3drad.com/Script.php
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #42 on: September 24, 2013, 09:55:48 AM »
My mobile freezes going to angelscript tutorial from its homepage. I think giving these answers (specifically) will not cause any harm. Please..
« Reply #43 on: September 24, 2013, 12:08:35 PM »
www.3drad.com/forum/index.php?topic=10039.msg88007#msg88007

Ignore all the rest in there, find the useful bit in the first post which will give you the very basics, then move on to the angelscript tutorials mentioned before

Talking about mobile not working is irrelevant, you have a computer
« Reply #44 on: September 25, 2013, 12:09:23 AM »

I take it you didnt have a look at my other post in your other topic...

look here as this is what you need.

http://www.3drad.com/forum/index.php?topic=9137.msg76281#msg76281

all I did was type into google

Site:3dram.com flying pcar.

first result.  ::)
Pages: 1 2 [3] 4 5 6