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

Remove Doors


Post New Thread Reply   
 
Thread Tools Display Modes
mptijsma
Member
Join Date: Mar 2006
Old 03-11-2006 , 17:04  
Reply With Quote #11

Quote:
Originally Posted by Brad
VEN: His code is fine.

The first loop won't end until Door is 0, meaning no more doors were found.
Edit: never mind
mptijsma is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-11-2006 , 17:12  
Reply With Quote #12

Quote:
Originally Posted by mptijsma
AND if Door would be something else then 0, it is still the same.
It will be set to 0 if in the second while loop no doors are found.
Not the same. While it can't happen due to the reason I indicated in my previous post, if Door ended up being something like 147 after the first loop, the second loop wouldn't check any of the entities before 147. It'd start at 147 and that's what VEN's concern was.
Brad is offline
mptijsma
Member
Join Date: Mar 2006
Old 03-11-2006 , 17:15  
Reply With Quote #13

Ow, sorry, I overlooked that.
mptijsma is offline
WW2
Member
Join Date: May 2005
Location: USA, WA, In a tree
Old 03-12-2006 , 01:29  
Reply With Quote #14

Does this work in dod 1.3, and can it be made to remove doors on a map of your choosing?
__________________
[img]http://img149.**************/img149/825/forumsig7tr.jpg[/img]
WW2 is offline
mptijsma
Member
Join Date: Mar 2006
Old 03-12-2006 , 05:15  
Reply With Quote #15

Uhm, I think it is possible to remove doors in DOD 1.3, but I don't know what entities are used (the same?).

And yes, I can make it so that it only removes doors on certain maps (possible read from a file).
mptijsma is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-12-2006 , 05:26  
Reply With Quote #16

You can implement a command to remove doors and then people would be able to paste it to the appropriate configs/maps/<currentmap>.cfg
VEN is offline
WW2
Member
Join Date: May 2005
Location: USA, WA, In a tree
Old 03-12-2006 , 05:28  
Reply With Quote #17

Need it to get rid of the doors on dod_warsaw, they shut on you and kill you, lol.
__________________
[img]http://img149.**************/img149/825/forumsig7tr.jpg[/img]
WW2 is offline
mptijsma
Member
Join Date: Mar 2006
Old 03-12-2006 , 05:48  
Reply With Quote #18

Quote:
Originally Posted by VEN
You can implement a command to remove doors and then people would be able to paste it to the appropriate configs/maps/<currentmap>.cfg
Two versions of the plugin now (see first post).
Thanks for your contribution.

Quote:
Originally Posted by WW2
Need it to get rid of the doors on dod_warsaw, they shut on you and kill you, lol.
If you haven't done so already, please try the plugin on that map, and tell me the results.
mptijsma is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-12-2006 , 07:28  
Reply With Quote #19

Quote:
Two versions of the plugin now
It's not necessary provide two versions of the plugin. you can done that all-in-one.

Add CVAR which controls whether doors should be removed automatically or not so people can choose automatic or manual/cfg way.
VEN is offline
mptijsma
Member
Join Date: Mar 2006
Old 03-12-2006 , 07:37  
Reply With Quote #20

Quote:
Originally Posted by VEN
It's not necessary provide two versions of the plugin. you can done that all-in-one.

Add CVAR which controls whether doors should be removed automatically or not so people can choose automatic or manual/cfg way.
I like your critics, they make me look different at my way of coding.
Encourages me to make everything perfect .
Anyway, I fixed it (new version uploaded on first post).
mptijsma 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:03.


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