Mapping Help


(Kynval) #81

someone can help me?


(sl0wr0ck) #82

Sorry, cant help you Kynval…
But I wanted to ask, how do I add nofatigue to a server - well, shortcut… (look previous posts)
+nofatigue doesnt work xD and other versions I tryed doesnt seem to work also…and if I try to put on server then it says no cheats allowed or something :smiley: So, what command do I need to write in the shortcut?

Thanks in advise!


(murka) #83

+set sv_cheats 1


(ailmanki) #84

there is also an example for ammo/health cabinets:
http://wolfwiki.anime.net/index.php/Map_scripting

etpub docu:

g_mapScriptDirectory [string]

Similar to ETPro's b_mapscriptsdirectory. Set it to the name of a directory in your fs_path that contains custom map scripts.
For example you can copy the 'etpromapscripts' directory from the ETPro distribution to your 'etpub' directory and add:
set g_mapScriptDirectory "etpromapscripts"
to your cfg.
NOTE: It is strongly recommended that you use the map scripts distributed with etpub since these updated scripts fix very important bugs in some of the original map scripts.
Setting g_mapScriptDirectory to "" disables any use of map .script files.
Default is "" 

nofatigue, you would make a bind (shortcut) with

bind n nofatigue

no + or anything in front of it.
Yet that does not work, except sv_cheats is enabled, which is not on most servers.
But there exists 2 mods afaik, tjmod and some lua scripts for etpro, enabling nofatigue.


(sl0wr0ck) #85

Thanks again! :slight_smile:


(-SSF-Sage) #86

If you are directly hosting a server, you can just type /forcecvar sv_cheats 1 and it will enable cheats on your server.


(sl0wr0ck) #87

I did a door script:

I wanted it to do this:

  1. Push button
  2. Door (well, gate) opens and closes again in about 2 - 3 seconds…

I got this:

trigger_1 //target_script_trigger's >>scriptname<<
{
	spawn
	{
		wait 200
	}

	trigger main2 //target_script_trigger's >>target<<
	{
		trigger left_1 open
		trigger right_1 open
	}
}

left_1 //Script_mover >>left door<<
{
	spawn
	{
		wait 200
	}

	trigger open
	{
		gotomarker left_1_path_2 15
		wait 500
		gotomarker left_1_path_1 15
	}
}

right_1 //script_mover >>right door<<
{
	spawn
	{
		wait 200
	}

	trigger open
	{
		gotomarker right_1_path_2 15
		wait 500
		gotomarker right_1_path_1 15
	}
}

Everything seems to be right, but…

when I press the button the door opens…
and for the door to close again, I need to push it again…
but in script I see that it should close itself aswell…
(maybe not, but thats how i understand it)
I tryed everything I know to fix it, but instead of fixing,
its ruining script and making the gate not work…

What am I doing wrong?

Thanks in advise!

PS: The door is like a gate or something :slight_smile: It has two doors that go left and right.
(Like in battery, the doors in the machine room (the gunroom you need t blow up))


(sl0wr0ck) #88

Question to wezelkrozum and also all other mappers :slight_smile:

Do you people keep all those commands in your mind
or you look them up somewhere? :smiley:


(Kynval) #89

Hey guys…
I’m again try add healh and ammo packs in etpub …
Where I have to add this commends?
in fueldump.bsp in pak0?
tell me where?