Raised This Month: $51 Target: $400
 12% 

Remove Doors


Post New Thread Reply   
 
Thread Tools Display Modes
VEN
Veteran Member
Join Date: Jan 2005
Old 03-12-2006 , 07:55  
Reply With Quote #21

You use register_clcmd, cl means "client", i.e. that command would be for clients only. While map configs executed by the server.

So the most simple way would be replacing "cl" with "srv", i.e. register_srvcmd.

If you want provide that command for clients either you can use register_concmd, but then you have to set access level for that command to make it for admins only.
VEN is offline
mptijsma
Member
Join Date: Mar 2006
Old 03-12-2006 , 07:57  
Reply With Quote #22

And again, should take more time to carefully read what I type.
Fixed, thank you.
mptijsma is offline
WW2
Member
Join Date: May 2005
Location: USA, WA, In a tree
Old 03-12-2006 , 14:01  
Reply With Quote #23

Yes, I need it server side, not for clients, to automaticly rid the doors on this map, executed in map.cfg when it comes up in the rotation. Thanks a lot man, I will give it a try, let you know how it worked.
__________________
[img]http://img149.**************/img149/825/forumsig7tr.jpg[/img]
WW2 is offline
WW2
Member
Join Date: May 2005
Location: USA, WA, In a tree
Old 03-13-2006 , 11:18  
Reply With Quote #24

Quote:
Originally Posted by mptijsma

Two versions of the plugin now (see first post).

If you haven't done so already, please try the plugin on that map, and tell me the results.
Hey bud, I gave it a try. The plugin loaded fine, I put removedoors in the dod_warsaw.cfg,

removedoors
mp_alliesclasses -1
mp_axisclasses -1
mp_spawnbazookas 1
mp_spawnbritpiat 1
mp_spawnaxispschreck 1

mp_limitaxispschreck 2
mp_limitbazookas 2
mp_limitbritpiat 2
mp_limitbritmg 2
mp_limitbritsniper 2
mp_limitaxisscopedkar 2
mp_limitallies30cal 0
mp_limitalliesspring 2
mp_limitaxismg34 0
mp_limitaxismg42 0

but it did nothing, could not find the command loaded in the amx_help either, although I typed it in consol and it did not say it could not find it, so it was tring to work I believe.
--------------------------------------------------
It may be because the dod_warsaw.cfg and all map.cfgs in DoD, are not located here >> configs/maps/<currentmap>.cfg, rather they are located in dod/ , in the main game directory outside of amxmodx folder, just fyi.

There was a plugin, Jedi force grab I belive, that if you turned the value up in it, you could rip the doors, metal gates off with it, and skins off of metal and wood things you grabed, like tanks, trees, and crates.

Your plugin would be more desirable so that an admin would not have to physically be there to remove the doors, you may take at look at one of those plugins for clues.

If you have a suggestion I will try it, thanks.
__________________
[img]http://img149.**************/img149/825/forumsig7tr.jpg[/img]
WW2 is offline
mptijsma
Member
Join Date: Mar 2006
Old 03-13-2006 , 11:27  
Reply With Quote #25

Quote:
Originally Posted by WW2
It may be because the dod_warsaw.cfg and all map.cfgs in DoD, are not located here >> configs/maps/<currentmap>.cfg, rather they are located in dod/ , in the main game directory outside of amxmodx folder, just fyi.
Nah, that's not the problem.

Quote:
Originally Posted by WW2
Your plugin would be more desirable so that an admin would not have to physically be there to remove the doors, you may take at look at one of those plugins for clues.
This plugin does NOT require an admin the be present....

Quote:
Originally Posted by WW2
If you have a suggestion I will try it, thanks.
I will download the map, and check the door entities.
mptijsma is offline
WW2
Member
Join Date: May 2005
Location: USA, WA, In a tree
Old 03-13-2006 , 11:30  
Reply With Quote #26

I looked inside the map.bsp, they are called funk_door_rotating, is this what you are looking for?.

I will download the .sma and .amxx and try it again without compiling it myself. Let you know what happens, might be an error on my part.
__________________
[img]http://img149.**************/img149/825/forumsig7tr.jpg[/img]
WW2 is offline
mptijsma
Member
Join Date: Mar 2006
Old 03-13-2006 , 11:42  
Reply With Quote #27

[Edit]
I believe it's fixed now, please try the new version I uploaded (first post).
mptijsma is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 03-13-2006 , 16:56  
Reply With Quote #28

careful though, func_door is not always a door. It's vastly used by cs mappers (in non reachable areas of the map) to start some triggers, multi-sources, etc. in round beginnings.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
mptijsma
Member
Join Date: Mar 2006
Old 03-14-2006 , 04:04  
Reply With Quote #29

Quote:
Originally Posted by commonbullet
careful though, func_door is not always a door. It's vastly used by cs mappers (in non reachable areas of the map) to start some triggers, multi-sources, etc. in round beginnings.
Hm, I did not know that, but I haven't had problems with removing the func_door entities on default maps so far.

Thank you for the information!
mptijsma is offline
WW2
Member
Join Date: May 2005
Location: USA, WA, In a tree
Old 03-16-2006 , 03:05  
Reply With Quote #30

Have a stupid question, how would I turn this on for auto "removedoors 1", or off for map.cfg controlled "removedoors 0", through the amxmodmenu, put this in my server.cfg?

//Turn on/off removedoors
removedoors 1

You have the .amxx currently set to default 1, I guess I'm a bit confused at how to control it. I am trying to get it set to 0 so only the map.cfg calls it when it loads. I have removedoors in my dod_warsaw.cfg.

Right now I have no doors on any of my maps so that works.
__________________
[img]http://img149.**************/img149/825/forumsig7tr.jpg[/img]
WW2 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:55.


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