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

Author Topic: ...boxing ragbots  (Read 3083 times)

« Reply #15 on: November 25, 2010, 08:12:20 PM »
okay... i wanted to embed an image to use here like other people...i already knew how to do that lol.....but i will upload an image now please look at it :)
me likes 3drad ;D
« Reply #16 on: November 26, 2010, 12:55:22 AM »
faizan i have no idea..as i said above i had some problems as well  (rad denied to apply forces and joints to the helper rigids, so i replaced them with exactly the same rbody(!!!!!!) and worked perfect..)...if you want i can  sent another project

psikotropico

« Reply #17 on: November 26, 2010, 01:34:29 AM »
hi kampaoua... is not necessary to use one script for each action... you can certainly use only one script for the whole level if you want... and better if you reserve the initializing section for some code that must be executed only when the game starts... to check states in runtime, you can use some 'if' statements and 'booleans' variables.. and play with 'true' and 'false'...

I think there is a manual gearbox resource somewhere in the forum...
« Reply #18 on: November 26, 2010, 01:27:33 PM »
thanxs alot psikoT...soon i will upload the project layout because i want to go through it with the experienced 3draders, and bomb you people with questions... ;D
« Reply #19 on: November 27, 2010, 12:21:21 AM »
so there is a question:

 currently i am redesigning the walk cycle, and this is a short description:

when the player presses UP, a script(LegSelector) will check(through EoCs) which leg has contact to the ground, then which is ahead or rear the robot(EoLocs) and then will start: 1) the walk cycle starting with the correct leg, and 2) a script that doesn't allow a leg to rise if the other if not in contact with tha floor..

the starter script , needs to run only once, just to decide for the correct leg to start with...is this where i should use  iInitializin?????
« Reply #20 on: November 27, 2010, 01:33:14 PM »
Yes, that is where u should use iInitializing....
me likes 3drad ;D

psikotropico

« Reply #21 on: November 27, 2010, 01:58:39 PM »
the starter script , needs to run only once, just to decide for the correct leg to start with...is this where i should use  iInitializin?????

it's hard to say without analyzing the project... but if the script will run only once, there is no need to use any iInitializing() function... here's a basic scripting tutorial:

http://www.3drad.com/files/AngleScript_tutorial_lesson.pdf

as I can see, you're using a bunch of Event objects, forces and scripts to move each part... keep in mind you can have problems adding too much objects to the project, so better if you unify all your scripts into only one... I would use 'booleans' and 'conditionals' to create and check states... i.e:

bool state; //always false by default

if (IN_0 == 1) { //if EventObject is on...
     state = true;
     // or do something...
}

if (state == true) {
     //do something...
     state = false; //optionally you can make it false again, at the end of this conditional
}

hope this help
« Reply #22 on: November 27, 2010, 02:58:45 PM »
thanx PsikoT it really helps, and for the whole project structure as well...
i've quite a good hand on the if()... thing but i must run through the tut again for the state thing..
thanks again man
ps: faizan is wright though, eh? i mean that LegSelector script could be executed once by using iInitializing...is that correct??
« Reply #23 on: November 27, 2010, 08:42:10 PM »
I actually thought you would have the script to make sure one leg is always touching the ground in the same script, so i thought that is where you should use iInitializing() to only check which leg to start with at the beggining XD
me likes 3drad ;D
« Reply #24 on: November 27, 2010, 11:24:45 PM »
faizan thats what i am trying now :)

Andi

« Reply #25 on: November 28, 2010, 02:13:12 AM »
Really cool ragdoll effects! This is ggod man !!
« Reply #26 on: November 28, 2010, 09:23:47 AM »
cool kampaoua.....tell me if u succeed ;D.....nd btw what version of rad did you make this on??
me likes 3drad ;D
« Reply #27 on: November 28, 2010, 11:58:32 AM »
i think i started on v6.47, and on.... joints have still the v6 setup (sorryyyy)...
« Reply #28 on: November 28, 2010, 07:25:03 PM »
oh well i thought maybe it didn't run on mine cuz u used PhyX.....okaii i am officially very tiked off at not being able to run this  :-\
me likes 3drad ;D
« Reply #29 on: November 29, 2010, 01:43:41 PM »
faizan yesterday i  tried to find a version that I did not open/save on v7.11 but no luck (my stupid vistas don't want to to show me dates, so i had to search through rad :()  ).  How about setting it up again (i know...so boring...)?
Pages: 1 [2] 3