hello im new using this program and im creating a 3D online game sorta like wow but i dont know how to add the weapons and stuff like that was wondering if someone could make a tutorial or help me thanks
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 - Technical Discussion >
- new 3D game
Author Topic: new 3D game (Read 917 times)
hi, and welcome to rad.
do you know something about the script editor? (or programming languages like c, c++ etc. )
if you want to implement something like towers or other static enemies its not really problematic to make them.
you can easily controll if youre character is near tho them with: (controll of a flamethrower)
int proxi;
Quaternion orientation1;
Vector3 pos1, pos2, pos0, pos3, UpLoc;
iObjectLocation(OBJ_xxx, pos1); //obj_88 = tower
iObjectLocation(OBJ_yyy ,pos2); //obj_22 = target
iObjectLocation(OBJ_zzz ,pos3); //flame ps
pos0 = pos1-pos2;
proxi = iVectorLengthSq(pos0); // returns range to target
if (proxi < 300) //tower range
{
UpLoc = Vector3(0,1,0);
iQuaternionLookAt(orientation1,pos2-pos3, UpLoc);
iObjectOrientationSet(OBJ_zzz,orientation1);
if (active == 0)
{
active = 1; //return if the tower already got a target
OUT_177 = IN_177+10; //tower dmg
}
}
if ((proxi > 300)&&(active == 1))
{
active = 0;
OUT_177 = IN_177-10;
}
do you know something about the script editor? (or programming languages like c, c++ etc. )
if you want to implement something like towers or other static enemies its not really problematic to make them.
you can easily controll if youre character is near tho them with: (controll of a flamethrower)
int proxi;
Quaternion orientation1;
Vector3 pos1, pos2, pos0, pos3, UpLoc;
iObjectLocation(OBJ_xxx, pos1); //obj_88 = tower
iObjectLocation(OBJ_yyy ,pos2); //obj_22 = target
iObjectLocation(OBJ_zzz ,pos3); //flame ps
pos0 = pos1-pos2;
proxi = iVectorLengthSq(pos0); // returns range to target
if (proxi < 300) //tower range
{
UpLoc = Vector3(0,1,0);
iQuaternionLookAt(orientation1,pos2-pos3, UpLoc);
iObjectOrientationSet(OBJ_zzz,orientation1);
if (active == 0)
{
active = 1; //return if the tower already got a target
OUT_177 = IN_177+10; //tower dmg
}
}
if ((proxi > 300)&&(active == 1))
{
active = 0;
OUT_177 = IN_177-10;
}
actually, there's a turret made without script at all.
http://www.3drad.com/forum/index.php?topic=2505.0
bisoft, I dont want to sound bitchy but if you start facing a lot of 'I dont know how' maybe and I say JUST MAYBE you should consider start with something simpler... you know, the infamous "learning process", damn it!
http://www.3drad.com/forum/index.php?topic=2505.0
bisoft, I dont want to sound bitchy but if you start facing a lot of 'I dont know how' maybe and I say JUST MAYBE you should consider start with something simpler... you know, the infamous "learning process", damn it!
hmm didn't tried or searched for one without a script because i like scripting more
i think with a good loop its alot easier controlling a lot of towers (with god performance) and you need less event on proximity objects and things like that
(for games like wow i would prefer to make the dmg not with a projectile and event on collision object... in my opinion its better to
controll it with a timer (some seconds after projectile start) and chose than a chance to hit the player.)
but you are right, loop... it would be better if he begins with an easier game if he never used a programming language before.
i think with a good loop its alot easier controlling a lot of towers (with god performance) and you need less event on proximity objects and things like that
(for games like wow i would prefer to make the dmg not with a projectile and event on collision object... in my opinion its better to
controll it with a timer (some seconds after projectile start) and chose than a chance to hit the player.)
but you are right, loop... it would be better if he begins with an easier game if he never used a programming language before.
i have never played that game before, but from what it looks like, it may be possible in 3d rad, but will take a LOT of work.
i'd just say play around with other things in the editor first and learn what everything can do, etc.
yeah, i wouldn't suggest having more than 3 or 4 of those scriptless turrets as it will get messy in the editor. maybe find a way to rig a turret model to have a bone joint and control it with a script and have a projectile object following the barrell.
i'd just say play around with other things in the editor first and learn what everything can do, etc.
yeah, i wouldn't suggest having more than 3 or 4 of those scriptless turrets as it will get messy in the editor. maybe find a way to rig a turret model to have a bone joint and control it with a script and have a projectile object following the barrell.
Pages: [1]