creating lightmap plugin
hi guys, here i decide to learn scripting in amxx, i am REALLY new on this
i try to create a lightmap plugin, something like this http://forums.alliedmods.net/showthread.php?p=32508 is a easy plugin (but not for me haha) i can write only this without see the code of the amx_lights plugin... =( PHP Code:
and, what i need to finish the plugin... thx pd: sry for my bad english |
Re: creating lightmap plugin
Yup. That's correct.
PHP Code:
|
Re: creating lightmap plugin
oh, really thx v3x,
i dont understand 2 parts of this code: 1 - can u explain me what happen in this part? i think this is to put the default set_lights? or something like this? PHP Code:
PHP Code:
|
Re: creating lightmap plugin
1. Nobody uses Engine anymore. It's all about FakeMeta, baby 8)
2. You can make it as long as you want. That was just an example. Oh and yes, it's the style of the light. ~v3x |
Re: creating lightmap plugin
1. aa ok , but i did search with fm_set_lights and i didnt find nothing, i think becouse use the some function but with fm_ , right?
and.. what u recommend me to learn more about fakemeta? 2. yeah, now i understand the code of this, but that i dont understand are the styles, what styles of lights? becouse, i think when u call set_lights, this function have A to Z (a-z) , or u have to create this? (that in this case are the "styles") thx PD: oh, other question, the "style" is an example too? or is a some function or something like this? edit: oh, here i have some help to learn fakemeta http://www.amxmodx.org/funcwiki.php?go=module&id=16 but if u have another good link, great too =p |
Re: creating lightmap plugin
I got one question, this has been asked here
Quote:
|
Re: creating lightmap plugin
with this:
PHP Code:
what is the code to do that? |
Re: creating lightmap plugin
Add a debug message. After fm_set_lights(style) put this:
PHP Code:
|
Re: creating lightmap plugin
sry, i am back ...
@ v3x when i put for example, nv_lightmap a i get this: Quote:
Quote:
but, a, or b, or c, d, e, f, ......... dont change the light of the map... and i cant put off... |
All times are GMT -4. The time now is 06:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.