Post tutorial Report RSS How to use Trinity in a mod

A tutorial showing how to use Trinity Render in your mod.

Posted by on - Basic Starting a mod

Having trinity render in your mod is easy. First, put "trinity" folder in Half-life folder which will be your mod folder. Then, open liblist.gam and you will see like this:

// Valve Game Info file
// These are key/value pairs. Certain mods will use different settings.
//
//For any possible future updates, check this link:
//https://skydrive.live.com/?cid=ce9cc3fbfe20ab9a&sc=documents&uc=1&id=CE9CC3FBFE20AB9A!103
//If you have anything to report, write an e-mail to:
//boeschitt@hotmail.com

game "Trinity Renderers"
startmap "c1a0"
trainmap "t0a0"
mpentity "info_player_deathmatch"
gamedll "dlls\hl.dll"
gamedll_linux "dlls/hl_i386.so"

type "singleplayer_only"

rating "9.2"
svonly "0"

There, change the "Trinity Renderers" to your mod's name. Ex: if you make a mod named, "Death", change "Trinity Renderers" to "Death".

change startmap to the name of your mod's start map.

change trainmap to the name of your mod's training map. (optional)

mpentity is based on your mod's used entity. It shows the entity where player is started in multiplayer. NOT in singleplayer. (optional)

change gamedll to your game's dll file located in dlls folder. If it is named d.dll located in game_dlls folder, change it to"game_dlls\d.dll" But, BE SURE to have all of the trinity's codes in your dll.

gamedll_linux shares the same method with a top one.

type is also based on your mod. If your mod is multiplayer (like counter-strike), change to "multiplayer_only". If your mod is singleplayer, just leave it. If your mod is both single and multi, just leave it.

For rating "9.2" and svonly "0", you can just skip.

Also, don't forget to change the folder name "Trinity" to your mod's name.

I will write the basic tutorials later.

Waits for Trinity-based NON-HL IMPROVEMENT mods...

Post comment Comments
paologerochi
paologerochi - - 14 comments

hey RedFog can you make this in Natural Selection? please... I don't have the trinity's codes in my dll I don't know about dll files and compiling them

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,861 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: