View Single Post
  #5  
Old 11-10-2022, 09:11 AM
Oscarmike247 is offline Oscarmike247
Oscarmike247's Avatar
Registered User

Join Date: Feb 2018
Posts: 229

Quote:
Originally Posted by Baldo_the_Don View Post
I've been modding NeverLogic games a long time, and I only recent learned about the RenderFOV command for the weapon.def. That one's a game-changer. So raw-coordinate teleporting in the .wac is probably not a thing, but it might be.

This is off topic, but something else I've recently discovered. Maybe everyone has always known this, IDK... Maybe you could use it.

"CtrlReg" this is used in the weapon.def under the weapon actions to trigger a control register when that action is performed. This can then be used with the control registers in the SOED. So you could say, play a part animation on the gun model when the weapon is fired, or trigger the texture to do something when it recoils, switch rank, Scopeup...etc. maybe if you have something that glows on the gun, you can make it glow brighter or change color.

Example...

Code:
ACTION	"SCOPEUP"							
	DELAYSTART	1							
	DELAYEND	1							
	FUNCTION	SCOPEUP							
	SOUNDSET	GF_45_ST	
	CTRLREG		WPN_TRIGGER			
END
Now in the SOED, you would for example set the brightness of a reddot to turn up with the control register "WPN_TRIGGER". Now when the player scopes in, the model will perform the given action.

Haven't implemented this for anything yet, but it's kind of interesting. Maybe you would have some good ideas for it.
Reply With Quote