Kyojinmaru wrote: ↑19 Oct 2017, 10:26
If someone could do it for me would be awesome, but it would be fine just if someone tell me which parts of the code are needed for this. Then I'll port it to basejk and do the needed modifications.
Just take a look in a sourcecode with hilt support (forcemod, jedimod, duelers, etc...) and copy/paste from the main files where the hilt code is:
GAME
- g_local.h
- g_active.c
- g_main.c
- w_saber.c
CGAME
- cg_ents.c
- cg_event.c
- cg_main.c
- cg_players.c
- cg_weapons.c
UI
- ui_local.h
- ui_main.c
- menudef.h
i did that when i was 15 yrs old with no code knowledge, just copy/paste'ing and testing. Remember to edit the ingame_player.menu file to add the hilt selector ingame.