
Here is the random weapon with the decorates and acs: http://www.mediafire.com/file/6u8givqxk ... 2+Sway.pk3
Moderator: GZDoom Developers
Code: Select all
Ready:
AA12 A 1
{
A_WeaponReady;
A_WeaponOffset(CallACS("Script_GetGunOffsetX"), CallACS("Script_GetGunOffsetY"),WOF_KEEPY);
}
Goto Ready
thanks for all the information! now it works perfectly, just in case you do not know how to make enemies fly in the air when you shoot them with a shotgun or any other weapon? If so, can you tell me how to do it?ramon.dexter wrote:The main problem is that you put the graphics&sound into markers, yet you are using pk3. Pk3 doesn't use markers. Basically, pk3 IS a an zip archive. So you can use folders instead of markers.
Look here to learn how to ues pk3 properly: https://zdoom.org/wiki/Using_ZIPs_as_WAD_replacement
The file is fine. The only thing I could advice you with the sway is the modification of ready state:Code: Select all
Ready: AA12 A 1 { A_WeaponReady; A_WeaponOffset(CallACS("Script_GetGunOffsetX"), CallACS("Script_GetGunOffsetY"),WOF_KEEPY); } Goto Ready
Excuse me Ramon, can you tell me what i do wrong here? I tried to add casings to a random weapon and I succeeded but now I can't hear the attack sound of the gun can you tell me what I did wrong? http://www.mediafire.com/file/293vvsm3f ... asings.pk3ramon.dexter wrote:Honestly, I can imagine that could be done either with ACS or zscript and MAYBE in decorate. BUT right now I really dont know how to do it.