Giter Club home page Giter Club logo

zmod's Introduction

zmod by Praetorian & Mac

Instructions

I) Place the zmod folder in your mods folder located in your game root folder

II) run following command: fs_game mods/zmod; map <MAP_NAME>

Map Names

  • mp_afghan: Afghan
  • mp_derail: Derail
  • mp_estate: Estate
  • mp_favela: Favela
  • mp_highrise: Highrise
  • mp_invasion: Invasion
  • mp_checkpoint: Karachi
  • mp_quarry: Quarry
  • mp_rundown: Rundown
  • mp_rust: Rust
  • mp_boneyard: Scrapyard
  • mp_nightshift: Skidrow
  • mp_subbase: Sub Base
  • mp_terminal: Terminal
  • mp_underpass: Underpass
  • mp_brecourt: Wasteland
  • mp_complex: Bailout
  • mp_crash: Crash
  • mp_compact: Salvage
  • mp_overgrown: Overgrown
  • mp_storm : Storm
  • mp_abandon Carnival
  • mp_fuel2: Fuel
  • mp_strike: Strike
  • mp_trailerpark: Trailer Park
  • mp_vacant: Vacant

structure of the mod

The main part of the mod is located in the file zmod\maps\mp\gametypes_rank.gsc

Editing the mod

To edit the mod open the *.gsc files with your preferred text editor.

adding shop items

I)

To add items to the shop initialize the item in the file zmod\maps\mp\gametypes_shop_menu.gsc with the function initShopItem(args) and place it in the resetZMenu() function.

The arguments of the initShopItem(args) function are the following:

  • name: the name of the item
  • cost: how much the item should cost
  • page: on which page the item should be displayed
  • pos: the position of the item on each page (0-2)
  • text1: the text which is displayed when the item is purchasable
  • text2: the text which is displayed when the item is not purchasable (e.g. when it's already bought)

Items additionally have the following attributes

  • in_use: an integer which represents the current "in use" status of the item (default: 0)
  • print_text: defines which text (either text1 or text2) should be displayed in the menu(values: "text1" or "text2")

II)

add logic what should happen if the item is bought to the function doZombieShopPageX

III)

add logic to function giveUpgrades() so the player gets his upgrades back on respawn

zmod's People

Contributors

mac4294967295 avatar praetorian-iw4x avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.