Actor Cloning System by Charlie Fleed - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: Actor Cloning System by Charlie Fleed (/thread-765.html) |
Actor Cloning System by Charlie Fleed - Charlie Fleed - 02-09-2010 Actor Cloning System by Charlie Fleed
Version 0.1 (09-03-2011) Introduction Its a WIP, there could be some bugs... But it basically allows you to add 1 or more 'copies' of an actor from the Actor database into your party. Essentially, Aluxes can add Basil Jr., Basil Jr. and Basil Jr. to fill his 4-person squad despite having only one Basil in the database. Instructions To work, you must define an empty 'actor' (eg: "Last Clone") as a place-holder after all normally used actors. This blank/empty actor works with the Name Input Process command to let you rename cloned actors. Following the empty actor is where you create the repository for all actors that may be cloned. To add a 'clone' of an actor from the database, use... $game_party.add_actor($game_actors.clone_actor( actor_id ).id) ...where the actor_id is the ID of the actor in the database. This creates a copy/clone of the actor from the database, and not actually load the actor itself. This can be followed up with the Name Input Process event command tied to the empty "Last Clone" actor which will pass the new character name to the clone of the actor copied from the database. Demo http://www.mediafire.com/download/9ue1o389qi01iqj/Actor_Cloning_System_v0.1.zip The demo was created with an earlier version of RPGMaker XP v1.02 using the RGSS102E.dll. To work with newer editions, replace the Game.Exe, the Game.rxproj, and edit the Game.Ini file to change the DLL listed as use in the 'Library' heading. Actor Cloning System by Charlie Fleed - chickendips - 02-09-2010 sounds neat and might come in handy. will give it a try o^.^o Actor Cloning System by Charlie Fleed - jubhub731 - 02-09-2010 Sweet it is like something i have been looking for (i was about to request something like this :P) Thanks i can wait for more of it ! Actor Cloning System by Charlie Fleed - desbrina - 02-09-2010 thanks, its almost perfect. My only question: Is there a way of adding an actor, but not to the party. Like in my example on my original thread, hatch the egg, not straight away adding it to the party? Actor Cloning System by Charlie Fleed - Charlie Fleed - 02-09-2010 Yes, there is. For example: Code: $game_actors.clone_actor(12) clones actor number 12, puts it in the database, and returns the new Game_Actor object. You may want to store the id of the new actor for later use with something like: Code: $game_variables[67] = $game_actors.clone_actor(12).id the new actor should be then available as Code: $game_actors[$game_variables[67]] Actor Cloning System by Charlie Fleed - desbrina - 02-09-2010 thanks, i'll have a play with that later Edit thanks, works perfecty |