Data Realms Fan Forums
http://45.55.195.193/

HELP: Putting Guns in the Actor Viewer + offsets
http://45.55.195.193/viewtopic.php?f=1&t=45202
Page 1 of 1

Author:  DevMode [ Sun Mar 24, 2013 6:27 am ]
Post subject:  HELP: Putting Guns in the Actor Viewer + offsets

I am very confused as to exactly how to put guns on actors, so that you can refresh the actor viewer thus refreshing the gun. Whenever i try to add the gun to an actor.ini, it just doesn't show up in the editor. Help?

I'm also having trouble with offsets, however i figured i could try to fix those myself once i had the actor viewer fixed, so if it comes to me posting the coding i will

Thanks for your time

Author:  p3lb0x [ Sun Mar 24, 2013 11:46 am ]
Post subject:  Re: HELP: Putting Guns in the Actor Viewer + offsets

Code:
AddActor = AHuman
   CopyOf = Soldier Light
   InstanceName = Offset test
   Buyable = 1
   AddInventory = HDFirearm
      CopyOf = YOUR_FIRE_ARM_HERE


There's a pretty comprehensive guide for offsets somewhere. Try looking in the modding guide collection thread.

Author:  DevMode [ Mon Mar 25, 2013 2:23 am ]
Post subject:  Re: HELP: Putting Guns in the Actor Viewer + offsets

much obliged :)

Author:  DevMode [ Mon Mar 25, 2013 2:51 am ]
Post subject:  Re: HELP: Putting Guns in the Actor Viewer + offsets

hold on- i'm putting that script in actors.ini and it's breaking other scripts...

where do i put it?

Author:  p3lb0x [ Mon Mar 25, 2013 12:46 pm ]
Post subject:  Re: HELP: Putting Guns in the Actor Viewer + offsets

I would put it right after you have defined your gun. But, you can define it at any point after you've defined your gun. This also makes it handy for disabling it later as you know what gun the test actors is holding and should be able to quickly find and remove the code.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/