Raised This Month: $ Target: $400
 0% 

Nightwar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Texnux
Member
Join Date: Mar 2008
Location: Denmark
Old 03-16-2008 , 10:28   Nightwar
Reply With Quote #1

Nightwar v. 1.0.0

My First plugin released.
I will appreciate any tips and constructive criticism as i want to be even better.

Information
I'm making this plugin while i learn pawn/small, so there will properly be alot of updates. But the reason i'm making it is because some friends of mine and i play cz some times privatly. One of my friends asked me why i didn't publish it since it was so cool and would be so more when it is done.
So here you go pal!

Documentation
This plugin allows admins to turn on/off for nightwar. Nightwar changes the light settings to dark (can be changed or defined). Players now have´to find eachother in darkness! Admins can restrict the use of nightvision and flashlights to make it even harder to find eachothers!

Help
Later i will need translation of this plugin, so if you want to translate it to your language, please do it and upload it. You will be credited for translation.

For now leave the language file be - it is still needed though!

Commands
Both commands require - ADMIN_RCON - level to use. - Will properly be changed.
Amx_nightwar - 1/0 = on/off
Amx_nw_setlight - setlights: 0 (Dark) to 26 (ExtraLight) - can be used at all time

Cvars
nw_defaultlight13 (default = 13) - 1/26 - dark/light sets the start light setting (when nightwar is turned off).
nw_defaultsky120 (default = 120) - 0/250 - dark/light sets the start light setting of sky (when nightwar is turned off).
nw_startlight (default = 2) - 1/26 - dark/light sets the start light setting (when nightwar is turned on).
nw_startsky10 (default = 10) - 0/250 - dark/light sets the start light setting of sky (when nightwar is turned on).
nw_flashlight (default = 1) - 1/0 - Allows/denies the use of flashlight.
nw_nightvision (default = 1) - 1/0 - Allows/denies the use of nightvision.

Installation instructions
The nightwar.amxx file was compiled with the amxx version 1.8 compiler.
Step 1. Extract the nightwar.zip file into your Condition-zero base directory (usually czero).
Step 2. Add the plugin in your amxmodx/configs/plugins.ini file
nightwar.amxx
Step 3. Restart map/server
Info: For amxmodx versions 1.75 or higher modules are automatically loaded, but these modules are required:
  • engine
  • fakemeta
To do list
Custom flashlights - normal/fun/crazy/team/other team
Smoke grenades without the smoke and lights up things for a second
Grenade trail - none/team/other team/random/specific
Flashbang color - normal/team/other team/random/specific
Menu to change settings of nightwar
Help box to know settings and more
Something you throw that lights up area for some time (forgot its name)
Glow - none/team/other team/random/specific + timer 5 secs. glow then 5 without ect.
Player trail - none/team/other team/random/specific
Different modes to play nightwar in - standard/fun/crazy/specific
Nightvision - normal/team/random/specific
Config file
More language
Simplify/Organise/clean code up
Blinding flashlgiht?
Voting

Got some ideas? Please post them!

Credits
Styles - Buy flashlight - To block the use of flashlight
DanRaZor - Day light - To change light settings
AssKicR - NVG Mode - To block the use of nightvision

ChangeLog
v1.0.0 - 03/16/08 - Released to the public
Attached Files
File Type: sma Get Plugin or Get Source (Nightwar.sma - 1015 views - 16.6 KB)
File Type: zip Nightwar.zip (16.1 KB, 211 views)
Texnux is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode