Entity Source code manipulation

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
latinomodder





Posts: 1040
Joined: Tue Sep 20, 2005 5:51 pm
Location: Costa Rica

Entity Source code manipulation

Post by latinomodder »

Code: Select all

             DeathZone ps = new DeathZone();
                ps.offset = tempr + (68 * x) + 36;
                ps.X = Maps.map[mapnumber].BR.ReadSingle();
                ps.Y = Maps.map[mapnumber].BR.ReadSingle();
                ps.Z = Maps.map[mapnumber].BR.ReadSingle();
                //   Maps.map[mapnumber].BR.ReadSingle();
                ps.width = Maps.map[mapnumber].BR.ReadSingle();
                ps.height = Maps.map[mapnumber].BR.ReadSingle();
                ps.length = Maps.map[mapnumber].BR.ReadSingle();

                

                float widthhalf = ps.length / 2;
                // ps.X = ps.X - widthhalf;
                widthhalf = ps.width / 2;

                ps.Y = ps.Y + widthhalf;

                widthhalf = ps.height / 2;
                ps.Z += ps.length / 2;
              MessageBox.Show("DeathZone");
              
           ps.ModelTagNumber = bipdmodeltag;
                    ps.ModelName = Maps.map[mapnumber].FileNames.Name[ps.ModelTagNumber];
                    Spawn.Add(ps);
               
This is what I added for death walls, before they weren't clickable. I added an MC model to them, but entity's source (was acting weird because of an error I made) and wont compile any reason why?
Last edited by latinomodder on Fri Mar 02, 2007 3:19 pm, edited 1 time in total.
Image
User avatar
Anthony




Translator Connoisseur New Age ONI

Posts: 1001
Joined: Thu Jul 06, 2006 10:19 pm
Location: Whittier, CA
Contact:

Post by Anthony »

if it sucks so much then close C# and don't even open it again....

I would be glad to help but I don't appreciate you bad mouthing something I helped work on and put a lot of time into...
DarkMetal





Posts: 444
Joined: Sun May 28, 2006 11:28 pm
Location: Jacksonville, FL

Post by DarkMetal »

Was it you who I talked to on DeToX's aim? Yea, please don't talk down about entity... it's more amazing than anything you'll make this year.
Image
User avatar
r0tten
Readers Club




Recreator Wordewatician 500

Posts: 1734
Joined: Sun Jan 22, 2006 8:41 pm

Post by r0tten »

wow liek don't talk bad bout entity itz teh perfect program! it nvr killz maps or crashes liek evr!


could it be he is right and it's just not working? why not try to help instead of worrying about who bad mouthed your precious entity :roll: this would be a nice add on and you guys are worried about him saying it's compiler sucks. call a waaaaambulance.
User avatar
kibito87




Stylist Connoisseur Advisor Bloodhound
Droplet Articulatist 500

Posts: 3461
Joined: Mon Feb 21, 2005 7:49 pm
Location: Ohio
Contact:

Post by kibito87 »

Why would you want to help somebody modify your program if they badmouth it?
Image
User avatar
snakejknight




Trickster Wave Pyre Wordewatician 500

Posts: 693
Joined: Sun Jun 04, 2006 1:00 pm
Location: North Hollywood California

Post by snakejknight »

i love entity, it is honesly my favorit app :)
but entity could use a couple things

1 death zones should be renamed trigger volumes because thats wat they are
2. it would be great to be able to manipulate them in the bsp viewer (length, width, height) and no curent entity has them so they can be selected individualy.
3. also the newer entity's remove the bounding box unless selected, the deathzones (trigger valumes) have no model, so they are invisible

Can someone please either update this, or tell latino modder how... we'r workin on perfecting some new things and it would be a great help.

I apologise for any bad mouthing done, but please help
User avatar
latinomodder





Posts: 1040
Joined: Tue Sep 20, 2005 5:51 pm
Location: Costa Rica

Post by latinomodder »

I said sucks because I'm a noob who didn't notice that C# saved itself :?. Don't get me wrong I love entity only that I thought the source was wrong, now could someone please help me, oh btw this is for vehicle teleporters.
Image
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

snakejknight wrote:1 death zones should be renamed trigger volumes because thats wat they are
if your really bothered about that just edit change the name in the plugin
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
User avatar
latinomodder





Posts: 1040
Joined: Tue Sep 20, 2005 5:51 pm
Location: Costa Rica

Post by latinomodder »

anyone please? I already said I regret saying that
Image
Post Reply