Re: CSDM 2.1d beta
1 Attachment(s)
I was playing crossfire (deathmatch original map). Also u can test any map with entities made by mappers. item_mode does not care about existent item entities yet. Also you can make an option - to strip or not existent map entities. It would be very flexible.
Also take .cfg files with entity data i've attached in neighbour topic called bsp2csdm. As for bounding boxes. Just play with the above files to see the difference by yourself. Your bounding boxes are not the same as HL:DM has. In CS you have to jump directly on item to grab it instead of taking it when you bypass it close enough. It irritates extremely when an item is put on a half-player-height platfrom because you have to jump over it. It really noticable on xbounce2 map. Also i've attached a screenshot which shows that visually i already touched a weapon but it is not grabbed by me yet. I almost sure that weapons have small ({16, 16, 8} instead of {32, 32, 16}) bounding boxes too. Q1. This is not applicable for DM maps. I'm just asking about an option. After you've been spawned it's very hard to fight and search for some weapon with the only knife. =) You almost have no change to survive (3 sec damage protection does not help; don't want set more time). Also it's not so critical because csdm is open source =) Q2. You misanderstood me a little. You actually grab a weapon, but this action just fulfils your ammo clip with amount of bullets in picking up weapon. Other questions i'll reply later. Need to sleep right now. |
Re: CSDM 2.1d beta
Kwo ive decided you should make the itemmode editor in a separate plugin like what is done for spawn. I dont understand how people are getting double items, but it didnt happen before, so in order to ease debugging for the future its better to separete it into 2 plugins. Thanks
Btw good point on the weapon box size, ive encountered this issue too before, but i dont know why i didnt fix it, indeed its better to increase the box size so you can get the item only by touching it. |
Re: CSDM 2.1d beta
Quote:
I'll try to debug it my-self if it's too difficult for You debug it with my code - don't worry. ;) [EDIT] Quote:
@Faluco - Are You sure You tested it on any map with weapons on the ground made by mappers? ;) [/EDIT] [EDIT2] Now I'm sure - in the csdm_main g_StripWeapons works only for weapons the players are spawned with, but it doesn't care about weapons existing on the ground (created by mappers). Well - I'm expecting some troubles with enabling CSDM during the game with itemmode on such maps (CSDM is enabled, it is starting to strip weapons and other entities like buyzones, bomb sites etc and the same time the entites are created from the file mapname_ents.cfg... - maybe they will be removed, too, if I don't delay creating them before stripping function will finish the work...) [/EDIT2] |
Re: CSDM 2.1d beta
@Simon Logic:
1)Weapons existing on maps (on ground) are stripped now if in misc section You have setuped "b" flag in remove_objectives variable. In the future I would suggest to BAILOPAN to add a separate flag for that. It's temporary - to let You test if it works. 2) weapons_stay 20 should work now for You with itemmode. 3) Added Your code for extending collision boxes for items and for grenades. 4) In csdm_misc there is added that pev_valid function in OnEntSpawn. 5) I still have no idea what is the problem with these "ugly cons" as hud - CS drawns them by it-self, not CSDM... |
Re: CSDM 2.1d beta
Yes i know BAILOPAN told you this, but ive already talked to him and we agreed to change it, sorry for the inconvenience. If you need a better interface we can discuss it and do some multiforwards for plugin communication to make it easier.
Yes i tested the plugin in fy_iceworld and no problems. About the weapons being dropped ignoring the drop time it is something i did on purpose to keep what the old itemmode did, since weapons are already on the floor and there are deathpacks if you start adding also the dropped weapons by players it looses part of the fun of the mod, so it wasnt really a bug. And about those icons, its a message sent by the engine when you get a healthpack, im not sure now why it appears, i remember i added this manually to see if something nice appeared, but after seeing it was a skull i quickly removed it, dont know what a skull has to do with a healthpack but its something hardcoded in the engine. |
Re: CSDM 2.1d beta
Another reason for itemeditor to be included into csdm_itemmode plugin was this - when I did it the first time as a separate plugin (about 1 month ago), the half of the code (for creating entities, reading config files with entities definition, removing them from the map etc) it was... about half code of Your plugin.
Here are some situations itemmode plugin should know the editor is working so it should behave in some specyfic ways (You need to rewrite some code of Your plugin anyway): 1. Someone switched to on my item editor - this man should see since that moment ALL weapons defined in the items config file (including these weapons they are restricted in csdm.cfg). In this case Your csdm_itemmode should remove all entities from the map then - itemeditor should create them including also these restricted (to let the user delete/move some of them, add new ones etc.) 2. Your plugin should know the user is editing the map entities config (by item editor) - so pfnTouch function shouldn't let pickup weapons in this time (You want to remove some item, but You are too close to it - so You pickup it, if that function lets do this; You removed some entity, but itemmode plugin doesn't know yet this - so You pickup not existing already item etc). 3. The user finished the work with editor - by using "exit" from any of menus in itemeditor - I have to remove all weapons from the map (because they might be also displayed these restricted), then You should get the info (itemeditor finished the work) and You should reload the config file. In my private opinion making forwards for such kind communication and use 2 times the half code the same in 2 separate plugins is ugly and no worth to do, but let me know what was the main reason You successed with changing BAILOPAN's decision (as far as I know it's very hard to make him changing any decision, so You had to have really good argument - I would like to know it). |
Re: CSDM 2.1d beta
Quote:
Quote:
Code:
Quote:
And some more ideas: 1) i already hate a chat manual for longjump. Can you make it appear only once pre connect or once per round or disable at all at least in config file? 2) disable a BUY hint at HUD in item mode; i suppose it can be done with Code:
Quote:
Quote:
|
Re: CSDM 2.1d beta
Quote:
Quote:
You have settings in cfg file and CSDM should obey them. Isn't it a basic concept? Also i don't see any fun in disappearing weapon on drop. Moreover this feature adds new tactics. You can shoot with two (try more =) ) weapons consecutively.[/QUOTE] Quote:
|
Re: CSDM 2.1d beta
I have already told you the reason. If you want your editor to be added to the official release it will have to be done this way, it doesnt matter if you need to copy some of the code.
About the weapon drops, once more, deathpacks loose their purpose if you leave weapons on the floor by players, if you turn deathpacks off you will be able to drop them, that's how it is coded. Since a plugin may not meet every admins rules of play and this is open source you can change it for your server, just remove this code inside the plugin: Code:
public csdm_HandleDrop(id, weapon, death) Only a note, if your server has a high player count on heavy game playing you risk it from crashing. I dont know why the skull is appearing in your game because i havent seen it in any other players happening but anyways i'll add a block for that message in case the server is sending it (which i doubt it), if this doesnt fix it then its your game doing it and there's nothing we can do with client side issues. |
Re: CSDM 2.1d beta
Quote:
Quote:
Quote:
|
All times are GMT -4. The time now is 20:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.