how do i put this in ma script.dll [message #237578] |
Sat, 06 January 2007 10:42 |
|
klote2314
Messages: 66 Registered: November 2005 Location: im am dutch
Karma: 0
|
Recruit |
|
|
hey i got this new mod for ma server only i gotta put it in ma script.dll file hod do i do that its text only so i cant copy paste the mod notepad wont work
MESS WITH MA CLAN MESS WITH ME U.....
lol
|
|
|
|
|
|
|
|
|
|
Re: how do i put this in ma script.dll [message #237792 is a reply to message #237578] |
Sun, 07 January 2007 09:33 |
|
klote2314
Messages: 66 Registered: November 2005 Location: im am dutch
Karma: 0
|
Recruit |
|
|
well i do not know how to contact kamuix as i have never spoke to him i got this mod from cdcyborg and he doesnt know whot to do with it right now im asking nightma12 to help me hopefully he can help here is the text mod
i got
else if (stricmp(Msg2,"!Build Turret") == 0) {
Vector3 spawn_position;
float cost = 600.0f;
char message[256];
t = 0;
GameObject *obj = Get_GameObj(ID);
if (Get_Object_Type(obj) == 0) {
if (cost <= Get_Money(ID)) {
Vector3 Pos = Commands->Get_Position(obj);
Pos.Z += 0;
Commands->Disable_Physical_Collisions(Commands->Create_Object("Nod_Turret_MP_Improved ",Pos));
Commands->Give_Money(obj,cost*-1.0f,false); //Commands->Apply_Damage(obj,99999,"Death",false); //Was this here to stop the player from getting stuck in the guard tower? disabling collisions on the guard tower is a better solution.
sprintf(message,"msg [KB] Player %s Has deployed a Nod Turret",Get_Player_Name_By_ID(ID));
Console_Input(message);
}
else if (cost > Get_Money(ID)) {
sprintf(message2,"ppage %d Sorry, the Nod Turret $600",ID);
Console_Input(message2);
}
else if (Get_Object_Type(obj) == 0) {
sprintf(message2,"ppage %d Test",ID);
Console_Input(message2);
}
}
i hope u can explain me whut to do with it >.<
MESS WITH MA CLAN MESS WITH ME U.....
lol
|
|
|
|
|
|
|
|
|
|
Re: how do i put this in ma script.dll [message #237986 is a reply to message #237578] |
Mon, 08 January 2007 09:03 |
|
jnz
Messages: 3396 Registered: July 2006 Location: 30th century
Karma: 0
|
General (3 Stars) |
|
|
here ya go, i can't test it because i don't have renegade atm. its SSAOW ported to scripts 3.2 with your turret program in it
If you want the sources i will send them to you. i didn't want tp put them in this zip because it would make it messy.
to build a turret you need 600 cred and you need to type "!Build Turret" (case sensitive)
[Updated on: Mon, 08 January 2007 09:04] Report message to a moderator
|
|
|
Re: how do i put this in ma script.dll [message #238008 is a reply to message #237578] |
Mon, 08 January 2007 10:32 |
|
klote2314
Messages: 66 Registered: November 2005 Location: im am dutch
Karma: 0
|
Recruit |
|
|
ma fds wont start any more after i installed the stuff u gave me it says cant finde shaders.dll and i trayed to change shaders.sdb into dll but then it says some thing with a path to some where any ways its not workin and bhs.dll wont load whuts wrong??
MESS WITH MA CLAN MESS WITH ME U.....
lol
|
|
|
|
|
|
|
|
|