Moonfish Progress Reports
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Moonfish Progress Reports
So I've been tinkering around with Bullet3 (using BulletSharp wrapper) and kinda got this working. It janky as hell but coming along.
Some notable milestones were made in moonfish over the last month as well:
moonfish is now based on the c-sharp codeDom code-compiler and pulls tag-layouts from h2vGuerilla.exe directly
moonfish can load shader assests and try to render them in opengl (still no native shaders though)
moonfish can rebuild cachemaps (.map files) incorporating changes made to tags in memory with the output
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: Moonfish Progress Reports
Map rebuilds? Like full rebuilds?
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Re: Moonfish Progress Reports
Yea, it parses the tags out of the cache like entity would, but it doesn't shift anything around, it just re-writes the file then does a deletion-move operation on the existing file. So its a rebuild not the same map.XZodia wrote:Map rebuilds? Like full rebuilds?
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: Moonfish Progress Reports
So can you add tags from other maps?
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Re: Moonfish Progress Reports
Kinda. It just doesn't relink the string or tag Idents because I've been mulling over how I want to do that still.XZodia wrote:So can you add tags from other maps?
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: Moonfish Progress Reports
That is some seriously awesome shit.
Get a download up!
Get a download up!
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Re: Moonfish Progress Reports
I have to finish some stuff before I can release anything and I have some milestones to meet first. When I release moonfish will have a working scenario editor though, with spawn adding and removing, and placements.
- troymac1ure
- Keeper of Entity
- Posts: 1282
- Joined: Sat Aug 09, 2008 4:16 am
- Location: British Columbia, Canada, eh
- Contact:
Re: Moonfish Progress Reports
Wow Jackson! That looks incredible. I haven't touched anything H2 related in a long time, but I think I'll have to tinker when you release that.
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Re: Moonfish Progress Reports
Time for another progress reports, this time I'm actually really happy about the little amount of progress I've made.
Moonfish can now rebuild maps from a source map. Takes your source map, chews on it, and spits out a new map for you with everything hunky-dory. After getting my initial test map (ascension.map) to rebuild and load in-game I decided to blindly make a video for you guys while picking a semi-random map to rebuild (derelict.map). This video is actually the first time I tried this rebuild so you can see how that went.
This might not seem like a big feature to some but to me this is huge. This is a milestone. And for shits and giggle you could use moonfish to 'fix' black-screening maps because most of the time that is caused by an alignment issue of the meta and moonfish will automatically attempt to realign the tags properly.
Take the time this took to rebuild with a grain of salt; this is heavily debug ridden code with lots of information being sent to the console stream which slows things down considerably. The release version has a target for rebuild below 5000ms. Also it was waiting on a break-point for a while because I'm not a smart man :D
https://www.youtube.com/watch?v=9C_eHV4 ... e=youtu.be
Watch it when its live. I'm sorry about the music if it doesn't get muted. I forgot to disable the sound in shadowplay.
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: Moonfish Progress Reports
Awesome.
It amuses me that you went to all this effort but still used Entity to resign the map =P
It amuses me that you went to all this effort but still used Entity to resign the map =P
-
- Posts: 125
- Joined: Wed Feb 23, 2011 7:30 am
Re: Moonfish Progress Reports
Awesome
Does this mean I can make AI in MP with no troubles now?
Does this mean I can make AI in MP with no troubles now?
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: Moonfish Progress Reports
AI in MP is a complex subject...
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
- Click16
- Posts: 1941
- Joined: Mon Dec 31, 2007 4:36 am
- Location: United States
Re: Moonfish Progress Reports
You need a reflexive/tagblock (whatever you wanna call it) from a SP bsp, char tags, sounds, and scnr reflexives/tagblocksJacksonCougar wrote:Yea, I dunno.... what is needed for that?
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: Moonfish Progress Reports
That's bare minimum, if you dont want them to act completely stupid, theres more to it than that
-
- Posts: 338
- Joined: Sat Sep 06, 2008 2:36 am
- Location: Mexico
Re: Moonfish Progress Reports
You need in your scenario the biped, vehicle and weapon's pallete, plus ai squads, ai squad types, characters, ai zones and ai triggers.Click16 wrote:You need a reflexive/tagblock (whatever you wanna call it) from a SP bsp, char tags, sounds, and scnr reflexives/tagblocksJacksonCougar wrote:Yea, I dunno.... what is needed for that?
and in your bsp the pathfinding chunk, which is unknown16 listed in h2guerilla
after rebuilding, you have to set everything up in the scenario to make them act decent, I have discovered it's not necessary to null SID's as they can be used to reference a specific AI unit in an AI squad, plus setting up AI platoons and initial states makes them act relatively smarter, and with xzodia's AI Styles fully-mapped plugin, you can make them act more aggresively, thus enhancing the gameplay. I have pulled out all these tricks in Deep Freeze and I can say, the AI in my mod it's pretty decent, the AI banshee actually moves through the BSP really good
We are the last stand.
Aumman Anubis wrote:I'm still trying to figure out how a cat grooming defeats a failing economy.
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Re: Moonfish Progress Reports
At this point you can pretty much add whatever data you need to the tags and rebuild the map and there should not be any issues there. But you will need to edit the meta values yourself.
But I don't have gui code to do this yet, however it is literally just a couple of lines of code to add new chunks or clone chunks. The tag layouts are basically implementing IList
Edit; I lied—they are arrays but that's still pretty straight forward.
But I don't have gui code to do this yet, however it is literally just a couple of lines of code to add new chunks or clone chunks. The tag layouts are basically implementing IList
Edit; I lied—they are arrays but that's still pretty straight forward.
-
- Posts: 125
- Joined: Wed Feb 23, 2011 7:30 am
Re: Moonfish Progress Reports
That really makes me want to mod again. F3R do you know what values? And Xzodia do you mean scripting?
-
- Posts: 338
- Joined: Sat Sep 06, 2008 2:36 am
- Location: Mexico
Re: Moonfish Progress Reports
This is my latest mod viewtopic.php?f=4&t=2336 you can see there the result you can get while adding AI in MP.Thrasher Alpha wrote:That really makes me want to mod again. F3R do you know what values? And Xzodia do you mean scripting?
Well, the method I use is really old, it's a method discovered by Grimdoomer back in 2007 using H2core and H2guerilla, if you want, I can get you through these apps so you can make a successful AI in MP mod.
We are the last stand.
Aumman Anubis wrote:I'm still trying to figure out how a cat grooming defeats a failing economy.
-
- Posts: 125
- Joined: Wed Feb 23, 2011 7:30 am
Re: Moonfish Progress Reports
That would be nice. My AIM is the same as my name.
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Re: Moonfish Progress Reports
Just some basic user experience forms for Moonfxsh I started working on. It's been a trial keeping the code behind clean and separate from the base code. I expect to have a proper update soon to share but I thought I would share a teaser before hand.
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: Moonfish Progress Reports
Looks good =)