Light Problem
Hello. I have a poblem on my mapm I can't spawn the light.
Someone told me that u can't sawn lights, but I am not sure. Any help would be appreciated ! Thanks ! Code:
new ent_light_1 = create_entity("light"); |
Re: Light Problem
Hi
You want spawn the light in some texteure in the map ? |
Re: Light Problem
Quote:
|
Re: Light Problem
I was looking for the components i have made in the past but lost
but as i remember its like this : PHP Code:
|
Re: Light Problem
Quote:
Well basically the lights will be added after voting for the map is ready. |
Re: Light Problem
Quote:
|
Re: Light Problem
Quote:
How could I then add a model for every panel with the size of the panel? The models will basically be map images, and they should be loaded from mapvote_maps.ini . It should pick a different map for eac panel, adn if more than 44 maps are in the ini it shouldn't repeat any of them, so for each panel a different map, if there are less than 44 maps, it should repeat depending on how many maps are in the ini etc. So if I ahve 15 maps for example it should repeat 3 tmes, so 15 maps, 15 maps and 14 for 44 panels to be filled. Thanks! |
Re: Light Problem
Quote:
Code:
public create_light(origin[3]) |
Re: Light Problem
just get origin :
when you aiming to this window ! say /get PHP Code:
|
Re: Light Problem
Quote:
On that task I want to automatically create lights for every glass_votemap entity. |
| All times are GMT -4. The time now is 20:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.