Predator and prey relationship - possible?

Old and generally outdated discussions, with the rare hidden gem. Enter at your own risk.

Moderators: Haplo, Lead Developers

Locked
Anonymous

Predator and prey relationship - possible?

Post by Anonymous »

Do any plans exist to create a predator/prey relationship for TR via scripting? Would this even be possible or desireable?
This is not meant to simulate an ecology (which IMO would be impossible), but as a means to make wildlife a bit more realistic.
User avatar
Stumpytheguar
Member
Posts: 631
Joined: Sun Jun 27, 2004 2:22 am
Location: Irrelevant

Post by Stumpytheguar »

<edited to remove 'spam' content>
Last edited by Stumpytheguar on Mon Nov 22, 2004 6:53 am, edited 1 time in total.
Retired - Sept. 15, 2005
User avatar
Vernon
Developer Emeritus
Posts: 2145
Joined: Wed Sep 29, 2004 11:57 pm
Location: Sydney, Australia

Post by Vernon »

Damn good idea though. :)
welp
FatalChaos
Member
Posts: 12
Joined: Tue Nov 02, 2004 12:37 am

Post by FatalChaos »

I've seen mods that make certain animals neutral towards you, or modifies thier AI. can't u just make it so that they are hostile towards the prey? Also, after they kill the prey, the prey's body should dissapear i think :).
Close your eyes, and see the world.
User avatar
Aaron
Developer
Posts: 276
Joined: Sat Sep 11, 2004 9:00 pm
Location: My own little world
Contact:

Post by Aaron »

Nope, only way to make a creature attack another creature (or NPC) is via startcombat, and that requires a name for what to start combat on. Annoying, but true. Although... there is one odd point, guards will attack monsters that come into towns. So I'm not sure how that's done. Maybe something could be built off of that if we knew how it worked.
Claims completed:
Yashazmus, Shrine of Mehrunes Dagon
Mzankh, Dwemer Ruin
Nchazdrumn, Dwemer Ruin
Sirrilas, Shrine of Mephala
Moriken, Abandoned Dunmer Stronghold
Old Necrom Morag Tong GH
Darconis Diamond Mine
Assorted other boring claims.
Vegor
Developer Emeritus
Posts: 2040
Joined: Sun Mar 07, 2004 4:11 pm
Location: No

Post by Vegor »

Yeah, too bad that's hard coded, so we can't do anything with that.

We could add some unique events in the Wilderness of predators attacking sick or weak creatures (both with unique IDs) but I don't think it will be possible to make them attack each other all the time via scripting.
User avatar
Majra
Developer Emeritus
Posts: 1871
Joined: Fri Jan 16, 2004 3:23 am
Location: Darvulk Haven Elsweyr
Contact:

Post by Majra »

it can also be done through some innovative creature animations, if the creatures are treated as one, and the predatorial actions are put under an idle action... so like if idle 1 is running, the predator can dig up some buggie, and eats it (roxor) only problem would be as soon as the attack animation occurs it would stop in the middle of its idle motion, so it would all of a sudden lose the prey magically. (we wouldnt want it to drag the prey along with it) thus it would also probably have to be an unmoving animal. the only other thing I would say is through scripting have a specific animation, then when attack is initiated to completely replace the model with another model, this could cause again that jumpyness(seems unavoidable) but with really good ability it could be masked
R:6 I:22 N:30
Screw it, I'm back for sweet sweet TR

Uldar Gerzae: Expect no dodgeballs out of my arse. Though if something were to shoot out of me nether regions it mgiht be wise to dodge it all the same
Vegor
Developer Emeritus
Posts: 2040
Joined: Sun Mar 07, 2004 4:11 pm
Location: No

Post by Vegor »

Ehm.. yeah I guess that would be possible. But would all that effort be worth it? I don't know, I think it would be very hard and a lot of work to create all that. And I don't know whether the result will be convincing at all. But if anyone wants to try it, go ahead. :D
Anonymous

Post by Anonymous »

Vegor wrote:Yeah, too bad that's hard coded, so we can't do anything with that.

We could add some unique events in the Wilderness of predators attacking sick or weak creatures (both with unique IDs) but I don't think it will be possible to make them attack each other all the time via scripting.
Would that be similiar to how Hroldar the wolf is scripted in Bloodmoon (the one in Raven Rock)?
To have animals attack eachother all the time would probably be killing FPS anyway, but having for example wolves attack a few unique ID deers or boars shouldn't be too CPU intensive.
The NPC/creature behaviour in Morrowind is really lacking in several aspects :(
User avatar
Stumpytheguar
Member
Posts: 631
Joined: Sun Jun 27, 2004 2:22 am
Location: Irrelevant

Post by Stumpytheguar »

<edited to remove 'spam' content>
Retired - Sept. 15, 2005
Locked