AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Heroes (https://forums.alliedmods.net/forumdisplay.php?f=51)
-   -   Master Chief (https://forums.alliedmods.net/showthread.php?t=32034)

vittu 12-20-2004 08:31

Master Chief
 
6 Attachment(s)
Master Chief v1.6

Description
SPARTAN project - Become Master Chief - get a MJOLNIR battlesuit and MA5B Assault Rifle (P90), which does more damage.

http://www.thekingpin.net/adminspace...asterchief.jpg

http://halo.ogresnet.com/html/halo/characters.php

shconfig.cfg CVARS
Code:

//Master Chief
masterchief_level 0
masterchief_health 100                //Default 100 (no extra health)
masterchief_armor 150                //Default 150
masterchief_gravity 1.0                //Default 1.0 = no extra gravity (0.50 is 50% of normal gravity, ect.)
masterchief_speed -1                //Default -1 = no extra speed, this cvar is for all weapons (for faster then normal speed set to 261 or higher)
masterchief_p90mult 1.3                //Damage multiplyer for his P90
// Below Only used if PLAYER_MODEL define = 1
masterchief_teamglow 0                //Glow Team Color when player skin in use (0=no 1=yes)

**AMX Mod X 1.76d & up ONLY**
**Requires Fakemeta Module**

------
* Alternate Version with team colored models can be set with the define PLAYER_MODEL
* It requires the models in the optional files zip
* And almost doubles the precache ammount, not recommeded for servers with lots of model/sound heroes.
-----

Code:

// 0-no player model
// 1-green master chief model + glow cvar option [Default]
// 2-team colored master chief models t=red ct=blue (Note:Requires models from optional zip)
#define PLAYER_MODEL 1

// 0-continuous shooting, no reload [Default]
// 1-drop weapon and get a new one with full clip
// 4-normal cs, no reload mode
#define AMMO_MODE 0

// Comment out to not use the P90 model
#define USE_WPN_MODEL

// Comment out to not give a free P90
#define GIVE_WEAPON


Code:

*  Player and Weapon models by Strykerwolf (aka Alex Wright) & Grenappels

JcP^_^ 12-20-2004 11:14

have a probleme with skins :?
have dl a skins but
in games ,my players dont have a skins masterchiefs (players)
because i look a skins weapons but not a players skins

why? :roll:

Chivas2973 12-20-2004 11:55

I can't wait to see this, great job vittu

ok, I have to check it more later cause I am at work, but my admins are telling me it doesn't work on 9.8a, it shows running and is in list but does not use any models in game and the players say they don't get any gun

kanu | DarkPredator 12-20-2004 16:52

NICE JOB vittu!

I was working on this hero ever since seeing the hero idea, but you BEAT ME TO IT!!!!!!

nice job though, i was having trouble with the coding

did you use any heroes as a base for him or did you make from scratch?

i was trying to use antman but ran into some trouble i think from trying to cross versions os amx.

Spartan-117 12-20-2004 17:06

Thanx man :)

vittu 12-20-2004 17:09

Quote:

Originally Posted by JcP^_^
have a probleme with skins :?
have dl a skins but
in games ,my players dont have a skins masterchiefs (players)
because i look a skins weapons but not a players skins

why? :roll:

I have no idea what you just said... but I think you are saying you see the weapon models but not the player one...

Quote:

Originally Posted by Chivas2973
ok, I have to check it more later cause I am at work, but my admins are telling me it doesn't work on 9.8a, it shows running and is in list but does not use any models in game and the players say they don't get any gun

My test server is an amx 0.9.8a server with shmod 1.17.6 and it works fine...


Player model gets loaded right away no key use for it... But I think I know what the problem is "sh_loadimmediate", I use 0 on my test server. So I think I would have to set a delay for the skin to load up, which isn't that hard. Will fix this later. But the gun model should not have any problems...

Thanks for the feedback... (I did make a version that switches the model only when you have the p90 with skin out, but I don't think people wouldn't like that much).

Spartan-117 12-20-2004 17:45

yo wat happened to the kewl ma5b skin, i get the old upside down retarded one

Chivas2973 12-20-2004 17:48

hmm, I will have to check it out, I am not sure why my admins are having problems, I will look into it and let you know, I may even test it myself on my test server

thanks for getting back to me on it vittu, I will let you know if I figure it out

edit, well I figured out one part, lol, I switched back to 1.17.5 waiting for the cvar bug :cry: :cry:

anyone to make it work on 1.17.5?, if not, I will just wait or code the cvars into my heros and recompile(bypassing the shconfig)

vittu 12-20-2004 18:02

Quote:

Originally Posted by Spartan-117
yo wat happened to the kewl ma5b skin, i get the old upside down retarded one

It is the better skin, I just renamed it to what I first named the gun skins as... That means only for you or anyone that helped me test it on my test server, go into your .../models/shmod/ folder on the computer you play with. Delete all the ones in their named masterchief and redownload the models from the server, so you get the right ones...

Quote:

Originally Posted by Chivas2973
hmm, I will have to check it out, I am not sure why my admins are having problems, I will look into it and let you know, I may even test it myself on my test server

I'm sure that the problem with the player skin is its trying to load it too fast... I was planing on changing it anyway, but just wanted to get this out... I have no problems with the gun skin so I'm not sure about that...

Chivas if you want a 1.17.5 one PM me I'll send an sma over, only thing that needs to change is the damage event. Theres extra code for 1.17.6

Chivas2973 12-20-2004 18:04

I don't know if you saw my edit, but I have switched back to sh 1.17.5, so that may be it
sorry, anyway of making it work for 1.17.5?? :cry: :cry:


All times are GMT -4. The time now is 22:41.

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