Half-Life и Adrenaline Gamer форум

Всё об игре в Халф-Лайф и АГ
Текущее время: 29 мар 2024, 16:27

Часовой пояс: UTC + 5 часов [ Летнее время ]




Начать новую тему Ответить на тему  [ Сообщений: 8 ] 
Автор Сообщение
 Заголовок сообщения: Issue with weapon mod (assault cannon) and jump plugin
СообщениеДобавлено: 30 окт 2013, 03:36 
Не в сети
Зарегистрирован:
30 окт 2013, 03:20
Последнее посещение:
02 июн 2014, 16:51
Сообщения: 4
I encountered a major problem, when I have the jump plugin (double step and double jump) and the weapon mod v0.8 running at the same time.
Initially the double jump and double steps don’t work.
But then I realized, if I pull the trigger from the assault cannon (primary or secondary fire – turning or firing – doesn’t matter), the jump plugins will work immediately.

Maybe someone here has an idea how to solve this or maybe can help me out with that? :-*

Here’s the assault cannon plugin:
viewtopic.php?f=42&t=784

Here’s the code from the jump plugin:
 


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Issue with weapon mod (assault cannon) and jump plugin
СообщениеДобавлено: 30 окт 2013, 06:11 
Не в сети
Site Admin
Зарегистрирован:
01 июн 2010, 01:27
Последнее посещение:
26 мар 2024, 21:42
Сообщения: 6864
So do you wish the player still jump even if shoot from this weapon?
If you don't wish to limit player at all, then you can comment out lines in weapon plugin code that starts with fm_set_user_maxspeed.
Like
Код:
fm_set_user_maxspeed(player,115.0)


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Issue with weapon mod (assault cannon) and jump plugin
СообщениеДобавлено: 30 окт 2013, 22:28 
Не в сети
Зарегистрирован:
30 окт 2013, 03:20
Последнее посещение:
02 июн 2014, 16:51
Сообщения: 4
Hi Lev,

thank you very much for responding to my topic.

The problem is, the features from the jump plugin (double steps and double jumps) don't work, until I use the assault cannon.
After that everything works fine.

It's just like firing the AC sets the jump plugin active/on and before that it's like I start the server without the jump plugin or with a deactivated jump plugin.


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Issue with weapon mod (assault cannon) and jump plugin
СообщениеДобавлено: 31 окт 2013, 00:53 
Не в сети
Site Admin
Зарегистрирован:
01 июн 2010, 01:27
Последнее посещение:
26 мар 2024, 21:42
Сообщения: 6864
Hi.
As I wrote above, AC plugin limits player max speed when this weapon is deployed or used. You need to decide how you wish to change this behavior.


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Issue with weapon mod (assault cannon) and jump plugin
СообщениеДобавлено: 31 окт 2013, 03:56 
Не в сети
Зарегистрирован:
30 окт 2013, 03:20
Последнее посещение:
02 июн 2014, 16:51
Сообщения: 4
Well but the strange thing is, if I start the server without the AC plugin (deactivated through the plugins.ini) - then there's no chance of using the jump plugin features (double jumps and so on).
Something prevents the jump plugin to work fine from sturtup :unknown:


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Issue with weapon mod (assault cannon) and jump plugin
СообщениеДобавлено: 31 окт 2013, 05:00 
Не в сети
Site Admin
Зарегистрирован:
01 июн 2010, 01:27
Последнее посещение:
26 мар 2024, 21:42
Сообщения: 6864
Hmm. Okay. Currently I have no time to test this. May be someone else will be able to help.


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Issue with weapon mod (assault cannon) and jump plugin
СообщениеДобавлено: 31 окт 2013, 09:58 
Не в сети
Зарегистрирован:
06 авг 2010, 10:25
Последнее посещение:
20 янв 2021, 16:32
Сообщения: 695
Откуда: Uzbekistan
Hi.

Look UT Jumps code.

74 line:
Код:
if( is_user_alive(id) && entity_get_float(id, EV_FL_maxspeed) > 1.0 )
>>>
Код:
if( is_user_alive(id) )

And this should let work double jumps plugin on HLDM server.


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Issue with weapon mod (assault cannon) and jump plugin
СообщениеДобавлено: 04 ноя 2013, 03:11 
Не в сети
Зарегистрирован:
30 окт 2013, 03:20
Последнее посещение:
02 июн 2014, 16:51
Сообщения: 4
Thank you very much for your kind help Gordon :beer:
I've tested it and it works fine now :Yahoo!:


Вернуться к началу
 Профиль 
  
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 8 ] 

Часовой пояс: UTC + 5 часов [ Летнее время ]


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 4


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB