Author |
Message |
whitty
Joined: Sat Jun 16, 2007 2:31 am Posts: 2982 Location: Texas
|
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 |
|
|
pandastar994
Joined: Wed Mar 10, 2010 8:36 pm Posts: 345
|
Re: Change a survival rifle's firing.
So it being neither would it be rogue or inactive?
|
Tue Apr 20, 2010 8:00 pm |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
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 |
|
|
CCnewplayer
Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
|
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 |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
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 |
|
|
pandastar994
Joined: Wed Mar 10, 2010 8:36 pm Posts: 345
|
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 |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
pandastar994
Joined: Wed Mar 10, 2010 8:36 pm Posts: 345
|
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 |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
pandastar994
Joined: Wed Mar 10, 2010 8:36 pm Posts: 345
|
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 |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
pandastar994
Joined: Wed Mar 10, 2010 8:36 pm Posts: 345
|
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 |
|
|
|