SoccerJam Goal Net hide (MAP & MOD)
https://imgur.com/lfnJkDa.png
I saw already server with hidden net of goal, but server is shutted down. It was command and in menu you could choose to hide or show goal net, but ofcourse not remove, just hide, so you can jump on goal and do tricks and stuff, where is the all fun in this mod. Sma -> https://github.com/Doondook/soccerjam, or just need to make new plugin to do something to this map bsp. Here is all i have, i'm glad if someone could help with this. Also, here is the map in .zip file called soccerjam_sunrise_v3 and .sma original is also there https://github.com/Doondook/soccerjam, i just put into code so you can see if something is in there that can help just from seeing this post. Thank's. WORKING: PHP Code:
|
Re: SoccerJam Goal Net hide (MAP & MOD)
https://github.com/Doondook/soccerja...m%2B.sma#L4844
https://github.com/Doondook/soccerja...m%2B.sma#L4852 ->> entityname Method number 1: Modify the plugin directly and add a button or bind to set_entitiy_visibility(endzone, 1) Method number 2: Make another plugin (Cringe) You just have to find the entity and set the flag EF_NODRAW or just use engine like the og plugin since you're already using it. PHP Code:
|
Re: SoccerJam Goal Net hide (MAP & MOD)
I tried some things but i don't know about coding alot, so i couldn't real do it so far, if anyone can help more would be great :)
|
Re: SoccerJam Goal Net hide (MAP & MOD)
I don't have internet access and I'm quite busy for the week, but if you're willing to wait I might fork that plugin and add the menu button you requested by MONDAY.
EDIT: Looks like you wanted PER PLAYER button, I thought you wanted just a simple on/off button, my bad. I don't have any experience with addtofullpack or pev_groupinfo so you'll have to ask someone more experienced I'm afraid. |
Re: SoccerJam Goal Net hide (MAP & MOD)
I want player to be able to call command /goalnet and choose whether he want to hide or not, simple: hide/unhide
|
Re: SoccerJam Goal Net hide (MAP & MOD)
Ok, I understood your request now.
I found a great example of working with addtofullpack over here I don't promise anything but expect a reply this weekend. |
Re: SoccerJam Goal Net hide (MAP & MOD)
Super :)
|
Re: SoccerJam Goal Net hide (MAP & MOD)
Quote:
PHP Code:
https://i.imgur.com/4mTp0Kk.jpg This in theory should work on all maps/plugins unless they used different entity names for goalnets, which in that case I will provide you with further instructions/help. |
Re: SoccerJam Goal Net hide (MAP & MOD)
|
Re: SoccerJam Goal Net hide (MAP & MOD)
Can you provide the map ? I can not find it on the internet, or any server running it.
In the meanwhile try this too: PHP Code:
|
All times are GMT -4. The time now is 19:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.