Taking damage from a static model?

Post » Thu Sep 16, 2010 5:57 pm

I have a mod that adds cacti to the landscape, would it be difficult to make these models able to hurt the player and npc's/creatures if you walk into them? I think it would add a bit to the immersion :)

Other than placing stuff in the construction set i really have no clue about this stuff :)
User avatar
jadie kell
 
Posts: 3497
Joined: Sat Jul 29, 2006 3:54 pm

Post » Fri Sep 17, 2010 2:22 am

Sounds like a great idea.

If they were activators then it's fairly straightforward.
Might also be possible to make a new baseform activator, then using FNVEdit change it to the baseID of what your cacti are currently using.
That way you wouldn't have to re-edit all cacti refs in the wasteland.

I don't think damaging creatures and npc's with them is such a good idea though.
The creatures are in their natural habitat... they wouldn't get to the size they are if they hadn't learned to avoid repeatedly headbutting the cacti.
The npc's can be dumb. I remember playing Oblivion and having a message pop up that some quest NPC was dead. I'd never even met him at that point.

Spoiler

There's an example of an activator that does damage on touch in New Vegas Steel. Those red hot bars of metal.

It always bothered me that Cass (I think it's Cass) says to keep to the roads as it's safer. Although that is where you bump into most of the trouble.
If the fauna were out to get you when you were unweary then yes... adds to the realism.

User avatar
steve brewin
 
Posts: 3411
Joined: Thu Jun 21, 2007 7:17 am

Post » Fri Sep 17, 2010 12:19 am

Thanks, and you're probably right about NPC/creatures. I'll try to look for that actvator and see how it works.
User avatar
Sarah Evason
 
Posts: 3507
Joined: Mon Nov 13, 2006 10:47 pm

Post » Thu Sep 16, 2010 7:36 pm

Should be easy to just add a trigger box with a script on it. Could get tedious if there are a lot of them though.

Begin OnTriggerEnter playerplayer.damageav health 40 ;or whatever you want for a numberplayer.say hit ;if you want the player to scream out in paintriggerscreenblood 20 ;if you want blood on the screen, number can be up to 100End

User avatar
Rebecca Clare Smith
 
Posts: 3508
Joined: Fri Aug 04, 2006 4:13 pm

Post » Fri Sep 17, 2010 4:27 am

Great, thanks!
User avatar
Channing
 
Posts: 3393
Joined: Thu Nov 30, 2006 4:05 pm


Return to Fallout: New Vegas