Page 1 of 4

Vehicle Plugin

Posted: Sat Mar 19, 2005 10:38 pm
by [files]Phenomena
This is my latest plugin, for the vehicle tag, dont ask me what anything does, because im not quite sure yet >_< if some people wont be all nice to me and play around with some of the features and tell me if they work, thatd be great :D If my theory is correct (which it probably isnt cause im exhausted :P) then this plugin SHOULD be able to make it so marines can drive hogs, cause theres alot of AI crap. SCREENIES!!

DOWNLOAD

Posted: Sat Mar 19, 2005 10:47 pm
by explosive...nuke
If it allows it to do that then will it also allow you to let you drive vehicles such as a pelican, insted of replacing Pelican-driver with W-driver?

Posted: Sat Mar 19, 2005 10:50 pm
by [files]Phenomena
no you cant do that with pc, atleast not with HMT... if my program skills were better id reprogram hmt to do stuff like that....

Posted: Sat Mar 19, 2005 10:51 pm
by explosive...nuke
There really is no need to re-program, just make a plugin which allows this feature.

Posted: Sat Mar 19, 2005 10:53 pm
by [files]Phenomena
you cant, you would HAVE to reprogram hmt to add reflexives, adding reflexives is just adding a single offset, itll actually increase the tag size =\

Posted: Sun Mar 20, 2005 2:43 am
by MasterNeoChief
Phenom, you're my personal GOD RIGHT NOW!!!

Edit: Wait, there are some big errors in there... I'll show them later on.

Posted: Sun Mar 20, 2005 4:43 am
by nR`Shadow
cant you upload it on a different site that one
you need to have to registered tsss

Posted: Sun Mar 20, 2005 4:44 am
by shadowkhas
Kills Rider on Terminal Velocity?! R0X!!!!

Posted: Sun Mar 20, 2005 5:55 am
by MasterNeoChief
Anyway, Phenomena:

The whole bottom part where it says the seats and stuff doesn't work. Gives errors. It names every seat the same, even though it's not in game. That's the main error that I can find ;)

Posted: Sun Mar 20, 2005 6:12 am
by nR`Shadow
yeah same

Posted: Sun Mar 20, 2005 6:45 am
by CtrlAltDestroy
Another amazing plugin by Phenomena. :D

Posted: Sun Mar 20, 2005 7:27 am
by destroyer
could u make a.i dribve like a warthog with this? :)

Posted: Sun Mar 20, 2005 7:48 am
by ExileLord
w00t. I'll take a look into hacking his plugins to fix whats wrong if i can :P

Posted: Sun Mar 20, 2005 8:11 am
by Mr Potter
how do you guys make plugins for HMT and such, i was planning to make some plugins of my own but i don't know how. :(

Posted: Sun Mar 20, 2005 8:23 am
by Pacifica
they are for HMT

Posted: Sun Mar 20, 2005 8:43 am
by MasterNeoChief
destroyer wrote:could u make a.i dribve like a warthog with this? :)
Probably. I'm still trying to find out. If I do, I'll send you a PM (Don't want everyone to know ;))

Posted: Sun Mar 20, 2005 8:43 am
by ExileLord
The only way I know of is xml editing which is what the plugins are.

Posted: Sun Mar 20, 2005 9:45 am
by 4601 GT
L33T wrote:Another amazing plugin by Phenomena. :D
ditto :D

Posted: Sun Mar 20, 2005 10:12 am
by [files]Phenomena
heheh thanks :D and i knew there would be problems with something >_> i made this las tnight at 1 in the moringin so i was tired :P I'll try and fix the errors and then ill post the code you can just copy and paste it and resave, that way you dont have to redownload :P

okay heres the fixed code, just open the vehi plugin in notepad and copy this code over everything else

Code: Select all

<plugin>
<tag>vehi</tag>
<struct>
<name>Main</name>
<size>2310</size>
<value>
<type>reflexive</type>
<offset>0x2E4</offset>
<name>Seat</name>
</value>

<value>
<type>bitmask32</type>
<offset>0x2F0</offset>
<name>Flags</name>
<bitmask>
<bit> 32 </bit>
<name>Speed Wakes Physics</name>
</bitmask>
<bitmask>
<bit> 31 </bit>
<name>Turn Wakes Physics</name>
</bitmask>
<bitmask>
<bit> 30 </bit>
<name>Driver Power Wakes Physics</name>
</bitmask>
<bitmask>
<bit> 29 </bit>
<name>Gunner Power Wakes Physics</name>
</bitmask>
<bitmask>
<bit> 28 </bit>
<name>Control Opposite Speed Set Brak</name>
</bitmask>
<bitmask>
<bit> 27 </bit>
<name>Slide Wakes Physics</name>
</bitmask>
<bitmask>
<bit> 26 </bit>
<name>Kills Rider at Terminal Velocity</name>
</bitmask>
<bitmask>
<bit> 25 </bit>
<name>Causes Collision Damage</name>
</bitmask>
<bitmask>
<bit> 24 </bit>
<name>AI Weapon Cannot Rotate</name>
</bitmask>
<bitmask>
<bit> 23 </bit>
<name>AI Does not Require Driver</name>
</bitmask>
<bitmask>
<bit> 22 </bit>
<name>AI Unused</name>
</bitmask>
<bitmask>
<bit> 21 </bit>
<name>AI Driver Enabled</name>
</bitmask>
<bitmask>
<bit> 20 </bit>
<name>AI Driver Flying</name>
</bitmask>
<bitmask>
<bit> 19 </bit>
<name>AI Driver Can Side-Step</name>
</bitmask>
<bitmask>
<bit> 18 </bit>
<name>AI Driver Hovering</name>
</bitmask>
</value>

<value>
<type>id16</type>
<offset>0x2F4</offset>
<name>Type</name>
<option>
<value>00</value>
<name>Human Tank</name>
</option>
<option>
<value>01</value>
<name>Human Jeep</name>
</option>
<option>
<value>02</value>
<name>Human Boat</name>
</option>
<option>
<value>03</value>
<name>Human Plane</name>
</option>
<option>
<value>04</value>
<name>Alien Scout</name>
</option>
<option>
<value>05</value>
<name>Alien Fighter</name>
</option>
<option>
<value>06</value>
<name>Turret</name>
</option>
</value>
<value>
<type>float</type>
<offset>0x2F8</offset>
<name>Max Forward Speed</name>
</value>
<value>
<type>float</type>
<offset>0x2FC</offset>
<name>Max Reverse Speed</name>
</value>
<value>
<type>float</type>
<offset>0x300</offset>
<name>Speed Acceleration</name>
</value>
<value>
<type>float</type>
<offset>0x304</offset>
<name>Speed Deceleration</name>
</value>
<value>
<type>float</type>
<offset>0x308</offset>
<name>Max Left Turn</name>
</value>
<value>
<type>float</type>
<offset>0x30C</offset>
<name>Max Right Turn (negative)</name>
</value>
<value>
<type>float</type>
<offset>0x310</offset>
<name>Wheel Circumferance</name>
</value>
<value>
<type>float</type>
<offset>0x314</offset>
<name>Turn Rate</name>
</value>
<value>
<type>float</type>
<offset>0x318</offset>
<name>Blur Speed</name>
</value>
<value>
<type>float</type>
<offset>0x330</offset>
<name>Max Left Slide</name>
</value>
<value>
<type>float</type>
<offset>0x334</offset>
<name>Max Right Slide</name>
</value>
<value>
<type>float</type>
<offset>0x338</offset>
<name>Slide Acceleration</name>
</value>
<value>
<type>float</type>
<offset>0x33C</offset>
<name>Deceleration</name>
</value>
<value>
<type>float</type>
<offset>0x340</offset>
<name>Min Flipping Angular Velocity</name>
</value>
<value>
<type>float</type>
<offset>0x344</offset>
<name>Max Flipping Angular Velocity</name>
</value>
<value>
<type>float</type>
<offset>0x348</offset>
<name>Fixed Gun Yaw</name>
</value>
<value>
<type>float</type>
<offset>0x34C</offset>
<name>Fixed Gun Pitch</name>
</value>
<value>
<type>float</type>
<offset>0x350</offset>
<name>AI Sideslip Distance</name>
</value>
<value>
<type>float</type>
<offset>0x354</offset>
<name>AI Destination Radius</name>
</value>
<value>
<type>float</type>
<offset>0x358</offset>
<name>AI Avoidance Distance</name>
</value>
<value>
<type>float</type>
<offset>0x35C</offset>
<name>AI Pathfinding Radius</name>
</value>
<value>
<type>float</type>
<offset>0x360</offset>
<name>AI Charge Repeat  Timeout</name>
</value>
<value>
<type>float</type>
<offset>0x364</offset>
<name>AI Strafing Abort Range</name>
</value>
<value>
<type>float</type>
<offset>0x36C</offset>
<name>AI Oversteering Bounds - To</name>
</value>
<value>
<type>float</type>
<offset>0x370</offset>
<name>AI Steering Maximum</name>
</value>
<value>
<type>float</type>
<offset>0x374</offset>
<name>AI Throttle Maximum</name>
</value>
<value>
<type>float</type>
<offset>0x378</offset>
<name>AI Move Postion Time</name>
</value>
</struct>
<struct>
<name>Seat</name>
<size>284</size>
<value>
<type>bitmask32</type>
<offset>0x00</offset>
<name>Flags</name>
<bitmask>
<bit> 32 </bit>
<name>Invisible</name>
</bitmask>
<bitmask>
<bit> 31 </bit>
<name>Locked</name>
</bitmask>
<bitmask>
<bit> 30 </bit>
<name>Driverr</name>
</bitmask>
<bitmask>
<bit> 29 </bit>
<name>Gunner</name>
</bitmask>
<bitmask>
<bit> 28 </bit>
<name>Thrid Person Camera</name>
</bitmask>
<bitmask>
<bit> 27 </bit>
<name>Allows Weapons</name>
</bitmask>
<bitmask>
<bit> 26 </bit>
<name>Thrid Person on Enter</name>
</bitmask>
<bitmask>
<bit> 23 </bit>
<name>Not Calid Without Drvier</name>
</bitmask>
<bitmask>
<bit> 22 </bit>
<name>Allow AI Noncombatants</name>
</bitmask>
</value>
<value>
<type>string32</type>
<offset>0x04</offset>
<name>Marker Name</name>
</value>
</struct>

</plugin>
and resave


it SHOULD in theory allow ai drving warthogs but im not sure

Posted: Sun Mar 20, 2005 10:14 am
by MasterNeoChief
Also, Phenom, I really don't think we should forrce people into joining our site.

It's bad Karma! Plus, people will start less liking us...