Satellite Reign

Satellite Reign

Vezi statistici:
Satellite Reign > Discuții generale > Detaliile subiectului
[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

Editat ultima dată de hackthis02; 4 mart. @ 8:05
< >
Se afișează 1-13 din 13 comentarii
Update
Editat ultima dată de hackthis02; 12 febr. @ 10:39
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?
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.
Update
Editat ultima dată de hackthis02; 12 febr. @ 10:39
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.
That would be interesting. Here is my github, if you want to use the logic.

https://github.com/hackthis02/SR.Plugin.RazerChroma
Postat inițial de 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 :)
Postat inițial de 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.
Postat inițial de hackthis02:
Postat inițial de 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.
Are they clones after you highjack them? I thought they only became clones after your sent them off to the cloner.
Postat inițial de 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.
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()
Editat ultima dată de Caldor; 4 mart. @ 9:13
< >
Se afișează 1-13 din 13 comentarii
Per pagină: 15 30 50

Satellite Reign > Discuții generale > Detaliile subiectului