Gamestudio Links
Zorro Links
Newest Posts
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
Camera always moves upwards?
by NeoDumont. 11/14/25 16:32
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 6,697 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
tritom, sheliepaley, Blueguy, blobplayintennis, someone2
19178 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animation #4725
06/20/01 16:31
06/20/01 16:31

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



hi all !

ich hab schon eine Reload-Animation für meine Waffe gemacht und möchte diese nun einbinden das man dann mit ON_R Nachladen kann...kann mir jemand den Code geben?

------------------
Danke im voraus
Gruss
Eric


Re: Animation #4726
06/20/01 17:02
06/20/01 17:02

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



funktion gerade nach weapon_fire einfügen:
//reload weapon
function weapon_reload() {
weapon_reloading = 1;
WHILE (KEY_R) { WAIT 1; }


}
folgendes umschreiben:
// handle firing
while(weapon == ME)
{
if(weapon_firing && (gun_loaded > 0) && (MY._FIRE <= 0) )
{
gun_fire();
}
IF(weapon_reloading==1)
{
weapon_reloading = 0;
gun_reload();
}
if((weapon_firing == 0) && (gun_loaded == 0) && (MY.__REPEAT == OFF))
{
gun_loaded = 1;
}
wait(1);
}
return(weapon_number);
}

und dann brauchst du noch die funktion gun_reload wo die animation geschrieben steht. Ich habe noch den alten animations code, ist total unuebersichtlich, nach neuen mcode sollte das aber einfach sein.


Re: Animation #4727
06/20/01 18:29
06/20/01 18:29
Joined: Jul 2000
Posts: 478
hamburg, germany
J
jotha Offline
Senior Member
jotha  Offline
Senior Member
J

Joined: Jul 2000
Posts: 478
hamburg, germany
EDIT: wrong ttopic, sorry!

[This message has been edited by jotha (edited 20 June 2001).]



Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1