Frictional Games Forum (read-only)

Full Version: Import/use weapons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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. Big Grin
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.
You could make it swords and use AddEntityCollideCallback, and SetPropHealth(0.0f); ?
(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)

(01-17-2012, 06:06 PM)SilentStriker Wrote: [ -> ]
(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)
void OnStart()
{
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.
Combine the two, make a nice script. Then message me and i'll make you a free gun model.
I'm serious.
fuck just go play cod
(01-18-2012, 03:42 AM)Tripication Wrote: [ -> ]fuck just go play cod
Seriously... 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.
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.
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 Smile
Pages: 1 2