Author Topic: (BYZMODZ) Buyable Wall Weapons  (Read 144 times)

Bobby Z

  • Administrator
  • Newbie
  • *****
  • Posts: 24
    • View Profile
(BYZMODZ) Buyable Wall Weapons
« on: December 30, 2016, 03:12:29 pm »
BYZMODZ

Buyable Wall Weapons

Description:

                     Buyable wall weapons designed to work much like cod zombies.



STEP 1:

   Copy all folders from the archive you just extracted,
   to (Game-Guru/files/).

STEP 2:

   NOTE: For instructional purposes i will be instructing
   to add uzi , however you can do as many guns as you want
   by following same process with them.

   Open Game-Guru start by adding chalk
   for the wall weapon your currently adding,
   put it where you want wall weapon to be.

STEP 3:

   Now add the weapon entity that corresponds
   with chalk you placed.For instance im doing uzi
   in this instructional so chalk entity i placed was uzi
   and now im placing gun entity of uzi,
   anyways open properties for the entity
   and adjust the following properties:

   main = byzmodz/byzmodz_buyable_wall_weapons.lua
   alwaysactive = yes
   
   Now place gun entity half way in the wall
   where its chalk is and place inside of the chalk,
   size chalk to it if need be, then select gun entity
   and move into wall just enough so you cant see it
   but be sure to keep other axis positions the same,
   so when player buys gun it pops out of wall halfway
   inside chalk outline still.

STEP 4:

   Now my currencies system is required, it can be found here: http://byzmodz.createaforum.com/scripts/(byzmodz)-currencies-system/

& That's it, please read important notes below,
as they will come in handy to know.

IMPORTANT NOTES:

- Included in this download is the weapon chalk outline entity
for the uzi, so for other wall weapons you will need chalk outline.
(Instructions to make chalk outline for weapons is below)

- I have bought every gun and most of the melee weapons
  on game-guru store, so code has support for alot of weapons
  if you want support added for a weapon that is not from
  game-guru store or one of the couple melee weapons
  i did not add support for, email me or add me on
  steam or skype and i will add support right away.

- If you find any bugs or its not working how it is suppose to,
  please email me or add me to steam or skype,
  so i can fix it as soon as possible.

- To change weapon and ammo costs,
  go into wall weapon code and look for the following:

   function byz_wpn_and_ammo_cost_values(e)

  Values for costs can be changed in that function,
  however do not touch the 0 + part just the cost values.

- Included is a code to play wall weapon fx should you want to.
  To do so , add fx you wanna use, give them the following properties:

   main = byzmodz/byzmodz_buyable_wall_weapons_fx.lua
   isimmobile = yes
   static mode = no
   alwaysactive = yes
   
  If you want the fx your using to rotate to player then also add this property
   
   name = rotate

- Although this doesn't include my tokens system or my bank system,
  leave the .saves files in your scriptbank, the currencies system
  needs them their even when they are not in use.

- Finally check editable settings sections in both currencies
  and wall weapon scripts to make sure the settings are how you want them
  for instance by default the player money is set to not save(like in cod),
  that can be changed very easily should you want to.

  For more codes and early/unreleased codes,
  models , and anims, or if yoou have a code requests/need help
  add me on steam or skype:

   STEAM NAME: SCR1PTZ
    SKYPE NAME: Bobby Z Begin
   
CREATING CHALK OUTLINES:


STEP 1:

   Use the uzi chalk included as a template, open the following files from
   folder:

      entitybank/byzmodz/DECALS/weapon_chalks/

   Then copy & paste the following files in the same folder:

      - uzi_wpn_chalk.bmp
      - uzi_wpn_chalk.fpe
      - uzi_wpn_chalk_D.dds

   Then rename the word "uzi" in the copied file
   names to weapon name your making chalk for.
   
STEP 2:
   
   Now open .fpe you just renamed
        and again change the word "uzi" to
   the weapon name you used in file name.

   Close & save.

STEP 3:

   Now open the .dds you just renamed,
   erase image completely & minimize paint.net
        or whatever dds suppotive image software your using.

   Now add you weapon your making chalk outline for
   to a new level and take a screen shot from the side view
   using printscreen button on your keyboard,

   Open paint.net or whatever dds suppotive image software
   your using click file-new , then click ok
        and then press ctrl + v to paste screenshot ,
   Using eraser tool and or magic wand tool erase background
   of screenshot so its just the gun.
       (it doesnt have to be perfect, you understand why soon)

   Now pick the paint brush tool, select the tone of white
        and size you want to use for chalk then draw outline
        around weapon, after that using eraser tool and or
        magic wand tool, erase the gun , so your left with just outline

   Now copy outline and paste in .dds that`s been erased and minimized.

   Save and close.

And that`s one more chalk outline done.

All that being said,
thank you for using my codes, please credit me, & Happy Developing!
« Last Edit: December 31, 2016, 01:35:54 am by Bobby Z »

Share on Facebook Share on Twitter