You are not logged in.

Dear visitor, welcome to CRYMOD.NET - Портал сообщества CryENGINE. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Alex626

admin

  • "Alex626" is male

Posts: 11,294

Location: Земля

61

Tuesday, September 20th 2011, 9:56pm

Source code

1
bool CHUDRadar::RadarBounds_Inside(const Vec2 &pos, Vec2 &intersectionPoint)


Там есть массив с координатами точек:

Source code

1
2
3
4
5
6
7
8
9
10
static const Vec2 radarPolygon[] =
	{
    	Vec2(center + Vec2(-58, 17.0f)),
		Vec2(center + Vec2(-58, -42)),
		Vec2(center + Vec2(62, -42)),
		Vec2(center + Vec2(62, 32.15f)),
		Vec2(center + Vec2(46.25f, 45)),
		Vec2(center + Vec2(-46.75f, 45)),
		Vec2(center + Vec2(-46.75f, 25.8f))
}


В нём заданы те самые 7 точек. Можно задать любую форму.

62

Sunday, March 15th 2015, 11:10pm

Люди, подскажите как сделать отображение режима стрельбы?

Alex626

admin

  • "Alex626" is male

Posts: 11,294

Location: Земля

63

Monday, March 16th 2015, 12:12am

Теме 5 лет уже. CryEngine 2 не актуален.

NewMix

Beginner

  • "NewMix" is male

Posts: 22

Location: Самара

64

Tuesday, August 4th 2015, 8:17pm

Вопрос тот же, о режиме стрельбы, только на новую версию двигла.

Alex626

admin

  • "Alex626" is male

Posts: 11,294

Location: Земля

65

Tuesday, August 4th 2015, 8:33pm

Изучайте Flash, делайте, кто вам мешает? Сделать HUD - простенький, как в сталкере, можно за пару вечеров.

Saha

Модератор форума

  • "Saha" is male

66

Tuesday, August 4th 2015, 10:48pm

Есть на крайвики урок с примером.

NewMix

Beginner

  • "NewMix" is male

Posts: 22

Location: Самара

67

Wednesday, August 5th 2015, 9:53pm

Изучайте Flash, делайте, кто вам мешает? Сделать HUD - простенький, как в сталкере, можно за пару вечеров.
Так у меня худ уже есть, ибо я давно его сделал. Я только не могу сделать режим стрельбы и все

Alex626

admin

  • "Alex626" is male

Posts: 11,294

Location: Земля

68

Wednesday, August 5th 2015, 10:11pm

Изучай статьи по Flash UI на CryWiki, или в официальных источниках. Там всё описывается, всё делается через Flow Graph довольно просто.

Used tags

HUD, моды Crysis