[RELEASE] N!tmod 2.2 Final - www.etmods.net


(Mateos) #21

What about ones moving/crouching/crouching+moving/on ladder/nade in hands?


(7Killer) #22

As moving ( by yrself or by any mover ) will offset the player position and rotation, no problem on this point.
Any movement you can make ( launch nade for example ) is linked to an animation file, hitboxes should track it.


(ailmanki) #23

et_ConsoleCommand() from lua seems to be not working… using linux and latest n!tmod.
http://wolfwiki.anime.net/index.php/Lua_Tutorials

There is an explanation how to use that, and its not working at all. Well I am testing it over rcon, and with mapconfigs. Both works with etpub…
I tried to register on forums and the bug tracker, seems its not my lucky day…


(7Killer) #24

as i m not a specialist of lua…
First lua library is integrated to nitmod 2.2 series.

Second, in our package , take a look at lua_script folder, rules.lua for example , u ll find that :


function et_ClientCommand(clientNum, command)
	command = string.lower(command)
		--If a client types "/rules" in his console
		if (command == "rules") and (USE_RULES == 1) then
			for i=1,(NUMRULES),1 do
				et.trap_SendServerCommand(clientNum, "print \"" .. rules[i] .."^7
\"")
			end
		return 1
		--If a client types "/website in his console
		elseif (command == "website") and (USE_WEBSITE == 1) then
				et.trap_SendServerCommand(clientNum, "print \"" .. WEBSITE .."^7
\"")
				return 1
		end
end

et_ClientCommand function will give you the job and give you in plus the client slot i think.


(ailmanki) #25

et_ClientCommand is a complete different thing. I looked at every script you guys have, some nice stuff- but none uses et_ConsoleCommand( cmd ).
clientNum is the slot,and command the cmd he sent… but that is no use for rcon; if you are doing /rcon mycmd … it will never run.


(7Killer) #26

ok sorry for the convenient, its seems thats the lua call back aren’t all inplemented.
i ll make a list what will work with present release and what will be add asap for the next pre-release


(ailmanki) #27

Great :slight_smile: Looking forward to next release.


(acQu) #28

Offline message system. Omnomnom. Afaik i had this in mind some time ago and halfy implemented, but i dropped they idea. But it is good imho if you combine it with levels. You can make players stay and play more on your server, if you promise them their own message box :smiley:


(Nitrox_) #29

Indeed the et_ConsoleCommand() is not working in 2.2 Final, there are some little fixes that need to be done on both client and server side code so we might release a 2.2.1 version soon, if i can get my old laptop setup correctly…

I don’t have a lot of free time because i work everyday but i’ll do my best.


(Infinitypl123) #30

Can you write additional feature like a loading screen with every map just like: http://web.zone.ee/indloon/projects/antifulw/images/AntiFulw_fueldump_loading_alpha_preview.png
Just a function where you can put your own images to let admins adjust it for other maps. Would be really great and it will be more modern :smiley:


(Mateos) #31

Based on BSP name :slight_smile: But I’m not sure he’ll have the time, he already said the goal isn’t a great graphic quality.


(Infinitypl123) #32

Well the graphics can be done by admins who wants that feature, even I can create some examples in pk3. All I want is the feature that make me a possibility to add those graphics.


(Indloon) #33

[QUOTE=Infinitypl123;401625]Can you write additional feature like a loading screen with every map just like: http://web.zone.ee/indloon/projects/antifulw/images/AntiFulw_fueldump_loading_alpha_preview.png
Just a function where you can put your own images to let admins adjust it for other maps. Would be really great and it will be more modern :D[/QUOTE]

You mean clan image e. watermark?

And it could be displayed in loading screen with server MOTDs.