Page 1 of 1

Entity Source code manipulation

Posted: Thu Mar 01, 2007 7:44 pm
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?

Posted: Thu Mar 01, 2007 7:54 pm
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...

Posted: Thu Mar 01, 2007 9:09 pm
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.

Posted: Thu Mar 01, 2007 9:13 pm
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.

Posted: Thu Mar 01, 2007 9:40 pm
by kibito87
Why would you want to help somebody modify your program if they badmouth it?

Posted: Thu Mar 01, 2007 9:59 pm
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

Posted: Fri Mar 02, 2007 7:41 am
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.

Posted: Fri Mar 02, 2007 8:26 am
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

Posted: Fri Mar 02, 2007 3:29 pm
by latinomodder
anyone please? I already said I regret saying that