DuduKrazy's Mod Journal
Moderator: wildweasel
- Zero Prophet
- Posts: 40
- Joined: Mon Feb 06, 2006 2:07
- Location: dev/null
- DuduKrazy
- Posts: 402
- Joined: Sun Dec 25, 2005 18:59
Updates: (Criminal Doom)
- Pistol now reload. but i'm having some issues with it. when you reload, you don't load a clip with 17 bullets at once. instead, you load a clip with one bullet at a time. also, when the pistol is reloaded, pressing the alternate fire button reloads the weapon even if you have full ammo.
Updates: (DuduCrazy's Guns SE.)
- Moved DBshotgun's reloading frames a little to the right.
Pistol's Code:
i made the reloading code based on Captain Red's Uzi.
- Pistol now reload. but i'm having some issues with it. when you reload, you don't load a clip with 17 bullets at once. instead, you load a clip with one bullet at a time. also, when the pistol is reloaded, pressing the alternate fire button reloads the weapon even if you have full ammo.
Updates: (DuduCrazy's Guns SE.)
- Moved DBshotgun's reloading frames a little to the right.
Pistol's Code:
Code: Select all
ACTOR Colt1911 : Weapon
{
Inventory.PickupMessage "Picked up a Colt 1911"
Inventory.PickupSound "misc/w_pkup"
Weapon.Ammogive 0
Weapon.Ammogive2 17
Weapon.AmmoType1 "ColtClip"
Weapon.AmmoType2 "Clip"
Weapon.Ammouse 1
Weapon.Kickback 40
+NOAUTOFIRE
States
{
Spawn:
CLT2 A -1
LOOP
Ready:
PSTL A 1 A_WeaponReady
LOOP
Deselect:
PSTL A 1 A_Lower
LOOP
Select:
PSTL A 1 A_Raise
LOOP
Fire:
PSTF A 0 A_JumpIfNoAmmo(9)
PSTF A 0 A_Light1
PSTF A 0 A_PlayWeaponSound("weapons/colt1911")
PSTF A 1 Bright A_FireBullets(2,2,-1,7,1,1)
PSTL B 0 A_Light0
PSTL B 1
PSTL C 1
PSTL D 1 A_WeaponReady
Goto Ready
AltFire:
PSTL A 0 A_JumpIfInventory("ColtClip",17,19)
PSTL A 0 A_JumpIfInventory("Clip",1,1)
Goto Ready
PSLR A 0 A_PlayWeaponSound("weapons/ColtClipOut")
PSLR A 3
PSLR B 3
PSLR C 3
PSLR D 0 A_TakeInventory("Clip",1)
PSLR D 0 A_GiveInventory("ColtClip",1)
PSLR D 0 A_JumpIfInventory("ColtClip",17,2)
PSLR D 0 A_JumpIfInventory("Clip",1,8)
PSLR D 3
PSLR E 3
PSLR F 3
PSLR G 3
PSLR H 0 A_PlayWeaponSound("weapons/ColtClipIn")
PSLR H 3
PSLR I 0
PSLR I 4
PSTL A 3
goto Ready
PSTL A 0
Goto AltFire+6
}
}
ACTOR ColtClip : Ammo
{
Inventory.MaxAmount 17
Ammo.BackpackAmount 0
Ammo.BackpackMaxAmount 17
Inventory.Icon CLT2A0
}
- wildweasel
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
- Contact:
Change:
to:
Code: Select all
PSLR D 0 A_JumpIfInventory("Clip",1,8)
Code: Select all
PSLR D 0 A_JumpIfInventory("Clip",1,10)
- wildweasel
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
- Contact:
Change:
to:
And add this to the very end of the altfire state, after Goto AltFire+6:
I think that ought to solve things.
Code: Select all
PSTL A 0 A_JumpIfInventory("ColtClip",17,19)
Code: Select all
PSTL A 0 A_JumpIfInventory("ColtClip",17,20)
Code: Select all
PSTL A 1
Goto Ready
- TheDarkArchon
- Posts: 1000
- Joined: Wed Jul 06, 2005 11:58
- Location: What's that fucking smell
- Contact:
- DuduKrazy
- Posts: 402
- Joined: Sun Dec 25, 2005 18:59
- DuduKrazy
- Posts: 402
- Joined: Sun Dec 25, 2005 18:59
Updates: (Criminal Doom)
- Reloading the pistol no longer alerts monsters. to do this, i had to add the +NOALERT flag and add the Cheapalert custom missile.
p.s.: i can't post anymore screenshots. i see a message saying that i reached the maximum upload quota of 2MB. and i can't post images on imageshack because Chronoteeth can't see images hosted there because of that filterpak. what do i do now?
- Reloading the pistol no longer alerts monsters. to do this, i had to add the +NOALERT flag and add the Cheapalert custom missile.
p.s.: i can't post anymore screenshots. i see a message saying that i reached the maximum upload quota of 2MB. and i can't post images on imageshack because Chronoteeth can't see images hosted there because of that filterpak. what do i do now?
- DuduKrazy
- Posts: 402
- Joined: Sun Dec 25, 2005 18:59
Updates: (DuduCrazy's Guns SE)
- Pistol's primary fire is now a little slower but stronger. while the alternate fire now is faster, but inaccurate.
Updates: (Criminal Doom)
- New weapon added: Rocket Launcher. (LAW Rocket launcher from ww-cash.)
- Added smoke trails
there's some issues i'm having. first: i can't attach photos anymore because i reached the maximum upload quota. i can't upload photos on imageshack because of Chronoteeth's filterpak. and second: do you know of any good flamethrower?
- Pistol's primary fire is now a little slower but stronger. while the alternate fire now is faster, but inaccurate.
Updates: (Criminal Doom)
- New weapon added: Rocket Launcher. (LAW Rocket launcher from ww-cash.)
- Added smoke trails
there's some issues i'm having. first: i can't attach photos anymore because i reached the maximum upload quota. i can't upload photos on imageshack because of Chronoteeth's filterpak. and second: do you know of any good flamethrower?
- Marty Kirra
- Posts: 364
- Joined: Sat Jul 09, 2005 4:25
That's an image hosting site. Chrono can see it fine.Marty Kirra wrote:http://www.maj.com