View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:12 am



Reply to topic  [ 5 posts ] 
 HELP: Putting Guns in the Actor Viewer + offsets 
Author Message

Joined: Mon Jan 17, 2011 5:01 am
Posts: 13
Reply with quote
Post 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


Sun Mar 24, 2013 6:27 am
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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.


Sun Mar 24, 2013 11:46 am
Profile

Joined: Mon Jan 17, 2011 5:01 am
Posts: 13
Reply with quote
Post Re: HELP: Putting Guns in the Actor Viewer + offsets
much obliged :)


Mon Mar 25, 2013 2:23 am
Profile

Joined: Mon Jan 17, 2011 5:01 am
Posts: 13
Reply with quote
Post 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?


Mon Mar 25, 2013 2:51 am
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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.


Mon Mar 25, 2013 12:46 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.049s | 13 Queries | GZIP : Off ]