ETMods.net

N!tmod, a Wolfenstein: Enemy Territory Modification!

You are not logged in.

Announcement

You can donate to help us keeping services online.

#1 04-Nov-16 01:49:23

mickade
Member
Registered: 05-Sep-16
Posts: 24

knives

Hi all currently running nitmod with enhmod runs sweet what i would like to know is you only get four knives for throwing is there any way to have like 50 knives for throwing...Thanks  Mick

Offline

#2 05-Nov-16 12:36:39

jay1110
BETA Tester
Registered: 01-Sep-12
Posts: 208
Website

Re: knives

there are more possible ways,

put this in your nitmod folder, this will give you 50 knifes

http://et.clan-etc.de/nitmod/zzz_50knifes.pk3




or this way, open the ModEnhConfig.xml and overwrite the following text in the box.

<?xml version="1.0" encoding="UTF-8"?>
<settings>
	
	<!-- configuration example
	
	- medics spawn with 18 adrenaline syringes
	- medics spawn with 18 revive syringes
	- all classes have 2 molotovs
	- axis and allies having 2 primary weapons(mp40+thomson)
	- axis engineer: 2 rifles
	- allies engineer: 2 rifles
  - axis covert op: 2 scoped weapons
	- allies covert op: 2 scoped weapons
	
	hints:
	be aware to make some xml based syntax errors. your config file will not accepted from the mod so ingame you notice only
	the standard predefined stettings from enemy territory.
	for validation tests, try to open with you favorite browser, errors should be displayed.
	-->
	
	<common>
		<multikilldetection>3</multikilldetection>	  	  <!-- -1 disabled / positive value in [s] detection interval between kills -->
		<modifieddoublejump>false</modifieddoublejump>	 	<!-- experimental modification of the doublejump physics -->
		<advancedplayerinfo>false</advancedplayerinfo>			<!-- shows additional client infos(version/ip) about each player on connection -->
		<disablesecurity>true</disablesecurity>					<!-- disable enhanced mod security features (minor version then jaymod 2.2.0 not recommended) -->
    <autopromotion>false</autopromotion>              <!-- enables the autopromotion system -->
  </common>

  <promotion xp="3000" level="2">											<!-- if players xp reached (between xp < actual player respawn xp < (xp + maxthreshold) ) do !setlevel level -->
    <maxthreshold>1000</maxthreshold>
  </promotion>
	
	<promotion xp="5000" level="3">
    <maxthreshold>1000</maxthreshold>
  </promotion>
  
<!--  
	possibile method attributes:
	add, remove, if
	
	possibile class attributes:
	soldier, medic, engineer, fieldop, covertop
	
	possibile team attributes:
	axis, allies
	
	possibile weapon attributes:
	
	WP_KNIFE
	WP_GRENADE_PINEAPPLE
	WP_MEDIC_ADRENALINE
	WP_MEDIC_SYRINGE
	WP_BINOCULARS
	
	WP_LUGER
	WP_AKIMBO_LUGER
	WP_SILENCER (axis silenced luger)
	WP_AKIMBO_SILENCEDLUGER
	
	
	WP_COLT
	WP_AKIMBO_COLT
	WP_SILENCED_COLT
	WP_AKIMBO_SILENCEDCOLT
	
	WP_MP40
	WP_THOMPSON
	
	WP_GRENADE_LAUNCHER
	WP_PANZERFAUST
	WP_FLAMETHROWER
	WP_MORTAR
	WP_MORTAR_SET
	WP_MAPMORTAR
	WP_MOBILE_MG42
	WP_MOBILE_MG42_SET
	
	WP_STEN
	
	WP_GARAND_SCOPE
	WP_GARAND
	WP_K43
	WP_K43_SCOPE
	WP_FG42
	WP_FG42SCOPE
	
	WP_KAR98  (axis engy rifle)
	WP_CARBINE (allies engy rifle)
	WP_GPG40 (axis engy rifle secondary nade mode)
	WP_M7 (allies engy rifle secondary nade mode)
	
	WP_SMOKE_BOMB
	WP_SATCHEL
	WP_SATCHEL_DET
	
	WP_POISONSYRINGE
	WP_M97,
	WP_POISON_BOMB,
	WP_LANDPOISON,
	// Jaymod 2.1.7+
	WP_MOLOTOV,
	
	-->
	
	<!-- (* = all) weapon only for spceial -->
  <entity method="add" class="*" team="*" weapon="WP_PANZERFAUST">
  	<weapon></weapon>    <!-- only relevant when you use the method "if" to set only a weapon on a specific condition --> 
  	<hold>false</hold>           <!-- active gun in hand -->    
    <ammo>3</ammo> 						   <!-- additional ammo  -->
    <ammoclip>20</ammoclip>			 <!-- ammo in gun -->
  </entity>
  
    <entity method="if" class="*" team="*" weapon="WP_KNIFE">
  	<weapon></weapon>    <!-- only relevant when you use the method "if" to set only a weapon on a specific condition --> 
  	<hold>false</hold>           <!-- active gun in hand -->    
    <ammo>0</ammo> 						   <!-- additional ammo  -->
    <ammoclip>50</ammoclip>			 <!-- ammo in gun -->
  </entity>
</settings>

and with lua it will work, but i dont have that lua on pc here. Iam back on sunday evening. Then i will post the 3rd solution.

edit: http://et.clan-etc.de/Lua/nitmod/knife.lua

Last edited by jay1110 (09-Apr-17 15:32:36)

Offline

#3 05-Nov-16 23:08:26

mickade
Member
Registered: 05-Sep-16
Posts: 24

Re: knives

Thankyou very much Jay for your help. Mick

Offline

#4 06-Nov-16 21:37:18

mickade
Member
Registered: 05-Sep-16
Posts: 24

Re: knives

The pk3 did the trick Thankyou

Offline

Board footer

Powered by FluxBB