NS masks, structures and impulses.
Masks:
i did a function that gives an alien carapace Code:
but in game he has max of 16 armor... insted of 30... and when i used silance i could still hear him :( but i saw the silance and carapace icon like i have them i have another problem.. when playing NS maps.. its like i get the upgrades and lose them right away... how can i fix that? Structures and Impulse: how can i use the command client_build( index, structure, type, impulse ) how do i get structure types to put in the structure argument and what is impulse? Can some1 please make a tutorial that explains how to use all the NS.inc commands and tells us about the NS Module...: Player Mask Constants Class Constants Weapon Constants Hive Trait Constants what everything's doing and how? thanks :) |
Re: NS masks, structures and impulses.
Ok np:
Player Mask Constants: The mask list can be found in ns_const.inc In classic the mask only work if there enought chamber,if you have MASK_CARAPACE and 1 chamber ,you have 16 armor,if you have 3 chamber you have 30 armor.if you have 0 chamber you lose the mask. The same as the other masks. the best is you test if he has really the mask: Code:
Class Constants: the classes also stand in ns_const.inc,the fist class CLASS_UNKNOWN has classid 0,CLASS_SKULK has classid 1,... You can read the clasnumber with Code:
Code:
Weapon Constants: You know ns_const.inc,same as the class,WEAPON_NONE = 0,WEAPON_CLAWS = 1,... To give someone a weapon use Code:
Code:
Hive Trait Constants: This mean which Hive have which chamber To find it out Code:
Quote:
index = id of player If type is 1, it's a Marine structure. If type is 2, it's an Alien structure. impulse = the impulse number,every building,command,.. have a number: Code:
You can get many many more infos and plugins on www.nsmod.org (the big NS Modder community) And the best and usefull sites ever :http://www.amxmodx.org/doc/ http://wiki.amxmodx.org/index.php/Main_Page |
Re: NS masks, structures and impulses.
thanks thats very usefull :) +karma
also i think u forgot the "structure" argument of the client_built function.. where do i get the names of the buildings? when i write my own stuff there i get compile error: Code:
Error: Function "client_built" is not implemented on line 67 |
Re: NS masks, structures and impulses.
I think yes for structure
here how to use it(untested) Code:
Amxx has no support for build a building.So it must create an ent. Code:
Buildingnames list:defensechamber,movementchamber,sensorych amber,offensechamber,team_hive team_command,team_armory,team_advarmory,team_ observatory,phasegate,team_turretfactory,team _advturretfactory,turret,siegeturret,team_pro tolab,team_armslab,team_infantryportal It give some more names,to find out which name it has use: Code:
|
| All times are GMT -4. The time now is 08:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.