"Metas"
Moderator: Altimit01
-
- Peon
- Posts: 115
- Joined: Wed Apr 26, 2006 8:51 pm
- Location: Looney toon land
"Metas"
Hey so i know nothing of using metas, i've notcied you cant jsut search up the metas under the offset list, and i think i read you subract the magic number from values to get them or something. so if someone can give me some information for me to start working with that would be great, thanks.
Smashing Pumpkins mo-facko
-
- Peon
- Posts: 115
- Joined: Wed Apr 26, 2006 8:51 pm
- Location: Looney toon land
-
- Peon
- Posts: 115
- Joined: Wed Apr 26, 2006 8:51 pm
- Location: Looney toon land
That is true, but Beast's grammatical style was somewhat questionable. I don't know how to really explain it, but metas determine characteristics of objects. Sorry if that made no sense.
PWNAGED! DON'T ASK ME MOD QUESTIONS OR I WILL JUST MAKE FUN OF YOU AND CALL YOU MEAN NAMES.Karahna wrote:I have a small penis.
-
- Peon
- Posts: 115
- Joined: Wed Apr 26, 2006 8:51 pm
- Location: Looney toon land
Dude, how do you not understand what it is? It literally defines the characteristics of the item when that meta is called upon. If I'm correct (swords no programmer here.) its part of the object oriented programming. Maybe, maybe not. But yeah, they define the specific tag of the larger item, IE a warthog. It will have a vehi tag which is "The higest up" meaning that it shows where everything else, dependancies, are located that are needed to form the vehicle. Some characteristics are also defined within the meta there, but thats a little tougher to get into and involves more reflexives, etc.
The sword.


For Programmers:
If I am understanding correctly how the coding was done, the metas are one of two things;
1.) A sub-routine that assigns values to all the variables in the class the item inherits from (in the warthog's case, vehicle). This is the less likely of the two, but unless I see the C version of the map I can't dismiss this as being possible.
2.) The hard coding for a new class of the item itself(ie warthog). This one is definitely more likely but once again I can't be 100% certain.
If I am understanding correctly how the coding was done, the metas are one of two things;
1.) A sub-routine that assigns values to all the variables in the class the item inherits from (in the warthog's case, vehicle). This is the less likely of the two, but unless I see the C version of the map I can't dismiss this as being possible.
2.) The hard coding for a new class of the item itself(ie warthog). This one is definitely more likely but once again I can't be 100% certain.
Yes, but the warthog (and everything else) could be either it's own separate class that inherits from the vehicle class, or it could be a named object that is of the vehicle class.sword wrote:mmmm, well, they share classes, the items. Like, scenery and vehicles both share the "obje" class, thus we can mess around with their spawns.
Now, I'm no programmar, I just pick things up from here and there and think on my own, but couldn't it be a sub class so to speak? IE, within the index it'll go, "ihevtinuejbo" Now, the primary class is what, object (Due to little-endian.) or is it vehi? Unit is in there too, but that isnt as important I don't think.
The sword.


Who is online
Users browsing this forum: No registered users and 6 guests