Welcome, Guest. Please Login or Register.
09/09/10 at 17:16:49
News:

Poll
Question: How do you like this Option

Awsome
Whatever
Pthhhh i like baseraping


« Created by: MasterX=DCON= on: 05/16/07 at 23:48:20 »

Pages: 1
Send Topic Print
Anti-Baseraper Script (Read 3098 times)
MasterX=DCON=
System Administrator
DCON Staff
Energy Revolutions Research Dept.
*****


Desert Conflict
Coding Dept

Posts: 571
Gender: male
Anti-Baseraper Script
05/16/07 at 23:25:47
 
This will kill any enemy that violates your main base territory, do not use this on CTF, it will make it unplayable.....
 
Open the GPO(gameplayobjects.con) file of your choice!
 
Step 1.
Paste the following code just above the controlpoint templates ex:

Code:
RIGHT HERE

rem ********** Control Points **********
rem [ControlPointTemplate: CPNAME_Iraqi_Main]
 


 
Heres the code:
Code:
ObjectTemplate.create SupplyObject kill_americans
ObjectTemplate.modifiedByUser psh
ObjectTemplate.createdInEditor 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 10
ObjectTemplate.damageSpeed 50
ObjectTemplate.team 2

ObjectTemplate.create SupplyObject kill_iraqis
ObjectTemplate.modifiedByUser psh
ObjectTemplate.createdInEditor 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 10
ObjectTemplate.damageSpeed 50
ObjectTemplate.team 1 


 
Step 2.
Add this line to the iraqi mainbase controlpoint template just below

ObjectTemplate.addTemplate flagpole

ObjectTemplate.addTemplate kill_americans
 
Step 3.
Add this line to the USA mainbase controlpoint template just below

ObjectTemplate.addTemplate flagpole

ObjectTemplate.addTemplate kill_iraqis
 
save, repackage into the zip in correct gpm and size folder
Back to top
 
 

Ma§†er}{
BKC Squad Leader - Retired
Owner Graebtech Gaming Network
Email View Profile WWW MasterX=DCON= masterxbkc 265028259 brenttg2000   IP Logged
3_stooges_geo
Modder
***


New User!

Posts: 2
Re: Anti-Baseraper Script
Reply #1 - 05/17/07 at 09:46:37
 
tried on el alamein,client crashed to desktop.
i think  put it in right.
here is what i had in the GPO.
Quote:
ObjectTemplate.create SupplyObject kill_americans
ObjectTemplate.modifiedByUser psh
ObjectTemplate.createdInEditor 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 10
ObjectTemplate.damageSpeed 50
ObjectTemplate.team 2

ObjectTemplate.create SupplyObject kill_iraqis
ObjectTemplate.modifiedByUser psh
ObjectTemplate.createdInEditor 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 10
ObjectTemplate.damageSpeed 50
ObjectTemplate.team 1

rem ********** Control Points **********
rem [ControlPointTemplate: CPNAME_Iraqi_Main]
ObjectTemplate.create ControlPoint CPNAME_Iraqi_Main
ObjectTemplate.activeSafe ControlPoint CPNAME_Iraqi_Main
ObjectTemplate.modifiedByUser "Administrator"
ObjectTemplate.setNetworkableInfo ControlPointInfo
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate flagpole
ObjectTemplate.addTemplate kill_americans
rem -------------------------------------
ObjectTemplate.setControlPointName CPNAME_Iraqi_Main
ObjectTemplate.team 1
ObjectTemplate.controlPointId 1
ObjectTemplate.unableToChangeTeam 1
ObjectTemplate.hoistMinMax 0.2/0.9

rem [ControlPointTemplate: CPNAME_Coalition_Main]
ObjectTemplate.create ControlPoint CPNAME_Coalition_Main
ObjectTemplate.activeSafe ControlPoint CPNAME_Coalition_Main
ObjectTemplate.modifiedByUser "Administrator"
ObjectTemplate.setNetworkableInfo ControlPointInfo
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate flagpole
ObjectTemplate.addTemplate kill_iraqis
rem -------------------------------------
ObjectTemplate.setControlPointName CPNAME_Coalition_Main
ObjectTemplate.team 2
ObjectTemplate.controlPointId 2
ObjectTemplate.unableToChangeTeam 1
ObjectTemplate.hoistMinMax 0.2/0.9
Back to top
 
 
Email View Profile   IP Logged
MasterX=DCON=
System Administrator
DCON Staff
Energy Revolutions Research Dept.
*****


Desert Conflict
Coding Dept

Posts: 571
Gender: male
Re: Anti-Baseraper Script
Reply #2 - 05/20/07 at 22:52:46
 
looking into it.
 
EDIT:
seems to be working on my linux box, try instead of addtemplate to the cp templates, create the object on the same coords as the flagpole,
 
Object.create ?(kill_americans/kill_iraqis)
Object.absolutePosition ?/?/?
Object.rotation ?/?/?
Object.layer ?
 
it may work for you that way
Back to top
 
 

Ma§†er}{
BKC Squad Leader - Retired
Owner Graebtech Gaming Network
Email View Profile WWW MasterX=DCON= masterxbkc 265028259 brenttg2000   IP Logged
3_stooges_geo
Modder
***


New User!

Posts: 2
Re: Anti-Baseraper Script
Reply #3 - 05/22/07 at 10:07:39
 
client still crashes to desktop.
i have  a windows server,i doubt that would make a difference but,if you want,you could e-mail one that is working for you and i will try that.
Back to top
 
 
Email View Profile   IP Logged
Pages: 1
Send Topic Print