2 registered members (AndrewAMD, VoroneTZ),
1,258
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Diablo style game
[Re: mschoenhals]
#455244
10/14/15 18:16
10/14/15 18:16
|
Joined: Jul 2008
Posts: 2,107 Germany
rayp
X
|
X
Joined: Jul 2008
Posts: 2,107
Germany
|
Maybe this helps http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=30905http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=30905Very Basic cam (not tested)
while (1){
vec_set (camera.x, my.x);
camera.z += 100;
camera.tilt = 80;
wait (1);
}
and for zoom u could mod this example from manual (with mickey.z 4ex)
void sniper()
{
while(1)
{
if(mouse_right) // right mouse button pressed
{
camera.arc = max(camera.arc - time_step, 30); // reduce fiel of view
}
else
{
camera.arc = min(camera.arc + time_step, 60); // increase fiel of view
}
wait(1);
}
}
greets
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
|
|
|
Re: Diablo style game
[Re: rayp]
#455245
10/14/15 18:25
10/14/15 18:25
|
Malice
Unregistered
|
Malice
Unregistered
|
A few dollars and I'll write it for you! lol to use the mouse wheel he'll need micky.z
Last edited by Malice; 10/14/15 18:26.
|
|
|
Re: Diablo style game
[Re: rayp]
#455247
10/14/15 18:29
10/14/15 18:29
|
Malice
Unregistered
|
Malice
Unregistered
|
^ opps missed it! Sorry man! Money Money...all People want is Money... Well it's been a decade of give code for free. Few dollars gets fast and well written code. I guess what I'm saying is - I'm not bored enough to write this for you right now. But maybe I'll become bored soon, never know.
Last edited by Malice; 10/14/15 18:32.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|