Satellite Reign

Satellite Reign

檢視統計資料:
Satellite Reign > 一般討論 > 主題細節
[Mod] Razer Chroma support
I made a mod over the holiday season to add Razer Chroma support to the game. Big shout out to Caldor for the mod guild.

Features:
  • Seleted/Combat status for each agent [1-4 keys]
  • Shortcut key for selected agent(s) as well as active/cooldown status
  • Ability shortcut keys reflect any custom mapping by the user.

Please share any issues/improvements you'd like to see.

https://drive.google.com/open?id=1YfABFC6Al5cpOY1sgjT87e81ZHnDxXli


Update:
1.7.20 - Fixed default color not resetting after loading/joining more then one game.
2.12.20 - Added effect for death and respawn time to agent selection keys
3.4.20 - Added support for Chroma enabled mouse, mouse pad, headset and 3rd party peripherals

最後修改者:hackthis02; 3 月 4 日 上午 8:05
< >
目前顯示第 1-13 則留言,共 13
hackthis02 1 月 7 日 上午 10:22 
Update
最後修改者:hackthis02; 2 月 12 日 上午 10:39
Caldor 1 月 18 日 上午 2:26 
Nice to see more and more people are beginning to mod this game. I am unsure what the mod does? Is it for Razer keyboards or Razer devices overall? I think Razer Chroma is an RGB lighting system but maybe its also a way to bind special keys?
hackthis02 1 月 29 日 下午 8:44 
Yes, It can be used to bind special keys, but this mod just deals with the RGB element on Razer keyboards. If people would like me to add other devices to the mix I'm open to suggestions.
hackthis02 2 月 12 日 上午 10:23 
Update
最後修改者:hackthis02; 2 月 12 日 上午 10:39
Caldor 2 月 12 日 上午 10:36 
Nice :) I do have an RGB Corsair keyboard, maybe I should try to see if I could get that to work with a mod as well.
hackthis02 2 月 12 日 上午 10:40 
That would be interesting. Here is my github, if you want to use the logic.

https://github.com/hackthis02/SR.Plugin.RazerChroma
Caldor 2 月 12 日 上午 10:42 
hackthis02 發表:
That would be interesting. Here is my github, if you want to use the logic.

https://github.com/hackthis02/SR.Plugin.RazerChroma
Thanks for sharing :)
hackthis02 2 月 12 日 上午 10:44 
Caldor 發表:
Nice :) I do have an RGB Corsair keyboard, maybe I should try to see if I could get that to work with a mod as well.

I was going to ask you, if you knew where they kept any of the civilians you high jack. I'd love to add them but I can't find there stats.
Caldor 2 月 12 日 上午 11:19 
hackthis02 發表:
Caldor 發表:
Nice :) I do have an RGB Corsair keyboard, maybe I should try to see if I could get that to work with a mod as well.

I was going to ask you, if you knew where they kept any of the civilians you high jack. I'd love to add them but I can't find there stats.
Pretty sure all the clones you have collected you can get by calling this:
Manager.GetCloneManager().GetCloneableDataList();

In the cloneable data you will find properties like wardrobe, wardrobetype, sex and identity.

There is also a deprecated name property, not sure if still works, but I think if you want to find the name, you have to use the Id property and then look it up somewhere else.
hackthis02 2 月 12 日 下午 4:30 
Are they clones after you highjack them? I thought they only became clones after your sent them off to the cloner.
hackthis02 3 月 4 日 上午 7:49 
Update
Caldor 3 月 4 日 上午 9:06 
hackthis02 發表:
Are they clones after you highjack them? I thought they only became clones after your sent them off to the cloner.
Oh, you just want the ones you have currently highjacked?

I should have some code for that.
Caldor 3 月 4 日 上午 9:12 
This should do it:
Manager.GetInputManager().GetControllableEntities();
Returns all AIEntities that you can control currently. It will include your agents, but I guess you can get your agents and filter them out if needed.

AgentAI.GetAgents();
Gets all your agents
AgentAI.GetAgent(AgentAI.AgentClass.Soldier)
gets a more specific agent

When I want to find all player selected AIEntities I do this:
foreach (AIEntity ae in AIEntity.FindObjectsOfType(typeof(AIEntity)))

and check for ae.IsSelected()
最後修改者:Caldor; 3 月 4 日 上午 9:13
< >
目前顯示第 1-13 則留言,共 13
每頁顯示: 15 30 50

Satellite Reign > 一般討論 > 主題細節