Skip to content

Articles

NEXT21 articles on coding (AMX Mod X), modeling and mapping.

MappingViews:22

Switchable (Emergency) Lighting

To implement switchable lighting we will need: light_surface (2 pcs.) trigger_changetarget (2 pcs.) env_render (2 pcs.) multi_manager (3 pcs.) trigger_auto (1 pc.) func_door (1 pc.) func_rot_button (1 pc.) func_wall (1 pc.) func_detail (1 pc.) Note: In this method, for the emergency lighting…

MappingViews:30

[mapping] Rotating Beams

Thanks to npocTo_LaM for this method ;) An example of these beams in use can be seen on the map 35hp_party_2 To create rotating beams we will need Env_beam (16 pcs.) Func_train (16 pcs.) Info_target (1 pc.) Path_corner (16 pcs.) Multi_manager (2 pcs.) Trigger_auto (1 pc.) How it works The beams…

ModelingViews:20

Making Your Own Counter Sprite with Blender 3D

Hi. Not long ago I was asked to make a lifebar sprite (a health bar) for a young CS server. Unlike ours, this one had to be a digital lifebar covering 200 health points. Remember the old Worms games, where each worm's state was displayed above its…

CodingViews:16

Function Signatures

Copy-paster's note: this article is here because it supplements the articles on the Orpheu module. Contents: I. Basics II. Creating a function signature pattern Appendix A. Finding the function you need I. Basics Do you know what the code of a C++ or assembly program turns into after…

MappingViews:20

Adding Physics Effects in VHE

I'll describe the method briefly. We import our map into Blender, generate an animation with the Bullet physics engine, compile the model and add it back to the map as an entity. We won't use BMOD, or AMXX at all for that matter. You could of course use 3D Max, but Blender is free and…

CodingViews:27

Orpheu Module (v2.5.1)

The Orpheu module lets a scripter use functions that would be impossible to use without it (including functions from other MetaMod plugins). The module works on both Windows and Linux. Starting with version 2.1 (January 29, 2010), Orpheu also supports direct memory access…

CodingViews:16

Orpheu: Finding Functions in Libraries

A library is a set of bytes. Millions of bytes. They can represent numbers, functions (in machine code), arrays and strings. This article will try to explain how to find functions in libraries and how to use them. Finding a function means determining its location in the library, which is usually…

CodingViews:14

Dynamic States (state)

I stumbled upon an old article by accident, but decided it still deserves attention. Translation and editing: DJ_WEST This article will help you work with states (state) in plugins. States can improve a plugin's performance, for example in situations where a function call needs to be made only once, or if you need to enable/disable forwards for certain events…

CodingViews:16

How to Make a Menu with 10+ Items

Would you like to put more than 10 items in a menu on one page, with the ability to pick an item without binding any extra keys? We will create a menu with 9 items, which we add with menu_additem, and the remaining items with menu_addtext. To catch a press of item 10+ we will create a delay of…