Jump to content

Sourcemod Resources: Difference between revisions

From Empires Wiki
Administrator (talk | contribs)
No edit summary
Administrator (talk | contribs)
No edit summary
Line 1: Line 1:
<div align="center">{{Note|This article is being updated for version '''2.23'''}}
<div align="center">{{Note|This article is being updated for version '''2.23'''}}</div>
{{inuse}}
'''Done'''<br />
Offsets<br />
Datamaps<br />
Dukehacks<br />
Vehicle Chassis<br />
</div>
{{SitenavNested|The Collaboratorium}}
{{SitenavNested|The Collaboratorium}}


Line 34: Line 27:
//Found By Theowningone
//Found By Theowningone
0 "Standard Machine Gun"
0 "Standard Machine Gun"
1 "Bio Machine Gun"
1 "Bio Machine Gun"    
2 ".50 Caliber Medium Machine Gun"
2 ".50 Cal Medium MG"  
3 ".50 Caliber Heavy Machine Gun"
3 ".50 Cal Heavy MG"  
4 "Anti-Tank Machine Gun"
4 "Depleted Uranium MG"  
5 "Anti-Tank Heavy Machine Gun"
5 "Depleted Uranium HMG"
6 "Chain Gun"
6 "Chain Gun"  
7 "Medium Chain Gun"
7 "Medium Chain Gun"  
8 "Plasma Machine Gun"
8 "Plasma Machine Gun"
9 "HE MG"
9 "High Explosive MG"  
10 "Standard Cannon"
10 "Standard Cannon"    
11 "Ranged Cannon"
11 "Ranged Cannon"
12 "High Explosive Cannon"
12 "High Explosive Cannon"
13 "Plasma Cannon"
13 "Plasma Cannon"
14 "Rail Gun"
14 "Rail Gun"  
15 "smallArtilleryCannon"
15 "Small Artillery Cannon"    
16 "medArtilleryCannon"
16 "Medium Artillery Cannon"    
17 "High Explosive Artillery"
17 "High Explosive Artillery"  
18 "Ranged Artillery Cannon"
18 "Ranged Artillery Cannon"    
19 "singleMissileLauncher"
19 "Standard ML"  
20 "Upgraded Missile Launcher"
20 "Upgraded ML"  
21 "Biological Warhead"
21 "Biological Warhead"
22 "Nuclear Warhead"
22 "HIT Missile"  
23 "salvoMissileLauncher"
23 "Salvo Missile Launcher"    
24 "guidedMissileLauncher"
24 "Guided Missile Launcher"    
25 "Upgraded Guided ML"
25 "Upgraded Guided ML"
26 "homingMissileLauncher"
26 "Homing Missile Launcher"    
27 "Upgraded Homing Missile Launcher"
27 "Upgraded Homing ML"
28 "salvoHomingMissileLauncher"
28 "Salvo Homing ML"    
29 "grenadeLauncher"
29 "Grenade Launcher"  
30 "Upgraded Grenade Launcher"
30 "Upgraded Grenade Launcher"  
31 "smallBombBay"
31 "Small Bomb Bay"    
32 "largeBombBay"</pre>
32 "Large Bomb Bay"</pre>


===Research===
===Research===
<pre>//These values are returned by the Multiple Offsets of the netclass CResearchResource
<pre>//These values are returned by the Multiple Offsets of the netclass CResearchResource
//Found By Theowningone
//Found By Theowningone
1 "Physics"
1 "Physics"              
2 "Superheated Material Physics"
2         "Superheated Material Physics"        
3 "Plasma Cannon Projectile"
3                 "Plasma Cannon Projectile"            
4 "Plasma Bullet Projectile"
4                 "Plasma Bullet Projectile"
5 "Projectile Physics"
5         "Projectile Physics"
6 "Reflective Armor"
6                 "Reflective Armor"
7 "Extended Range Cannon"
7                 "Extended Range Cannon"
8 "Heavy Caliber Machine Gun"
8                 "Heavy Caliber Machine Gun"  
9 "Nuclear Fission"
9         "Nuclear Fission"  
10 "Fission Reactor"
10                 "Fission Reactor"  
11 "HIT Warhead"
11                 "HIT Warhead"
12 "Chemistry"
12 "Chemistry"  
13 "Improved Flagration Compounds"
13         "Improved Flagration Compounds"
14 "Explosive Tipped Bullets"
14                 "Explosive Tipped Bullets"
15 "Improved Detonation Compounds"
15         "Improved Detonation Compounds"
16 "Upgraded Grenades"
16                 "Upgraded Grenades"  
17 "Explosive Shells"
17                 "Explosive Shells"
18 "Improved Warhead Compounds"
18         "Improved Warhead Compounds"
19 "Upgraded Missile Warhead"
19                 "Upgraded Missile Warhead"
20 "Upgraded Grenadier RPG"
20                 "Upgraded Grenadier RPG"
21 "Advanced Grenadier RPG"
21                         "Advanced Grenadier RPG"
22 "Improved Heat Transfer Fluids"
22         "Improved Heat Transfer Fluids"
23 "Advanced Coolant Engine"
23                 "Advanced Coolant Engine"  
24 "Absorbant Armor"
24                 "Absorbant Armor"  
25 "Mechanical Engineering"
25 "Mechanical Engineering"
26 "Advanced Personnel Deployment"
26         "Advanced Personnel Deployment"
27 "Upgraded Chassis"
27         "Upgraded Chassis"
28 "Medium Tank Chassis"
28                 "Medium Tank Chassis"
29 "Artillery Tank Chassis"
29                 "Artillery Tank Chassis"
30 "Advanced Chassis"
30                 "Advanced Chassis"
31 "Heavy Tank Chassis"
31                         "Heavy Tank Chassis"
32 "Advanced Machining"
32         "Advanced Machining"
33 "Composite Armor"
33                 "Composite Armor"  
34 "Gas Turbine Engine"
34                 "Gas Turbine Engine"
35 "Electrical Engineering"
35 "Electrical Engineering"
36 "Advanced Magnet Research"
36         "Advanced Magnet Research"
37 "Rail Gun"
37                 "Rail Gun"
38 "3 Phase Electric Motor"
38                 "3 Phase Electric Motor"
39 "Reactive Armor"
39         "Reactive Armor"
40 "Tracking Systems"
40         "Tracking Systems"
41 "Homing Missiles"
41                 "Homing Missiles"  
42 "Guided Missiles"
42                 "Guided Missiles"  
43 "Upgraded Turrets Lvl 2"
43         "Upgraded Turrets Lvl 2"
44 "Upgraded Turrets Lvl 3"
44                 "Upgraded Turrets Lvl 3"
45 "Improved Detonators"
45 "Biology"  
46 "Biology"
46         "Regenerative Armor"
47 "Regenerative Armor"
47         "Bio Diesel Engine"  
48 "Bio Diesel Engine"
48         "Biological Weaponry"
49 "Biological Weaponry"
49                 "Biological Warhead"
50 "Biological Warhead"
50                 "Biological Projectile"</pre>
51 "Biological Projectile"</pre>


===Vehicle Armor===
===Vehicle Armor===
Line 184: Line 176:


==GameData==
==GameData==
{{Note|Outdated for now}}
Found by Recon and Theowningone.  To use, put in gamedata folder.<br />
Found by Recon and Theowningone.  To use, put in gamedata folder.<br />
[http://theowningone.info/files/core.games.txt core.games.txt @ theowningone.info]<br />
[http://theowningone.info/files/core.games.txt core.games.txt @ theowningone.info]<br />
Line 210: Line 203:


===Theowningone's Empires API===
===Theowningone's Empires API===
{{Note|Outdated for now}}
A very useful set of functions to simplify the creation of sourcemod plugins for empires.
A very useful set of functions to simplify the creation of sourcemod plugins for empires.
It can be download from Currently out of date.
It can be download from Currently out of date.

Revision as of 16:23, 18 March 2009

Note
This article is being updated for version 2.23

Home > {{{2}}} > Sourcemod Resources

Indexes

Vehicles

//These values are returned by the m_iChassis offset of the netclass CEmpTank
//Found By Theowningone
0	"NF_Jeep"
1	"NF_APC"
2	"NF_Light_Tank"
3	"NF_Light_Tank_MKII"
4	"NF_Med_Tank"
5	"NF_Heavy_Tank"
6	"NF_Arty_Tank"
7	"Imperial_Jeep"
8	"Imperial_APC"
9	"Imperial_AFV"
10	"Imperial_AFV_MKII"
11	"Imperial_Med_Tank"
12	"Imperial_Heavy_Tank"
13	"Imperial_Arty_Tank"
14	"Imperial_Commander"
15	"NF_Commander"

Vehicle Weapons

//These values are returned by the m_iWeapon offset of the netclass CEmpTankTurret
//Found By Theowningone
0	"Standard Machine Gun"
1	"Bio Machine Gun"     
2	".50 Cal Medium MG"   
3	".50 Cal Heavy MG"    
4	"Depleted Uranium MG" 
5	"Depleted Uranium HMG"
6	"Chain Gun"   
7	"Medium Chain Gun"    
8	"Plasma Machine Gun"  
9	"High Explosive MG"   
10	"Standard Cannon"     
11	"Ranged Cannon"
12	"High Explosive Cannon"
13	"Plasma Cannon"
14	"Rail Gun"    
15	"Small Artillery Cannon"      
16	"Medium Artillery Cannon"     
17	"High Explosive Artillery"    
18	"Ranged Artillery Cannon"     
19	"Standard ML" 
20	"Upgraded ML" 
21	"Biological Warhead"  
22	"HIT Missile" 
23	"Salvo Missile Launcher"      
24	"Guided Missile Launcher"     
25	"Upgraded Guided ML"  
26	"Homing Missile Launcher"     
27	"Upgraded Homing ML"  
28	"Salvo Homing ML"     
29	"Grenade Launcher"    
30	"Upgraded Grenade Launcher"   
31	"Small Bomb Bay"      
32	"Large Bomb Bay"

Research

//These values are returned by the Multiple Offsets of the netclass CResearchResource
//Found By Theowningone
1	"Physics"               
2	        "Superheated Material Physics"          
3	                "Plasma Cannon Projectile"              
4	                "Plasma Bullet Projectile"
5	        "Projectile Physics"
6	                "Reflective Armor"
7	                "Extended Range Cannon"
8	                "Heavy Caliber Machine Gun" 
9	        "Nuclear Fission" 
10	                "Fission Reactor" 
11	                "HIT Warhead"  
12	"Chemistry" 
13	        "Improved Flagration Compounds"
14	                "Explosive Tipped Bullets"
15	        "Improved Detonation Compounds"
16	                "Upgraded Grenades" 
17	                "Explosive Shells"
18	        "Improved Warhead Compounds"
19	                "Upgraded Missile Warhead"
20	                "Upgraded Grenadier RPG"  
21	                        "Advanced Grenadier RPG"  
22	        "Improved Heat Transfer Fluids"
23	                "Advanced Coolant Engine" 
24	                "Absorbant Armor" 
25	"Mechanical Engineering"  
26	        "Advanced Personnel Deployment"
27	        "Upgraded Chassis"
28	                "Medium Tank Chassis"  
29	                "Artillery Tank Chassis"  
30	                "Advanced Chassis"
31	                        "Heavy Tank Chassis"
32	        "Advanced Machining"
33	                "Composite Armor" 
34	                "Gas Turbine Engine"
35	"Electrical Engineering"  
36	        "Advanced Magnet Research"
37	                "Rail Gun"
38	                "3 Phase Electric Motor"  
39	        "Reactive Armor"  
40	        "Tracking Systems"
41	                "Homing Missiles" 
42	                "Guided Missiles" 
43	        "Upgraded Turrets Lvl 2"  
44	                "Upgraded Turrets Lvl 3"  
45	"Biology" 
46	        "Regenerative Armor"
47	        "Bio Diesel Engine" 
48	        "Biological Weaponry"  
49	                "Biological Warhead"
50	                "Biological Projectile"

Vehicle Armor

//These values are found in Multiple Offsets of the netclass CEmpTank
//Found By Theowningone
offset+0	"Front"
offset+4	"Back"
offset+8	"Left"
offset+12	"Right"

Player Classes

//These values are found in m_iEmpClass of the netclass CSDKPlayer
//Found By Theowningone
0	"Scout"
1	"Rifleman"
2	"Grenadier"
3	"Engineer"
4	"Unknown(Never Appears)"
5	"None/Spectator"

Squads

//These values are found in m_iSquad of the netclass CPlayerResource
//Found By Theowningone
0	"None"
1	"Alpha"
2	"Bravo"
3	"Charlie"
4	"Delta"
5	"Echo"
6	"Foxtrot"
7	"Golf"
8	"Hotel"
9	"India"
10	"Juliet"
11	"Kilo"
12	"Lima"
13	"Mike"
14	"November"
15	"Oscar"
16	"Papa"
17	"Quebec"
18	"Romeo"
19	"Sierra"
20	"Tango"
21	"Uniform"
22	"Victor"
23	"Whiskey"
24	"X-Ray"
25	"Yankee"
26	"Zulu"

Teams

0	Unassigned
1	Spectator
2	Northern Faction
3	Brenodi Empire

Virtual Offsets

Current Version

Virtual Offsets v2.23 @ theowningone.info

Past Versions

GameData

Note
Outdated for now

Found by Recon and Theowningone. To use, put in gamedata folder.
core.games.txt @ theowningone.info
sdktools.games.ep2.txt @ theowningone.info

Dump files

Datamaps

Current Version

Datamaps v2.23 @ theowningone.info

Past Versions


Netprops

Current Version

NetProps v2.23 @ theowningone.info

Past Versions

Tools

Offsite links only please!

Dukes Hacks Offsets File

The File with needed offsets to use the dukes hacks extension. It is to be placed in the sourcemod gamedata folder. DukesHacks @ theowningone.info

Theowningone's Empires API

Note
Outdated for now

A very useful set of functions to simplify the creation of sourcemod plugins for empires. It can be download from Currently out of date.