View unanswered posts | View active topics It is currently Tue Jan 07, 2025 1:50 am



Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
 Change a survival rifle's firing. 
Author Message
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: Change a survival rifle's firing.
pandastar994 wrote:
So if i cahange the team in Gibs then it might be a rogue? What are the teams?

Team 0 is you, Team 1 is the enemy, and anything else is neither.


Tue Apr 20, 2010 7:31 pm
Profile

Joined: Wed Mar 10, 2010 8:36 pm
Posts: 345
Reply with quote
Post Re: Change a survival rifle's firing.
So it being neither would it be rogue or inactive?


Tue Apr 20, 2010 8:00 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Change a survival rifle's firing.
teams other than 1 (0) or 2 (1) are rouge and (i think) attacks all teams and gets attacked by all teams.


Tue Apr 20, 2010 8:40 pm
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: Change a survival rifle's firing.
the red team is the 0 , the green team is the 1 , rogue or wildlife are the -1 team , wildlife attacks everyone( team 0 and 1 ) and everyone attacks wildlife( team 0 and 1 ) and wildlife doesnt attack wildlife.


Wed Apr 21, 2010 1:16 am
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Change a survival rifle's firing.
You can set it to anything from 2 to what the hell you feell ike setting it to though, and then they will attack eachother.


Wed Apr 21, 2010 7:36 am
Profile

Joined: Wed Mar 10, 2010 8:36 pm
Posts: 345
Reply with quote
Post Re: Change a survival rifle's firing.
Ok i found how to make rogues. First use Gib Editor and place an actor to gib and then add another ator as a Gib and then save it as another actor and theres your rogue! But if you place the actor in the chest the actor must die by a shot to the chest to gib into the rogue.


Wed Apr 21, 2010 1:54 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Change a survival rifle's firing.
dude, you can just attach a script that does this:
Code:
function Create(self)
 self.Team = -1
end
to a copy of something and then just call it Rogue <PresetName> eg Rogue Dafred or whatever. Lua, saver of time.


Wed Apr 21, 2010 1:56 pm
Profile WWW

Joined: Wed Mar 10, 2010 8:36 pm
Posts: 345
Reply with quote
Post Re: Change a survival rifle's firing.
My computer wont let me save things as a Lua. file. So i cant do Lua.


Wed Apr 21, 2010 2:03 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Change a survival rifle's firing.
doubt it. open notepad, write/copy that into it, and save. in the save dialogue, where it says "save as type" change that from tex file: *.txt to all files *.*, and then type the filename as <whatever>.lua.
Also, for reference, if you go to folder options (in the view menu at the top of any "folder" (windows explorer) window) you should turn off "hide known extensions". Then you can just change the .txt at the end of a normal text file to .lua, and hey presto, a lua script.


Wed Apr 21, 2010 2:19 pm
Profile WWW

Joined: Wed Mar 10, 2010 8:36 pm
Posts: 345
Reply with quote
Post Re: Change a survival rifle's firing.
Ok now what effect do i ad the script to? And what would the effect do?


Wed Apr 21, 2010 7:40 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Change a survival rifle's firing.
add it to the actor you want to be rogue? eg if you wanted a rogue copy of Dafred you could do
Code:
AddActor = AHuman
   CopyOf = Dafred
   PresetName = Rogue Dafred
   ScriptPath = PATH/TO/SCRIPT/HERE
It'll just make him rogue as soon as you place him, nothing more, nothing less.


Wed Apr 21, 2010 9:58 pm
Profile WWW

Joined: Wed Mar 10, 2010 8:36 pm
Posts: 345
Reply with quote
Post Re: Change a survival rifle's firing.
Thanks it works! Now gordons a rogue till you play as him and its awesome!!! Thanks Geti!!!


Thu Apr 22, 2010 1:12 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 27 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.045s | 13 Queries | GZIP : Off ]