Hello everybody this is a mod I'm working on wich will have awesome LUA magic. Also I'm working on a library/framework to help me program it, and I'm sharing it before the mod is finished to help other people make mods.
Right now I only have one actor finished in the mod, a brain.
Strategic Unit It has an animated head, color changing body and some LUA tricks down it's sleeve. (The gifs of the radar are old, the don't show the color change in the body) Animated head
Color changing body
Grey no close units Blue more allies close Yellow same quantity of allies and enemies close Red more enemies close
Strategic radar (checks proximity between units to see holes in your defences, only when this unit is active)
Blue Dots units in your team Red Dots units in other teams Blue Lines allies in proximity Red Lines enemies in proximity
Info page (It will be used for unit quantity and other useful data)
Item Recovery Drone Automatic item recollection automaton. It has an altitude limit, but can climb walls.
Can set a zone of recovery. And has a visual weight meter.
Last edited by phezel on Thu Oct 09, 2014 8:25 pm, edited 15 times in total.
Neat stuff, the map thing looks pretty cool - nice design and seems useful.
I didn't know about the FrameMan shapefills, that's a great thing to find out about!
I guess the wall thing doesn't do anything yet, there're old threads on the forums that'll show you how to implement it if you're not sure.
Keep at it, I look forward to seeing more of your stuff.
Edit: Forgot to mention, some of your math stuff is completely unnecessary. I hope I'm not being a jerk here, but you've got some pointless stuff that really shouldn't be used, because though they may have the same effects, c++ stuff is always gonna be some tiny amount faster for the same actions. The vector to angle stuff means people don't have to remember the right trig operation(s) so that's a bit of convenience gained I guess. Your random is silly, because one can instead do math.random(min, max) or, if you want decimals, RangeRand(min, max) - I don't see much point in trying to rebuild the wheel when there are already two instances of it. Finally, your calculate_distance is both unneeded, and not entirely correct because it doesn't account for scenewrapping.SceneMan:ShortestDistance(Vector1, Vector2, boolean) does what yours does but also takes the scenewrap borders into account if the last flag is set as true. Combine that with the SceneWrapsX and SceneWrapsY properties of Scene (I think) and you can automatically take into account wrapping when it's there, which yours doesn't do. Oh, and if you want to add text actually above an actor, you should consider ToGameActivity(ActivityMan:GetActivity()):AddObjectivePoint("text", Position, Team, GameActivity.ARROWDOWN); There's also an Actor.AboveHUDPos (or something like that) property that'll give you the right position for the arrow.
Sat Sep 13, 2014 12:15 am
phezel
Joined: Thu Sep 11, 2014 5:37 pm Posts: 16
Re: Phezel Industries (WIP)
Bad Boy thanks for the feedback, the wall works, is what I use to make pie menu options that change the actor directly, I just didn't finished writing the post because I wasn't home, in the next hour or so I will write how to use it.
The mod looks nice, but needs some visual uptouching. At least, the head and the body being completely separate main colors looks weird.
Sun Oct 19, 2014 10:55 pm
phezel
Joined: Thu Sep 11, 2014 5:37 pm Posts: 16
Re: Phezel Industries(WIP)
Mohl wrote:
The mod looks nice, but needs some visual uptouching. At least, the head and the body being completely separate main colors looks weird.
Actually, the 'head' of the Strategic Unit is not the complete head, just it's nucleus. Many of the unfinnished units of this mod have one.
You can see the armor for the head in this sheet:
Also sneak peek of future content! One is a big, heavy drone for support (not even started making it). The other is a Tunneler, wich is almost finnished:
Fri Oct 24, 2014 8:24 pm
Mohl
Joined: Sat Jun 21, 2014 6:44 pm Posts: 9
Re: Phezel Industries(WIP)
I really freakin like the ideas behind this stuff. Especially the tunneler and recovery drone. The biped isn't TOO special, but the features look nice.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum