4zK's content update #3: Base.rte v0.2#52
Conversation
…different frame when HFlipped
…ors are destroyed One Man Army activities, PosRand() function changed to math.random(), removed Difficulty factor from Crab unit spawn method (since it calls for crabs to be spawned even when crab-to-human ratio is zero)
…andomly less while walking, AI uses grenades if in a flanking position, AI only attacks doors if capable of harming them and prefers Heavy Digger for breaching + other minor edits/organization
…y Base.rte weapons or create new ones?)
…tor, no longer relies on filthy Sharpness hack for different modes
garethyr
left a comment
There was a problem hiding this comment.
I've not yet playtested, I'll have separate comments for that, but this is just lua related comments. You've been making some good use of multiscripts, which I'm a big fan of, and a lot of the comments I've left are suggestions on how you could do even more with them. Lemme know if you've got questions, playtest comments coming soon.
|
|
||
| Owner:EquipNamedDevice("Medikit", true) | ||
| self.useMedikit = true | ||
| self.useMedikit = Owner:EquipNamedDevice("Medikit", true) |
There was a problem hiding this comment.
Would probably be nice to put together some Medical Equipment group or something, and check for that. That way mods can have medikits work properly too. Maybe this isn't so easy though.
There was a problem hiding this comment.
I thought of this also, though mods with medikits tend to be actor-specific and might mess up in other ways.
| local forceVector = dist:SetMagnitude((self.strength - strSumCheck) /distFactor); | ||
| mo.Vel = mo.Vel + forceVector /massFactor; | ||
| mo.AngularVel = mo.AngularVel - forceVector.X /(massFactor + math.abs(mo.AngularVel)); | ||
| local forceVector = dist:SetMagnitude((self.strength - strSumCheck)/distFactor); |
There was a problem hiding this comment.
Looks like there's some odd whitespace here.
There was a problem hiding this comment.
Odd, I don't see anything on my end. Maybe I forgot something.
There was a problem hiding this comment.
It looks like there's a tab between the = and dist instead of a space?
|
Gameplay comments and thoughts, don't have to all be addressed in this PR and not all are your responsibility:
|
garethyr
left a comment
There was a problem hiding this comment.
One minor lua thing that I'm not sure why you put in.
| @@ -1,4 +1,6 @@ | |||
| --Use this script to display a different sprite frame when facing left, instead of the same sprite mirrored | |||
| function Create(self) | |||
There was a problem hiding this comment.
Kill this off. You shouldn't need this on source dev, if you still do, message me cause that's not good!
Mostly various minor fixes, but also some new stuff, including:
In addition, the AI is now smarter and can do the following: