IPB


Welcome Guest ( Log In | Register )


Welcome to the nsMod Community Forum (formerly modNS) - please have a look around.
Its recommended that you create a member account so you can access all the features available to members.
Forum activity / posting rewards you with many privileges. Registration is free and only takes a few moments to complete.

> Read The Rules, Or DIE!

View the Rules for this Forum prior to posting here ... OR ELSE! Do not post requests, or ideas in here, or they will be removed, and so shall you.

During your visit you may notice missing attachments or broken links - please post them in the Bug Tracker.

23 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> MvM_allinone ( v2.1.5b ), The plugin you need to run MvM correctly
Rating 4 V
White Panther
post Jul 3 2005, 04:56 AM
Post #1


Senior Developer (Alias Karlos, AMXX Forums)
Group Icon

Group: Developers
Member No.: 665
Joined: 28-August 04

Posts: 1,222
Posts per day: 0.38
Topics Started: 40
Skin: CaliSkinV6.2.3

User's local time:
Jun 19 2013, 05:29 PM
From: Germany / Poland
Windows or Linux ?: Win



CODE
/*
* This plugin is allows you to run Marine vs Marine without any problems
* - Players and buildings are now Blue vs Red (new models)
* - MvM in classic
*
* Author:
* -> White Panther
*
* Credits:
* Sandstorm - rip from his ava for scoreboard fix
* CheesyPeteza - his Respawn System
* DarK_SouL - his fix of CheesyPeteza Respawn System and winning message change
* Zamma & White Panther - mvmmodels plugin
* mahnsawce - rip off from MvM Auto Glow plugin and his weld fix
* CorDorMick - testing
* -mE- - idea for code performance
* Depot - his assistance in getting bugs fixed
* OneEyed + theqizmo - helping with MvM crashes (back to old code) + speed performance
* 9 iI IN C IH G IL O C IK - his v_ color models
* #endgame - basic v_ model code
* ZODIAC + the RichNet NS Community - testing
*
* Usage:
* - say "/votemvm" -> to start a vote to play current map in MvM mode ( if config available )
* - amx_mvm_convert -> to change to this map and run it in MvM mode
* - amx_mvm_auto -> turns autoassign on or off
*
* Info:
* - Converter config files are expected to be in amxmodx/configs/mvm_configs/
* - each file must be named <Map-Name>.cfg ( without .bsp )
*/

#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fakemeta>
#include <ns>


History:
CODE
* v2.1.5b: (30.04.2009)
* - fixed:
* - armor upgrade was not properly given to red team
*
* v2.1.5:
* - fixed:
* - winning message on some maps incorrect
*
* v2.1.4:
* - fixed:
* - if "TIE_WIN_BY_SCORE" was enabled, winning by destroying enemy CC was ignored
*
* v2.1.3:
* - fixed:
* - joining teams now gives a correct message "XXX has joined the YYY"
* - "client_impulse" not checked on combat maps
* - removed unneeded code
* - added:
* - define to determine winner by score in case of a tie
* - changed:
* - if both CC's are alive there is a tie
*
* v2.1.2:
* - fixed:
* - blue team accidently got involved into checks ( classic maps )
*
* v2.1.1:
* - fixed:
* - structures could get wrong model after upgrade complete
* - second marine team would not get upgrades
* - icons for placed structures/drop items are now shown ( except mines )
*
* v2.1.0b:
* - fixed:
* - bug in mvm config parsing
*
* v2.1.0:
* - fixed:
* - player could get wrong model on round start
* - improved classic support:
* - electrified Structures have correct color
* - correct elec spark color
* - commander gets notified when upgrades have finished
* - added:
* - Converter to change MvA to MvM on the fly ( map restart needed )
* - support for colored view models
* - Helper support
* - team names can be changed via defines
* - changed:
* - NS 3.2 merge
*
* v2.0.3:
* - added:
* - support for classic MvM ( ns_mvm_ maps )
* - changed:
* - entity_get/set_xxx replaced with pev/set_pev ( performance )
* - minor code tweaks
*
* v1.7.3:
* - fixed:
* - compatibility with hybrid maps
* - changed:
* - new MvM map detection results in much smaller code
*
* v1.7.1:
* - fixed:
* - minor runtime error
*
* v1.7:
* - fixed:
* - NS 3.1 support
* - changed:
* - removed about 50% of code due to NS 3.1
*
* v1.6.5:
* - fixed:
* - client_spawn blocked other plugins to call that function (thx KCE)
*
* v1.6.4:
* - fixed:
* - minor runtime error (very rare and not harmful )
* - changed:
* - server_frame is hooked with ent and support other plugins that uses the same system (speed improvement thx OneEyed)
*
* v1.6.3:
* - fixed:
* - problem where red team did not spawn ( accidently stopped an inportant timer, sry )
*
* v1.6.2:
* - fixed:
* - possible bug where blue could not see red teams normal chat (dont think it has ever happened but bug was there)
* - changed:
* - minor speed improvement
* - code improvements
*
* v1.6:
* - fixed:
* - all crash bugs
* - changed:
* - reversed to 1.2.3 method ( thx "OneEyed" and "theqizmo" )
* - code improvements
*
* v1.5.4:
* - fixed:
* - horrible bug where cc was removed on all non MvM maps ( sry )
*
* v1.5.3:
* - fixed:
* - another crash on bad made maps ( 2nd cc was not set to 3 but to 2 )
* - possible bug where cc could be switched
* - changed:
* - removed unneeded code
*
* v1.5:
* - fixed:
* - crash bug on maps (now seems to be completely fixed)
* ( PS: switching team bases has been removed )
*
* v1.4:
* - fixed:
* - crash bug on maps (notice that on some maps team bases have been switched,
* this is a crash prevention due to bad maps)
* - changed:
* - check for precaching models
*
* v1.3.3:
* - fixed:
* - crash on some maps
* - changed:
* - code cleaning
*
* v1.3.2b:
* - fixed:
* - dublicated red CC (during initialization and ingame)
* - runtime error
* - changed:
* - moved from pev/set_pev to entity_get/entity_set
*
* v1.3:
* - fixed:
* - again another default model bug ((IMG:style_emoticons/default/tongue.gif) )
* - red CC has now correct animation
* - changed:
* - code improvements
*
* v1.2.9c:
* - fixed:
* - bug where red teams scoreboard was green while players where reinforcing
* - players could have default (green) model until they died or got JP/HA
* - red players could spectate through eyes of blue players when dead
* - another default model bug
* - changed the way of getting command chairs and armorys to improve speed (thx -mE-)
* - added:
* - respawn display added
* - changed:
* - the new temp command chair (red team) will get all pevs from the original copied
* - the way of getting the players team (not pev anymore)
* - code improvements (+)
*
* v1.2.3:
* - fixed:
* - possible error
* - error with unknown players
* - plugin was not running on maps where CC was on team 2 instead of 3
* - added:
* - ability to autoassign players (default off) (amx_mvm_auto 1/0)
* - changes:
* - moved from ns2amx to engine + fakemeta + ns
*
* v1.1.3:
* - fixed prob where models were precached on all combat maps instead of only on mvm combat (mahnsawce)
* - fixed bug where players respawned and model has not been changed
* - error with unknown players should be fixed
*
* v1.0:
* - initial release
*


The colored models necessary for this plugins' operation may be downloaded below (these models are MvM 2.0.3 or better only, the old models will not work).
(You can find those models in the post below OR click HERE)


The models necessary for operation with v1.7.3 and older may be downloaded here.

Converter:
Those files are examples of MvM Converter configs

-> 3 for classic ( ns_eclipse, ns_hera, ns_veil )
-> 1 for combat ( co_angst ) ( this one was made for testing, only one spawnpoint per team )

Extract to:
"SteamApps/<account>/half-life/ns/amxmodx/"

previous downloads: 740

This post has been edited by White Panther: Apr 30 2009, 01:11 AM
Attached File(s)
Attached File  mvm_configs.rar ( 1.08K ) Number of downloads:  592
Attached File  mvm_allinone.sma ( 42.97K ) Number of downloads:  177
 
Go to the top of the page
PM  
+Quote Post
White Panther
post Jul 3 2005, 07:14 AM
Post #2


Senior Developer (Alias Karlos, AMXX Forums)
Group Icon

Group: Developers
Member No.: 665
Joined: 28-August 04

Posts: 1,222
Posts per day: 0.38
Topics Started: 40
Skin: CaliSkinV6.2.3

User's local time:
Jun 19 2013, 05:29 PM
From: Germany / Poland
Windows or Linux ?: Win



MvM Models

"mvm_models_basic.rar" is needed, just extract it into "SteamApps\<account>\half-life\ns\"

"mvm_models_ns_buildings.rar" is only needed if you want to play MvM on NS, just extract it into "SteamApps\<account>\half-life\ns\"

"mvm_v_models.rar" (models by "9 iI IN C IH G IL O C IK") is only needed if you want to play MvM with correct view models ( eg: your own hand with a GL ), just extract it into "SteamApps\<account>\half-life\ns\"
You will need to edit sma to enable those new v_ mdoels

This post has been edited by Depot: Mar 14 2007, 02:24 AM
Attached File(s)
Attached File  mvm_models_basic.rar ( 1.56MB ) Number of downloads:  1030
Attached File  mvm_models_ns_buildings.rar ( 1.51MB ) Number of downloads:  963
Attached File  mvm_v_models.rar ( 2.13MB ) Number of downloads:  438
 
Go to the top of the page
PM  
+Quote Post
White Panther
post Jul 3 2005, 10:48 AM
Post #3


Senior Developer (Alias Karlos, AMXX Forums)
Group Icon

Group: Developers
Member No.: 665
Joined: 28-August 04

Posts: 1,222
Posts per day: 0.38
Topics Started: 40
Skin: CaliSkinV6.2.3

User's local time:
Jun 19 2013, 05:29 PM
From: Germany / Poland
Windows or Linux ?: Win



Update v1.5.4:

fixed:
- horrible bug where cc was removed on all non MvM maps ( sry )



Plz everyone who downloaded 1.5.3 REDOWNLOAD
or this plugin will bug every non MvM map
if u have a version before 1.5.4 you schould redownload too cause this version fixes many crash bugs
Go to the top of the page
PM  
+Quote Post
Guest_depot_*
post Jul 3 2005, 11:00 AM
Post #4





Guests












Wow, I have an oldie but goodie: v1.3 (IMG:http://www.nsmod.org/forums/style_emoticons/default/ohmy.gif)
Go to the top of the page
 
+Quote Post
White Panther
post Jul 3 2005, 11:14 AM
Post #5


Senior Developer (Alias Karlos, AMXX Forums)
Group Icon

Group: Developers
Member No.: 665
Joined: 28-August 04

Posts: 1,222
Posts per day: 0.38
Topics Started: 40
Skin: CaliSkinV6.2.3

User's local time:
Jun 19 2013, 05:29 PM
From: Germany / Poland
Windows or Linux ?: Win



unfortunatelly 1.3 will not work on all maps
it will crash some
espacially those that are bad made
Go to the top of the page
PM  
+Quote Post
ZODIAC
post Jul 5 2005, 03:21 PM
Post #6


ServerOpPremium
Group Icon

Group: Admin
Member No.: 601
Joined: 30-July 04

Posts: 359
Posts per day: 0.11
Topics Started: 22
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 09:29 AM
From: Ventura, California
Windows or Linux ?: Lin



FYI

Get crashes on map co_dead_mvm1, appears to work fine on other maps, just upgraded from 1.2.9c to 1.5.4. 1.2.9c appeared to run flawlessly on all maps, 1.5.4 hoses on this map in particular.

AMXx 1.01
Metamod 1.17.4p23
NS 3.04F

Probably will revert back to 1.2.9c until there is a resolve.

Z
Go to the top of the page
PM  
+Quote Post
White Panther
post Jul 5 2005, 04:23 PM
Post #7


Senior Developer (Alias Karlos, AMXX Forums)
Group Icon

Group: Developers
Member No.: 665
Joined: 28-August 04

Posts: 1,222
Posts per day: 0.38
Topics Started: 40
Skin: CaliSkinV6.2.3

User's local time:
Jun 19 2013, 05:29 PM
From: Germany / Poland
Windows or Linux ?: Win



yes i noticed it
i will soon release new version
1.2.3 code implemented into 1.5.4

sry for such probs but i just found out what was/is the real reason for the crahes
Go to the top of the page
PM  
+Quote Post
White Panther
post Jul 6 2005, 11:06 PM
Post #8


Senior Developer (Alias Karlos, AMXX Forums)
Group Icon

Group: Developers
Member No.: 665
Joined: 28-August 04

Posts: 1,222
Posts per day: 0.38
Topics Started: 40
Skin: CaliSkinV6.2.3

User's local time:
Jun 19 2013, 05:29 PM
From: Germany / Poland
Windows or Linux ?: Win



Update 1.6:
fixed:
- all crash bugs

changed:
- reversed to 1.2.3 method ( thx "OneEyed" and "theqizmo" )
- code improvements


sry for all probs u had with this plug in the last time (IMG:http://www.nsmod.org/forums/style_emoticons/default/sad.gif)
Go to the top of the page
PM  
+Quote Post
semaja2
post Jul 11 2005, 01:26 AM
Post #9


Plugin Support
Group Icon

Group: Developers
Member No.: 1,531
Joined: 31-May 05

Posts: 70
Posts per day: 0.02
Topics Started: 15
Skin: CaliSkinV6.2.3

User's local time:
Jun 20 2013, 01:59 AM
Windows or Linux ?: Win



hey wheres a good place to get mvm maps
Go to the top of the page
PM  
+Quote Post
Gemmini
post Jul 11 2005, 03:19 AM
Post #10


Hatchling
Group Icon

Group: Inactive

Member No.: 1,338
Joined: 18-May 05

Posts: 21
Posts per day: 0.01
Topics Started: 0
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 09:29 AM



i got my maps by going onto an empty MvM server and doing votemaps to get the ones i wanted. It takes a while, but i couldnt find any hosted on sites, and theres the risk you may not download all the map files
Go to the top of the page
PM  
+Quote Post

23 Pages V   1 2 3 > » 
Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 19th June 2013 - 08:29 AM


subBlack shadows and light edition © 2007 - DreamCaster
Original subBlack phpbb2 style by spectre