Converting Engine to Fakemeta (Entities)
I'm using the flares plugin (http://forums.alliedmods.net/showthr...ighlight=flare)
as my example. I just wanna learn a bit more about fakemeta so that is why I'm trying to convert small plugins. I cut out all the crap which I don't want and got this. This still works with no (compile) errors. PHP Code:
Now this is what I did to convert it to fakemeta This does not work but compiles and gives me no errors ingame. The problem is that the flare isn't made even though it deducts the my flare ammo. PHP Code:
|
Re: Converting Engine to Fakemeta (Entities)
I didn't use your conversion and it works so i couln't tell you what's wrong, may be something with the strings, i declare them as global const.
Also you don't need cstrike module, and you don't need a task to make the flare die. Code:
|
Re: Converting Engine to Fakemeta (Entities)
Oh sweet. It works 100% and makes the flare and stuff.
Tested this on a listenserver (I use non steam CS 1.6 btw only for testing things) But it seems like when I upload it to my HLDS server... When I type /flare. It doesn't work 100%... I walked around the map spamming my /flare cmd and at some locations of the map it works? But at other places I can just hear the wave file with no flare made. Any ideas? Can you test it on your HLDS server? |
Re: Converting Engine to Fakemeta (Entities)
Well, do you know a specific place on a specific map (default map please).
I've tested on as_oilrig as it's a dark map and it worked fine... |
Re: Converting Engine to Fakemeta (Entities)
de_dust2
Next to the big box by the stairs in B tunnel. Ramps in bombsite A and some other corners. Maybe this will help... I use Windows XP SP 3 (Is that the latest one? I forgot...) I'm guessing you use linux or something... |
| All times are GMT -4. The time now is 01:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.