Functions - Game Engine Capabilities - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: General Discussion (https://www.frictionalgames.com/forum/forum-18.html) +--- Thread: Functions - Game Engine Capabilities (/thread-8131.html) |
Functions - Game Engine Capabilities - nemesis567 - 05-19-2011 I'm wondering if some functions exist, because I can't find them. So, tell me if they exist: -Create a static object/Area Via Script; -Disconnect a body from a rope/CXonnect a body to a rope; -Change a determined entity model Via script; Now I'd like to know if the game engine allows the following procedures: -Create a friendly NPC; -Create a new lantern type item(without replacing lantern nor messing up with the sys files) -Create a moveable object(And object that moves as specified in the script with the speed specified in the script, in the direction specified in the script); RE: Functions - Game Engine Capabilities - Tanshaydar - 05-20-2011 - You can set entities' state as static if they are not already static objects via functions: SetPropStaticPhysics("entity_name", false); - Open Justine's first map. (InteractConnectPropWithMoveObject) - SetEntityActive function comes handy in every situation. You can turn a mouse into an elephant - Friendly NPC? You mean like Agrippa? Or a friendly Grunt who would give you a real hug. Grunt: no, Agrippa: yes - Check out Flashlight topic and my posts about full conversion. Different lantern type objects at the same moment is not allowed. - You can create many types of object. Check out my elevator gameplay to see if that's what you want. Seriously, mess with ModelEditor and functions. Engine is capable of much more than we can imagine. RE: Functions - Game Engine Capabilities - nemesis567 - 05-20-2011 So: Create a static object- Can't be done. EDIT: maybe it can but without efficiency since it has to stream the entity first, but maybe by creating an entity and turning it into static. Friendly NPC - Can't be done(Agrippa is not an NPC(Non Player Character) since it doesn't even move). But this makes me ask the question, how do you make the rats to be friendly? "- Open Justine's first map. (InteractConnectPropWithMoveObject)" Let's suppose I have a box and a rope. Do I need to Place the Box in the rope entity EndBody TextBox? How exactly do I do that. RE: Functions - Game Engine Capabilities - Apjjm - 05-20-2011 (05-20-2011, 02:00 PM)nemesis567 Wrote: Create a static object- Can't be done. It can be done: Code: void CreateEntityAtArea(string& asEntityName, string& asEntityFile, string& asAreaName, bool abFullGameSave); RE: Functions - Game Engine Capabilities - Tanshaydar - 05-20-2011 (05-20-2011, 02:00 PM)nemesis567 Wrote: So: -Static objects, there are multiple solutions for what you are asking. Putting an object and deactivating it in editor, then activating it from script in game is a solution too. -Agrippa moves his head to you. -Critters are not NPC, but if you want you can create new critters in Model Editor. -Are you asking for engine capabilities or how to's? (Yes, endbody, with an rope end posnode) Engine is not a person that will do everything you ask, it's just an engine. You have to learn the tricks how to control it to make everything you want to do. Even if it's limited compared to Source or other popular engines, it still lets you to do many things. RE: Functions - Game Engine Capabilities - nemesis567 - 05-20-2011 Source engine is limited too, but VHE makes it easy to work on. RE: Functions - Game Engine Capabilities - Tanshaydar - 05-20-2011 Every engine has its limits, nothing is unlimited except Palpatine Attacking spiders? Critters don't attack you, this, if you are talking about HPL2. Though, I haven't seen anyone using critter_spider in their custom stories to clarify them as non-attackers. RE: Functions - Game Engine Capabilities - nemesis567 - 05-20-2011 Edited...-..... RE: Functions - Game Engine Capabilities - Tanshaydar - 05-20-2011 Wow, I'd use them Other critters don't attack. RE: Functions - Game Engine Capabilities - nemesis567 - 05-20-2011 I'm using them, but I'd like to have some custom ones. |