Half-Life и Adrenaline Gamer форум
http://aghl.ru/forum/

crowbar rocket ?
http://aghl.ru/forum/viewtopic.php?f=12&t=2507
Страница 1 из 1

Автор:  abdobiskra [ 14 июл 2016, 19:17 ]
Заголовок сообщения:  crowbar rocket ?

Hi !
i want make crowbar rocket
I want some ideas to do it ! can some one give me ?

Автор:  Lev [ 14 июл 2016, 20:37 ]
Заголовок сообщения:  Re: crowbar rocket ?

There is Rocket Crowbar mod, you can try it.

Автор:  abdobiskra [ 14 июл 2016, 21:28 ]
Заголовок сообщения:  Re: crowbar rocket ?

Lev писал(а):
There is Rocket Crowbar mod, you can try it.
YES I KNOW IT !
but this DLL file MOD ?
i want make weapon_crowbar shot with Secondary Attack Rocket Rpg :)

Автор:  CTACIK [ 15 июл 2016, 01:02 ]
Заголовок сообщения:  Re: crowbar rocket ?

Создатель не выложил исходного кода, вряд ли кто-то поможет

Автор:  abdobiskra [ 15 июл 2016, 01:29 ]
Заголовок сообщения:  Re: crowbar rocket ?

CTACIK писал(а):
Создатель не выложил исходного кода, вряд ли кто-то поможет

I do not speak for the source, who Lev attach it
just i want make weapon_crowbar do rocket like weapon_rpg :friends:

 

Автор:  Lev [ 15 июл 2016, 02:27 ]
Заголовок сообщения:  Re: crowbar rocket ?

At first look, you should catch weapon fire event and spawn a rocket there.

Автор:  abdobiskra [ 15 июл 2016, 10:15 ]
Заголовок сообщения:  Re: crowbar rocket ?

Lev

What I understood? But there are no results?
 

Автор:  Lev [ 15 июл 2016, 19:30 ]
Заголовок сообщения:  Re: crowbar rocket ?

Still you should test it and say where exactly it doesn't work. Do debug output in server console to test that your mouse action is successfully captured and that your condition on ammo is correctly working. Test that create_rocket function is called.

Автор:  abdobiskra [ 15 июл 2016, 20:57 ]
Заголовок сообщения:  Re: crowbar rocket ?

Код:
Test that create_rocket function is called.
Yes its created! but remains freezed in the player place origin
On the whole it is a difficult way (

now i tryed other way from sev mod by unnamed
the rocket spawn and fly like DLL function


But I find some of the problems, I find it difficult to repair, I'm not sure which

 

1) if i has ammo mor then 1 all rocket created ? (like in video Up)

Автор:  abdobiskra [ 31 июл 2016, 00:43 ]
Заголовок сообщения:  Re: crowbar rocket ?

sloved with
Код:
set_pdata_float (item, 36, 1.0, 5)

Страница 1 из 1 Часовой пояс: UTC + 5 часов [ Летнее время ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/