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

Author Topic: FPS Help 2.1  (Read 4071 times)

secondry2

« Reply #15 on: January 01, 2012, 06:52:35 PM »
joseuz:what did you do in the update? because im getting the same one. try renaming the file, then uploading it. accually, when you change the name of the file, could you include the .skp file aswell? The reason i want you to try and rename it, is because a lot of the time, when you upload files with the same name, te database gets confused, and just uses the file that you previously uploaded, instead of the new one, if that makes sense. thanks.
« Reply #16 on: January 01, 2012, 07:40:10 PM »
I know what is wrong. I've been upload is the wrong file :-[. this if it is real
my strength is the texturing and graphics
« Reply #17 on: January 02, 2012, 03:09:33 AM »
RobertooMolvadoo:Ok sorry  :-[, i just hadn't looked on youtube yet. Thanks for letting me use your zombies. I need to ask you a question, how did you do your animations for forest of the undead? because the switch object is terrible.

Yes, it is terrible... I used a script. I could write you a basic one.
One question for the animationscript, do you want the zombies to crawl out of the ground?
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #18 on: January 02, 2012, 03:30:54 AM »
Alright, here is a script. Link it to all the objects in they order like it says in the script. Then you need to change some values in the beginning on the script. I haven't tested it, but it should work.



Code: [Select]
Vector3 PlayerLoc, ZombieLoc;
float Distance, Health;
int cAnimation, nAnimation;

///                                                         
int Walking = 1; //Animation set for walking.
int Attacking = 2; //Animation set for attacking.
int Dying = 3; //Aniamtion set for dying.
float Range = 1.0; //The attack range in meters.
///                                                         

void Main()
{
   iObjectLocation(OBJ_0,ZombieLoc);
   iObjectLocation(OBJ_22,PlayerLoc);
   Distance = iVectorLength(PlayerLoc-ZombieLoc);

   Health = IN_66;

   if (Distance >  Range && Health > 0) nAnimation = Walking;
   if (Distance <= Range && Health > 0) nAnimation = Attacking;
   if (Health <= 0)                     nAnimation = Dying;
   

   if (cAnimation != nAnimation) {cAnimation = nAnimation; OUT_46 = nAnimation;} //If the current animation is not the same as the new animation, the current animation is set to the new one.
}

//OBJ_0  = Rigidboy (sphere from zombie character)
//OBJ_22 = Rigidboy (sphere from player character)/Cam1stperson (the player)
//OBJ_44 = Skinmesh (zombie)
//OBJ_66 = Counter (zombie health)
« Last Edit: January 03, 2012, 03:58:09 AM by RobertooMolvadoo »
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #19 on: January 02, 2012, 12:30:15 PM »
so you should make a zombie scene :o
http://www.youtube.com/watch?v=CCpV-OkROUE
my strength is the texturing and graphics

secondry2

« Reply #20 on: January 03, 2012, 12:01:56 AM »
hi
RobertooMolvadoo:Could you please write a script for me (pretty please :P) for the iron sights, cause i looked on youtube, and google, and i can't find any tutorials that i can follow, they don't make any sense. And for the script you just wrote me, the problem is, the player doesn't have a rigedbody, it is a cam1stperson. but if you could tell me how to give the cam1stperson a rigedbody, that would be sweet :D.
joseuz:do you mean like a trailer type thing? or cut scenes in the game? because im doing cut scenes in between the levels. btw, if you could make a city map, for the next level that would be great :D. (and make it so there is an airport, or a place to put a plane, because in the next level, its the same city map, except you are flying a plane, and mowing down zombies as you go :D.

secondry2

« Reply #21 on: January 03, 2012, 01:25:07 AM »
accually joseuz, never mind bout the city map, ive got another idea
« Reply #22 on: January 03, 2012, 03:57:24 AM »
RobertooMolvadoo:Could you please write a script for me (pretty please :P) for the iron sights, cause i looked on youtube, and google, and i can't find any tutorials that i can follow, they don't make any sense.

I told you, the aiming system works with animations, not with script. Although a script changes the animations. If you want an aim down sight system as smooth as mine, you should make different animations.

hi
RobertooMolvadoo:And for the script you just wrote me, the problem is, the player doesn't have a rigedbody, it is a cam1stperson. but if you could tell me how to give the cam1stperson a rigedbody, that would be sweet :D.

Just ignore it says 'rigidbody'. It's only about the location, so just link it to the 1stpersoncam.


EDIT: I edited the script. Now it says cam1stperson.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #23 on: January 03, 2012, 09:12:45 AM »
a large city. cool ;D, but good or simple textures ???
my strength is the texturing and graphics
« Reply #24 on: January 03, 2012, 01:16:17 PM »
I have an idea of a zombie zoo ;D
my strength is the texturing and graphics

secondry2

« Reply #25 on: January 03, 2012, 04:44:28 PM »
RobertooMolvadoo:Sorry, in the previous post, i must have misunderstood :P . I might not do sights in this version, but once this version is released (in the next few days), i will add things onto the project, then people can download the project and replace the old one (in the projects folder of the compiled game) with the downloaded one. btw, i will also make custom maps :).

joseuz:So you mean like a spooky theme park? awesome! that would be sweet! I've already done all the maps, but on the menu i made, you can download custom maps, and play them on the same version, so ill use that map as like a survival map, because the others run in an order, as a campaign (with a story), so try and make it reasonably big, if its not too much trouble, double the size of then subway (thats only the preffered size, but you're the map maker, so you can make it as large, or small as you want.)

thanks
« Reply #26 on: January 03, 2012, 05:40:17 PM »
something like this. my favorite game for ps2 8)
my strength is the texturing and graphics

secondry2

« Reply #27 on: January 03, 2012, 11:13:45 PM »
joseuz: ok that would be awesome!  ;) .
i have a question, its really driving me nuts! http://www.3drad.com/forum/index.php?topic=8709.0 im having some trouble  :(
« Last Edit: January 04, 2012, 03:01:45 AM by secondry2 »

secondry2

« Reply #28 on: January 04, 2012, 01:22:55 AM »
RobertooMolvadoo: Thanks for the script, but it didn't work. the zombie just kept playing the standing up animation
« Reply #29 on: January 04, 2012, 03:49:35 AM »
I'm very sorry, but it works like a charm.

You probably forgot to fill out the first section of the script. There are yellow lines around it. When I put yellow lines in my script, there is something a user can or must change to make it work properly in there project.


Note: keep in mind that this script only changes the animation. When the zombie drops dead, he will still keep moving. You still have to do this.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
Pages: 1 [2] 3 4 5