Raw model (for completeness)
{
"meta": {
"id": "0213707c-25ec-4c51-a74d-8078e0a79b22",
"sha1": "8bce44de63fe38ea9f360fb16fc1023be0ebca06",
"sha256": "1da40b51da5de52b960fb819d0b67aa9a5e72100cc49a4186007375b1fe0ae23",
"filenames": [
"gmota_v0.5.pk3"
],
"additional": {
"engines": [],
"iwad": [
"HERETIC"
],
"filename": null,
"added": "2014-01-22 19:59:27",
"locked": false,
"canDownload": true,
"adult": false,
"hidden": false,
"name": null,
"description": null,
"maps": null,
"graphicOverrides": null,
"screenshots": null,
"palettes": null,
"categories": null
},
"flags": {
"locked": false,
"canDownload": true,
"adult": false,
"hidden": false
},
"added": "2014-01-22 19:59:27",
"file": {
"type": "PK3",
"size": 695260,
"url": "https://wadarchive2.nyc3.digitaloceanspaces.com/8bce44de63fe38ea9f360fb16fc1023be0ebca06/8bce44de63fe38ea9f360fb16fc1023be0ebca06.pk3.gz",
"corrupt": false
},
"content": {
"counts": {
"endoom": 0,
"graphics": 0,
"lumps": 173,
"maps": 0,
"palettes": 0
},
"iwads_guess": [
"HERETIC"
]
},
"text_files": [
{
"source": "pk3",
"name": "Actors/ripandtear.txt",
"contents": "actor RipandTear : Weapon\n{\n\tweapon.ammotype1 \"swordrage\"\n\tweapon.ammotype2 \"swordrage\"\n\tweapon.ammouse1 0\n\tweapon.ammouse2 0\n\t+weapon.noalert\n\t+EXTREMEDEATH\n\tWeapon.SelectionOrder 5000\n\tAttackSound \"weapons/vblhit\"\n\tstates\n\t{\n\tSelect:\n\t\tTNT1 A 0 A_playsound (\"sword/draw\")\n\t\tSRDG A 0 A_Raise\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",999)\n\t\tSRDG A 0 A_GiveInventory(\"PowerBrave\",1)\n\t\tSRDG A 1 A_Raise\n\t\tGoto select+1\n\tDeselect:\n\t\tTNT1 A 0 A_playsound (\"sword/away\")\n\t\tSRDG A 0 A_TakeInventory(\"PowerBrave\",1)\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",999)\n\t\tSRDG A 0 A_Lower\n\t\tSRDG A 1 A_Lower\n\t\tGoto deselect+1\n\tReady:\n\t\tSRDG A 0 A_GiveInventory(\"PowerBrave\",1)\n\t\tSRDG A 0 A_giveinventory (\"swordrage\",1)\n\t\tSRDG A 1 A_weaponready\n\t\tloop\n\tFire:\n\t\tSRDG A 0 A_JumpIf(health >= 75,\"Fire6\")\n\t\tSRDG A 0 A_JumpIf(health <= 15,\"Fire5\")\n\t\tSRDG A 0 A_JumpIf(health <= 25,\"Fire4\")\n\t\tSRDG A 0 A_JumpIf(health <= 50,\"Fire3\")\n\t\tSRDG A 0 A_JumpIf(health <= 75,\"Fire2\")\n\t\tSRDG A 0 A_JumpIfInventory (\"swordrage\",30,\"ragefire\")\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",999)\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 4\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"sword/attack\")\n\t\tSRDG GH 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG H 0 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG IJ 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG JJ 0 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG KLM 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tTNT1 AAAA 1\n\t\tTNT1 AAAA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tRagefire:\n\t\tSRDG A 0\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 4\n\t\tSRDG DE 1\n\t\tSRDG F 0 A_takeinventory (\"swordrage\",999)\n\t\tSRDG F 1 A_PlaySound(\"sword/powerattack\")\n\t\tSRDG GH 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG H 0 A_CustomPunch(10,1,0,\"BladePuff1\",96) TNT1 A 0 A_firecustommissile (\"swordwave\")\n\t\tSRDG IJ 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG JJ 0 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG KLM 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tTNT1 AAAA 1\n\t\tTNT1 AAAA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tFire2: //omfg ugly hacks aaaaaaaaaaaaaaa\n\t\tSRDG A 0 A_JumpIfInventory (\"swordrage\",30,\"ragefire2\")\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",20)\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 3\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"Sword/attack\")\n\t\tSRDG G 1\n\t\tSRDG H 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG HH 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG IJ 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG JJ 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG K 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG KK 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG LM 1\n\t\tTNT1 AAA 1\n\t\tTNT1 AAA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tragefire2:\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",20)\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 3\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"Sword/powerattack\")\n\t\tSRDG G 1\n\t\tSRDG H 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG HH 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96) TNT1 A 0 A_firecustommissile (\"swordwave\")\n\t\tSRDG IJ 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG JJ 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG K 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG KK 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG LM 1\n\t\tTNT1 AAA 1\n\t\tTNT1 AAA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tFire3: //omfg ugly hacks aaaaaaaaaaaaaaa\n\t\tSRDG A 0 A_JumpIfInventory (\"swordrage\",30,\"ragefire3\")\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",15)\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 2\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"sword/attack\")\n\t\tSRDG G 1\n\t\tSRDG H 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG HH 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG IJ 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG JJ 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG K 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG KK 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG LM 1\n\t\tTNT1 AA 1\n\t\tTNT1 AA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tragefire3:\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",15)\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 2\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"sword/powerattack\")\n\t\tSRDG G 1\n\t\tSRDG H 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG HH 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96) TNT1 A 0 A_firecustommissile (\"swordwave\")\n\t\tSRDG IJ 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG JJ 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG K 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG KK 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG LM 1\n\t\tTNT1 AA 1\n\t\tTNT1 AA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tFire4: //omfg ugly hacks aaaaaaaaaaaaaaa\n\t\tSRDG A 0 A_JumpIfInventory (\"swordrage\",30,\"ragefire4\")\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",10)\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 1\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"sword/attack\")\n\t\tSRDG G 1\n\t\tSRDG H 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG HHH 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG IJ 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG JJJJ 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG KLM 1\n\t\tTNT1 A 1\n\t\tTNT1 A 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tragefire4:\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",10)\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 1\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"sword/powerattack\")\n\t\tSRDG G 1\n\t\tSRDG H 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG HHH 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96) TNT1 A 0 A_firecustommissile (\"swordwave\")\n\t\tSRDG IJ 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG JJJJ 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG KLM 1\n\t\tTNT1 A 1\n\t\tTNT1 A 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tFire5: //omfg ugly hacks aaaaaaaaaaaaaaa\n\t\tSRDG A 0 A_JumpIfInventory (\"swordrage\",30,\"ragefire5\")\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"sword/attack\")\n\t\tSRDG H 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG HHH 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG IJ 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG JJJJ 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG KLM 1\n\t\tTNT1 A 1\n\t\tTNT1 AA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tragefire5:\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"sword/powerattack\")\n\t\tSRDG H 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG HHH 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96) TNT1 A 0 A_firecustommissile (\"swordwave\")\n\t\tSRDG IJ 1 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG JJJJ 0 A_CustomPunch(((250 - health)/15),1,0,\"BladePuff1\",96)\n\t\tSRDG KLM 1\n\t\tTNT1 A 1\n\t\tTNT1 AA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\tFire6:\n\t\tSRDG A 0 A_JumpIfInventory (\"swordrage\",30,\"ragefire\")\n\t\tSRDG A 0 A_takeinventory (\"swordrage\",999)\n\t\tSRDG B 1\n\t\tSRDG C 1\n\t\tTNT1 A 4\n\t\tSRDG DE 1\n\t\tSRDG F 1 A_PlaySound(\"sword/attack\")\n\t\tSRDG GH 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG H 0 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG IJ 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG JJ 0 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tSRDG KLM 1 A_CustomPunch(10,1,0,\"BladePuff1\",96)\n\t\tTNT1 AAAA 1\n\t\tTNT1 AAAA 1 A_WeaponReady\n\t\tSRDG C 1\n\t\tSRDG B 1\n\t\tGoto ready\n\n\tAltfire:\n\t\tRIPT FABCD 2\n\t\tTNT1 A 0 A_PlaySound(\"Weapons/grapplegloveshoot\", \"weapon\")\n\t\tRIPT E 1 A_FireCustomMissile(\"grapplerglove\")\n\t\tRIPT E 2 A_FireCustomMissile(\"grappler\")\n\t\tRIPT EDCBAF 2 A_WeaponReady (WRF_NOSECONDARY)\n\t\tGoto Ready\n\n\tSpawn:\n\t\tSRDI A -1\n\t\tstop\n\t}\n}\n\nActor grapplerglove : LoreShot\n{\n\thealth 80\n\tRadius 18\n\tHeight 10\n\tSpeed 50\n\tDamage (1) //Won't pull at zero damage.\n\tProjectile\n\t-NoBlockMap\n\t+Shootable\n\t-Reflective\n\t+FORCEPAIN\n\t+NoBlood\n\t+NoIceDeath\n\t+DontGib\n\tRenderStyle Normal\n\tseesound \"grappler/shoot\"\n\tStates\n\t{\n\tSpawn:\n\t\tTNT1 A -1 //Stops melee attack from touching projectile on creation.\n\t\tTNT1 A 0 A_ChangeFlag(\"Shootable\", 1)\n\t\tloop\n\tDeath:\n\t\tTNT1 A 0 A_ChangeFlag(\"Shootable\", 0) //Stops reflection during death animation.\n\t\tTNT1 A 2\n\t\tStop\n\t}\n}\n\nactor grappler : fastprojectile\n{\n\t+NOINTERACTION\n\tradius 4\n\theight 4\n +FORCEXYBILLBOARD\n\t+LOOKALLAROUND\n\tmissiletype \"grapplechain\"\n\tmissileheight 8\n\tspeed 50\n\tseesound \"grappler/chain\"\n\tstates\n\t{\n\tSpawn:\n\t\tLINK A -1\n\t\tstop\n\t}\n}\n\nactor grapplechain\n{\n\t+NOINTERACTION\n +FORCEXYBILLBOARD\n\t+LOOKALLAROUND\n\tradius 4\n\theight 4\n\tstates\n\t{\n\tSpawn:\n\t\tLINK A 8\n\t\tstop\n\t}\n}\n\nACTOR BladePuff1\n{\nDamagetype normal\n Radius 0\n Height 1\n PROJECTILE\n RENDERSTYLE Translucent\n ALPHA 0.90\n +PUFFGETSOWNER\n +LOOKALLAROUND\n +EXTREMEDEATH\n +FORCEXYBILLBOARD\n scale 0.75\n States\n {\n Spawn:\n VFX2 A 0\n VFX2 A 1 A_PlaySound(\"weapons/vblhit\")\n VFX2 A 2\n VFX2 BCD 3\n Stop\n Crash:\n VFX2 A 0\n VFX2 A 3 A_PlaySound(\"weapons/vblwal\")\n VFX2 BCD 3\n Stop\n }\n}\n\nactor swordwave\n{\n\tprojectile\n\t+ripper\n\t+painless\n\tRadius 12\n\theight 12\n\tscale 1\n\tspeed 30\n\tdamage 3\n\tstates\n\t{\n\tspawn:\n\tSWAV AAAAAAA 1\n\n\tdeath:\n\tSWAV A 1\n\tstop\n\t}\n}\n\nACTOR PowerBrave : PowerProtection\n{\n\tDamageFactor Normal, 0.75\n}\n\nactor swordrage : ammo\n{\n\tinventory.amount 0\n\tinventory.maxamount 30\n\tammo.backpackamount 0\n\tammo.BackpackMaxAmount 30\n\tInventory.Icon \"SRDIA0\"\n\tstates\n\t{\n\tspawn:\n\t SRDI A -1\n\t stop\n\t }\n}"
},
{
"source": "pk3",
"name": "Actors/RubyWand.txt",
"contents": "ACTOR RubyWand : weapon\n{\n -BLOODSPLATTER\n Weapon.SelectionOrder 2000\n Inventory.PickupMessage \"You got the Ruby Wand you dropped, butterfingers.\"\n +NOAUTOAIM\n +noautofire\n Weapon.YAdjust 0\n\n States\n {\n Spawn:\n RWND K -1\n Stop\n Ready:\n\tRWND G 0 A_takeinventory (\"swirlcharge\", 999)\n\tRWND G 8 A_WeaponReady TNT1 A 0 A_giveinventory (\"redmana\", 1)\n Loop\n Deselect:\n RWND G 1 A_Lower\n TNT1 A 0 A_takeinventory (\"swirlcharge\", 999)\n\tLoop\n Select:\n RWND G 1 A_Raise\n TNT1 A 0 A_takeinventory (\"swirlcharge\", 999)\n\tLoop\n fire:\n RWND H 0\n RWND I 1 a_firecustommissile(\"wandorb\") TNT1 A 0 a_playsound (\"wand/shot2\",0)\n RWND I 1 a_weaponready(wrf_nobob|wrf_noswitch|wrf_nosecondary)\n RWND J 3 a_weaponready(wrf_nobob|wrf_noswitch|wrf_nosecondary)\n RWND J 0\n RWND J 1 a_refire\n goto ready\n\n AltFire:\n RWND G 0\n RWND G 0 A_JumpIfInventory(\"swirlcharge\",19,\"wandCharged1\")\n\tRWND G 0 A_JumpIfInventory(\"swirlcharge\",18,\"wandCharged\")\n\tRWND G 0 a_giveinventory (\"swirlcharge\", 1)\n\tRWND G 1\n\tRWND G 0 a_refire\n Waveshot:\n \tRWND B 0 BRIGHT a_takeinventory (\"swirlcharge\",999)\n\tRWND B 3 BRIGHT A_PlaySound(\"Wand/wave\",0)\n RWND B 0 A_FireCustomMissile (\"ForceWave\")\n RWND C 4 BRIGHT\n RWND D 4 BRIGHT\n RWND E 4 BRIGHT A_weaponready (wrf_nosecondary)\n TNT1 A 8 A_weaponready (wrf_nosecondary)\n RWND F 4 A_weaponready (wrf_nosecondary)\n\tRWND F 0 a_refire\n\tgoto ready\n Wandcharged:\n\tTNT1 A 0 a_playsound (\"wand/charge\",0)\n\tRWND A 2 a_giveinventory (\"swirlcharge\", 1)\n\tRWND B 3 BRIGHT A_giveinventory (\"redmana\", 1)\n\tRWND B 3\n Wandcharged1:\n\tRWND B 4 BRIGHT A_giveinventory (\"redmana\", 3)\n\tRWND B 4\n\tRWND B 0 a_refire\n Swirlshot:\n RWND B 1 BRIGHT a_takeinventory (\"swirlcharge\", 999)\n\tRWND B 2 BRIGHT a_playsound (\"wand/shot\")\n RWND B 0 A_FireCustomMissile (\"wandswirl\")\n RWND C 3 BRIGHT\n RWND D 3 BRIGHT\n RWND E 3 BRIGHT\n TNT1 A 5\n RWND F 8 A_weaponready\n\tRWND F 8 a_refire\n\tgoto ready\n }\n}\n\nactor wandswirl\n{\n\tprojectile\n\t+ripper\n\t+doombounce\n\tradius 13\n\tspeed 20\n\tdamage 2\n XScale 2\n YScale 1\n\talpha 0.95\n\tstates\n\t{\n\tSpawn:\n\tWPRJ ABCDABCD 1 bright A_RadiusThrust(-400,200,0)\n\tWPRJ ABCDABCD 2 bright A_scalevelocity (0.75) TNT1 A 0 A_RadiusThrust(-500,300,0)\n\tWPRJ ABCDABCD 3 bright A_scalevelocity (0.50) TNT1 A 0 A_RadiusThrust(-500,300,0)\n\tWPRJ ABCDABCD 4 bright A_RadiusThrust(-450,300,0)\n\tgoto death\n\tdeath:\n\tSPRK ABCD 2\n\tstop\n\t}\n}\n\nactor wandorb\n{\n\tprojectile\n +FORCEXYBILLBOARD\n\t+LOOKALLAROUND\n\tradius 4\n\tspeed 35\n\tdamage 3\n Scale 1\n\talpha 0.95\n\tstates\n\t{\n\tSpawn:\n\tWBAL A 25 bright\n\tgoto death\n\tdeath:\n\tSPRK ABCD 2 A_scalevelocity (0)\n\tstop\n\txdeath:\n\tTNT1 A 0 A_giveinventory (\"redmana\", 3, AAPTR_TARGET)\n\tSPRK ABCD 3\n\tstop\n\t}\n}\n\nactor forcewave\n{\n\tprojectile\n\t-noblockmap\n\t+reflective\n\t+shootable\n\t+noblood\n\t+hexenbounce\n\t+ripper\n\tprojectilekickback 50000\n\tRadius 12\n\theight 12\n\tXscale 3\n\tyscale 1\n\tspeed 20\n\tdamage 1\n\tstates\n\t{\n\tspawn:\n\tRWAV AAAAAAAA 1 A_RadiusThrust(500,128,0)\n\n\tdeath:\n\tRWAV A 1\n\tstop\n\t}\n}\n\nactor swirlcharge : inventory\n{ inventory.maxamount 30 }"
},
{
"source": "pk3",
"name": "Actors/spikestaff.txt",
"contents": "Actor Spikestaff : Weapon\n{\n weapon.ammotype1 \"redmana\"\n weapon.ammotype2 \"redmana\"\n weapon.ammouse1 1\n weapon.ammouse2 40\n Weapon.SelectionOrder 2000\n +NOAUTOAIM\n +WEAPON.ALT_AMMO_OPTIONAL\n States\n {\n Spawn:\n RWND K -1\n stop\n Select:\n STAF A 1 A_Raise\n Loop\n Deselect:\n STAF A 1 A_Lower\n Loop\n Ready:\n STAF A 1 A_WeaponReady\n Loop\n Fire:\n\tSTAF AB 3\n Hold:\n\tSTAF B 2\n\tTNT1 A 0 a_playsound (\"staff/lilshoot\")\n\tSTAF C 2 a_firecustommissile (\"spikeball\")\n\tSTAF B 1 A_refire\n Fireend:\n\tSTAF CBA 5\n\tgoto ready\n Altfire:\n STAF A 0 a_jumpifnoammo (\"discharge\")\n STAF A 3 a_playsound (\"staff/charge\")\n STAF B 8\n STAF C 5 BRIGHT\n TNT1 A 0 a_playsound (\"staff/bigshoot\")\n TNT1 A 0 a_recoil (10)\n STAF D 10 BRIGHT a_firecustommissile (\"bigspikeball\")\n STAF C 2 BRIGHT\n STAF B 1 BRIGHT\n STAF A 1\n goto ready\n discharge:\n STAF A 15 a_playsound (\"staff/discharge\")\n STAF B 4 BRIGHT\n STAF B 3\n STAF B 3 BRIGHT\n STAF B 3\n STAF A 20\n goto ready\n }\n}\n\nactor spikeball\n{\n projectile\n +doombounce\n -nogravity\n +FORCEXYBILLBOARD\n +LOOKALLAROUND\n seesound \"staff/lilclang\"\n Gravity 0.20\n BounceCount 8\n BounceFactor 0.80\n Radius 14\n scale 0.60\n Damage 4\n Speed 20\n states\n {\n spawn:\n SPRJ ABCD 2\n Loop\n death:\n SPRJ A 1\n stop\n xdeath:\n TNT1 A 0 A_GiveInventory(\"Health\", 2, AAPTR_TARGET)\n SPRK ABCD 3\n stop\n }\n}\n\nactor bigspikeball\n{\n projectile\n +ripper\n +shootable\n +noblood\n +reflective\n +hexenbounce\n +FORCEXYBILLBOARD\n +LOOKALLAROUND\n -nogravity\n Gravity 0.20\n seesound \"staff/bigclang\"\n bouncecount 8\n BounceFactor 0.60\n mass 500\n Radius 16\n height 24\n scale 3\n Damage 40\n Speed 20\n projectilekickback 80000\n states\n {\n spawn:\n SPRJ ABCDABCDABCDABCD 10\n Loop\n death:\n SPRK ABCD 3\n stop\n }\n}\n\nactor redmana : ammo\n{\n\tinventory.amount 10\n\tinventory.maxamount 200\n\tammo.backpackamount 50\n\tammo.BackpackMaxAmount 400\n\tInventory.Icon \"RWNDK0\"\n\tstates\n\t{\n\tspawn:\n\t RWND K -1\n\t stop\n\t }\n}"
}
]
},
"maps": []
}