View unanswered posts | View active topics It is currently Thu Jan 09, 2025 3:53 pm



Reply to topic  [ 3 posts ] 
 how do you reload an rte without reloading the entire game 
Author Message
User avatar

Joined: Tue Apr 10, 2007 10:32 pm
Posts: 830
Reply with quote
Post how do you reload an rte without reloading the entire game
irc is worthless so


Wed May 13, 2009 11:23 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: how do you reload an rte without reloading the entire game
Depends what you need to re-load.

If it's an actor or gun, then you can use the actor viewer.

To load an actor, simply make it, go into actor viewer, then use the Force .Ini Reload function.

To re-load a gun, simply duplicate a standard actor and AddInventoryItem = HDFirearm/CopyOf = yourgun.

For anything else (assuming there's no button in b23 for it), you're SOL.


Thu May 14, 2009 12:03 am
Profile

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: how do you reload an rte without reloading the entire game
Grif wrote:
To re-load a gun, simply duplicate a standard actor and AddInventoryItem = HDFirearm/CopyOf = yourgun.


What I did in my BW mod is make everything load through the actor.

I had every IncludeFile all in the beginning of the actor's .ini file. This would allow instantly to reload the whole thing through the actor viewer.

Doesnt work if you made changes to a sprite though : /


For reloading Lua scripts, use this:
PresetMan:ReloadAllScripts();

The next new objects that arrive in the scene will have the new script loaded on them.


Thu May 14, 2009 9:44 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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.044s | 14 Queries | GZIP : Off ]