Import/use weapons - 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: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Import/use weapons (/thread-12673.html) Pages:
1
2
|
Import/use weapons - Ravenskull - 01-17-2012 Is there any way to import,create or use weapons in a custom story to fight against monsters? Im not good with scripting and so on but I can imagine that you can change life values for monsters and add a script which gives demage to s.th. I need your advice, because i´m creating a new mod in which I want to use a heavy sandal-wood-revolver with massive bullets to fight against monsters. RE: Import/use weapons - BlueFury - 01-17-2012 You may script something so good that it creates entities flying towards your target. And no, it's not possible. This game is for Amnesia gameplay though, make a Source mod if you want guns. RE: Import/use weapons - flamez3 - 01-17-2012 You could make it swords and use AddEntityCollideCallback, and SetPropHealth(0.0f); ? RE: Import/use weapons - SilentStriker - 01-17-2012 (01-17-2012, 05:18 PM)BlueFury Wrote: You may script something so good that it creates entities flying towards your target. And no, it's not possible. This game is for Amnesia gameplay though, make a Source mod if you want guns.It's actually possible to "kill" a enemy, YourComputer have made a script that made him able to "kill" the grunt. He used a sword model and then he picked it up as a entity (not a item) and then he started swinging and the grunt died (turn up in smoke) RE: Import/use weapons - flamez3 - 01-17-2012 (01-17-2012, 06:06 PM)SilentStriker Wrote:void OnStart()(01-17-2012, 05:18 PM)BlueFury Wrote: You may script something so good that it creates entities flying towards your target. And no, it's not possible. This game is for Amnesia gameplay though, make a Source mod if you want guns.It's actually possible to "kill" a enemy, YourComputer have made a script that made him able to "kill" the grunt. { AddEntityCollideCallback("Sword", "Grunt", "MonsterDie", true, 1); } void MonsterDie(string &in asParent, string &in asChild, int alState) { SetPropHealth(0.0f); } As I said before, that is the only way you can really do it. RE: Import/use weapons - BlueFury - 01-17-2012 Combine the two, make a nice script. Then message me and i'll make you a free gun model. I'm serious. RE: Import/use weapons - Tripication - 01-18-2012 fuck just go play cod RE: Import/use weapons - Statyk - 01-18-2012 (01-18-2012, 03:42 AM)Tripication Wrote: fuck just go play codSeriously... I appreciate the test to make a "shooter" in Amnesia/HPL2 engine. But the whole reason Amnesia is what it is, is that there were no weapons >> Please, don't let me stop you, I just don't see why you don't make a Source mod. RE: Import/use weapons - Shadowfied - 01-18-2012 While I love the fact that Amnesia has no weapons, I still think it would be cool to make in a custom story. Frictional Games was first going to make this a more action-oriented game, which turned out totally opposite though. There are even settings for the grunt like "HitPS_Sword" which says when you hover your mouse over it "Sound when hit by sword" and there are options for bullets too. Seeing how Apjjm was able to make Tetris in this engine, I definitely think it's POSSIBLE (not at all saying it's easy) to do. RE: Import/use weapons - Kman - 01-18-2012 It's most definitely possible, but it would take an intense ammount of work. You'd have to make the model, then you'd have to make animations for it, then you have to edit all of the premade Amnesia models so they'll be effected by it when hit, then you would have to script everything to work right, etc. The point is with how much work it would take it might not be the most practical thing, but if you want to go ahead and make a weapon, go for it |