Topic: Neutral / wild enemies
blind3rdeye Topic Opener |
Posted at: 2024-10-19, 05:31
I'm wondering how feasible it would be to implement enemies with traits something like the following
I'm imaging something like what happens when you land an army from a warship, but spawned in some other way rather than landed from a ship; and not associated with any main player. The reason I'm suggesting this is that I reckon in some maps it would be good to have a little bit of minor military pressure from non-players while building and exploring, in advance of full-scale war with actual players. In particular, I find that I large maps I often basically ignore military training until I'm starting to get close to the enemy, then ramp up rapidly. It goes from basically zero military, to a full army of heroes, then an explosive short battle on the frontline, then it is basically over. I just wonder if it might more interesting with some stages along the way. I wonder if some small low-level threats from non-players might be interesting, just enough that expansion requires some conflicts in advance of more serious threats. I don't imagine including this in every map. Maybe it would only be for scripted special scenarios; or maybe as a game creation option. Top Quote |
Nordfriese |
Posted at: 2024-10-19, 09:47
I see the point, though I'm not comfortable with the idea of integrating such an artificially fighting-heavy feature directly in the main codebase. This could be done more or less as an add-on. We could reuse the existing naval invasion code to let soldiers guard any arbitrary location, not just portspaces. We'd only need a new Lua function to allow creation and placement of invasion soldiers at a scripting-defined location, then this can all be scripted. Making them independent from a player would be the hardest part. You'd instead have to designate one (AI or empty-AI) player for this. Although there have been other suggestions in the past around adding a player via scripting, this would be a lot harder to implement but if it can be got working it would open up a lot of new options for add-ons. Top Quote |
Ogg |
Posted at: 2024-10-20, 15:04
- Edited: 2024-10-20, 20:40
Top Quote |
kaputtnik |
Posted at: 2024-10-20, 19:03
I think this is same category like natrual disaters or other suggestions like Realistic random events.
I am not sure about that. How can those beasts be defeated? Top Quote |
blind3rdeye Topic Opener |
Posted at: 2024-10-23, 00:07
Ok, I think maybe Nordfriese is right. What I was saying did sound a bit artificially fighting heavy - and in most situations that doesn't really suit the style of gameplay. So I'm not sure. I still think my idea is well motivated, I reckon something along those lines would be good - but probably not quite what I described. I'll think about it some more and maybe have a better idea in a year or so! :p Right now, I'm thinking that perhaps randomly spawning and attacking is a bit too much; but simply have neutral enemies passively guarding some parts of the map might be ok. I'm imaging something like the neutral enemies in Warcraft 3, which guard some key areas to prevent overly-rapid expansion. (In war3, there's more to it than that, because of xp and items etc, but I'm only really interested in their ability to guard parts of the map right now.) I guess that kind of guarding could be done already by just having a 'No AI' enemy with some military buildings pre-built in certain parts of the map. But somehow that doesn't quite meet what I'm looking for. I want it to look/feel a bit less formal than fighting a full tribe. Anyway, that's about all I've got right now. (@kuputtnik, I'm not sure if you're comments are in response to the wild enemies idea or to something Ogg said and deleted. Probably the later, I suppose.) Top Quote |
tothxa |
Posted at: 2024-10-23, 00:16
Well, there's a set of experimental add-ons by @aDiscoverer based on this topic: https://www.widelands.org/forum/topic/5795/ to add defenders to artifacts. (though I haven't tried them myself) I think that should be very close to what you've described. Top Quote |
Schmitti81 |
Posted at: Today 09:02
Sounds like the barbarians in Civilizations. Could also be randomly placed buildings on a map with e.g. 3 soldiers for a tribe. Top Quote |