Raised This Month: $ Target: $400
 0% 

Nightwar


Post New Thread Reply   
 
Thread Tools Display Modes
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
Tramp
Senior Member
Join Date: Aug 2005
Old 03-16-2008 , 10:47   Re: Nightwar
Reply With Quote #2

Hmmm i think (sorry) this plugin will be boring, due to Hide and Seek mods
which have the same functions and are more involving.


- Flashlight color (game: guess the color )
- CT are seeking
- T are hidden in dark map
etc. etc.

You could think about writing official H 'n' S plugin
I can give you code, there you can test it ;) 91.102.113.230:27021
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.
Tramp is offline
Texnux
Member
Join Date: Mar 2008
Location: Denmark
Old 03-16-2008 , 11:34   Re: Nightwar
Reply With Quote #3

Quote:
Originally Posted by Tramp View Post
Hmmm i think (sorry) this plugin will be boring, due to Hide and Seek mods
which have the same functions and are more involving.

- Flashlight color (game: guess the color )
- CT are seeking
- T are hidden in dark map
etc. etc.
Hmm, my plugin, nightwar, isn't meant to be like H 'n' S plugin, thought that is a good plugin! Nightwar is still in the first stage. Don't know if you read the "to do list", but nightwar is going to have 5 modes: Standard, Fun, Crazy, Confusing, Own. These modes will be including the things on the "to do list". Want a better explanation of them? Please tell then

Quote:
Originally Posted by Tramp View Post
You could think about writing official H 'n' S plugin
Before I will consider to script with/for others, I want some more experiences, as there is alot more for me to learn.

Quote:
Originally Posted by Tramp View Post
I can give you code, there you can test it ;) 91.102.113.230:27021
What code are you talking about? H 'n' S?
Texnux is offline
Reply


Thread Tools
Display Modes

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