I loved the part where it got stuck on loading resources.
Please help?
This is amazing, thank you!
How do I make this work for GM13?
[QUOTE=Snow Wolf677;37761051]How do I make this work for GM13?[/QUOTE]
You fix it. Or you wait for FNox to fix it, which I'm guessing that he's working on.
I've actually managed to fix Tiramisu 2 for GMod 13. It works fine, however there are three bugs remaining in my copy:
1. The character only faces one direction.
2. The gradient bar in the TAB menu is misplaced. Parenting issue.
3. Only one inventory slot works.
Okay, although I've fixed the Loading resources problems, as an admin, I dont know where to start.
I need to know the flags commands and such. Links or any explanations please?
[QUOTE=Famiconman;37786762]Okay, although I've fixed the Loading resources problems, as an admin, I dont know where to start.
I need to know the flags commands and such. Links or any explanations please?[/QUOTE]
Type rp_admin help in the console.
Alright, guys. A while ago I ported Tiramisu 2 over to GMod 13, mostly just to familiarize myself with developing for GMod 13. I've replaced everything datastream related with the new Net library, fixed some bugs and gotten rid of all errors. It SHOULD work perfectly fine, however I haven't tested it in a couple of weeks, so I'm not sure if some new GMod 13 change has broken anything. As stated in a post of mine above, three bugs remain in my copy that I haven't gotten around to fixing:
1. The character only faces in one direction when moving around. This is something I can't fix, it has to do with NPC models.
2. The gradient box in the TAB menu is misplaced. This is a parenting issue I haven't really looked into.
3. Only one slot in the inventory seems to show up and work. I have no idea why, but I'm guessing it has to do with some VGUI changes.
I'm releasing this as is, with no guarantees. I will not keep fixing Tiramisu 2 for GMod 13, as quite frankly I don't see the point of it, since FNox is gonna release his new version anyway. Use this for whatever purpose you want:
[url]https://dl.dropbox.com/u/54545396/Tiramisu%202%20-%20GMod%2013.rar[/url]
[QUOTE=Jocken300;37787111]Type rp_admin help in the console.
Alright, guys. A while ago I ported Tiramisu 2 over to GMod 13, mostly just to familiarize myself with developing for GMod 13. I've replaced everything datastream related with the new Net library, fixed some bugs and gotten rid of all errors. It SHOULD work perfectly fine, however I haven't tested it in a couple of weeks, so I'm not sure if some new GMod 13 change has broken anything. As stated in a post of mine above, three bugs remain in my copy that I haven't gotten around to fixing:
1. The character only faces in one direction when moving around. This is something I can't fix, it has to do with NPC models.
2. The gradient box in the TAB menu is misplaced. This is a parenting issue I haven't really looked into.
3. Only one slot in the inventory seems to show up and work. I have no idea why, but I'm guessing it has to do with some VGUI changes.
I'm releasing this as is, with no guarantees. I will not keep fixing Tiramisu 2 for GMod 13, as quite frankly I don't see the point of it, since FNox is gonna release his new version anyway. Use this for whatever purpose you want:
[url]https://dl.dropbox.com/u/54545396/Tiramisu%202%20-%20GMod%2013.rar[/url][/QUOTE]
Thank you so much!!
I also need help with tiramisu 2.
When I join a server or singleplayer, I am literally invisible. No custom clothes, nothing.
Just invisible. Others are visible, though.
I don't know if this is relevant with the issue you're experiencing erkor, but me and fnox are currently developing a roleplaying gamemode and we use the same animation system from tiramisu. When we use the following script, players will be stuck invisible.
[lua]
OnSet = function(player,oldState)
local model = player:GetModel();
player.preRagdollColor = player:GetColor();
local ragdoll = ents.Create("prop_ragdoll");
ragdoll:SetModel(model);
ragdoll:SetPos( player:GetPos() );
ragdoll:SetColor( player.preRagdollColor );
ragdoll._bIsRagdollEntity = true;
ragdoll:Spawn();
ragdoll:SetAngles(player:GetAngles());
player.RagdollEntity = ragdoll;
player:Spectate( OBS_MODE_CHASE )
player:SpectateEntity(ragdoll)
player:SetColor( Color(255,255,255,0) );
player:SetMoveType( MOVETYPE_NOCLIP );
player:CrosshairDisable();
player:DrawViewModel(false);
player.preRagdollWeapons = {};
for k,v in pairs( player:GetWeapons() ) do
table.insert( player.preRagdollWeapons, v:GetClass() );
end;
player:StripWeapons();
end,
[/lua]
that is what is initially called on the player, and it strips there weapons and creates a ragdoll that they spectate, that is all fine but when exiting back to normal they are just invisible.
[lua]
OnExit = function(player, bIsTransition, newState)
if ( player.RagdollEntity ) then
player:SetMoveType( MOVETYPE_WALK );
player:SetPos( player.RagdollEntity:GetPos() );
player:SetColor( player.preRagdollColor );
player:UnSpectate();
player:DrawViewModel(true);
player:CrosshairEnable();
player.RagdollEntity:Remove();
player.RadgollEntity = nil;
for _,weapon in pairs( player.preRagdollWeapons ) do
player:Give(weapon);
end;
end;
end;
[/lua]
Could be something happening in the same type of situation, as tiramisu does have ragdoll functions and other functions that could cause this issue.
So it's like a new and free version of hl2rp? Guess I'll try this (and ill prob use it AS LONG AS IT HAS A CHAR SELECT MENU THAT SUPPORTS MUSIC!)
[QUOTE=LauScript;37811872]I don't know if this is relevant with the issue you're experiencing erkor, but me and fnox are currently developing a roleplaying gamemode and we use the same animation system from tiramisu. When we use the following script, players will be stuck invisible.
[lua]
OnSet = function(player,oldState)
local model = player:GetModel();
player.preRagdollColor = player:GetColor();
local ragdoll = ents.Create("prop_ragdoll");
ragdoll:SetModel(model);
ragdoll:SetPos( player:GetPos() );
ragdoll:SetColor( player.preRagdollColor );
ragdoll._bIsRagdollEntity = true;
ragdoll:Spawn();
ragdoll:SetAngles(player:GetAngles());
player.RagdollEntity = ragdoll;
player:Spectate( OBS_MODE_CHASE )
player:SpectateEntity(ragdoll)
player:SetColor( Color(255,255,255,0) );
player:SetMoveType( MOVETYPE_NOCLIP );
player:CrosshairDisable();
player:DrawViewModel(false);
player.preRagdollWeapons = {};
for k,v in pairs( player:GetWeapons() ) do
table.insert( player.preRagdollWeapons, v:GetClass() );
end;
player:StripWeapons();
end,
[/lua]
that is what is initially called on the player, and it strips there weapons and creates a ragdoll that they spectate, that is all fine but when exiting back to normal they are just invisible.
[lua]
OnExit = function(player, bIsTransition, newState)
if ( player.RagdollEntity ) then
player:SetMoveType( MOVETYPE_WALK );
player:SetPos( player.RagdollEntity:GetPos() );
player:SetColor( player.preRagdollColor );
player:UnSpectate();
player:DrawViewModel(true);
player:CrosshairEnable();
player.RagdollEntity:Remove();
player.RadgollEntity = nil;
for _,weapon in pairs( player.preRagdollWeapons ) do
player:Give(weapon);
end;
end;
end;
[/lua]
Could be something happening in the same type of situation, as tiramisu does have ragdoll functions and other functions that could cause this issue.[/QUOTE]
Thanks for the reply!
[QUOTE=LauScript;37811872]I don't know if this is relevant with the issue you're experiencing erkor, but me and fnox are currently developing a roleplaying gamemode and we use the same animation system from tiramisu. When we use the following script, players will be stuck invisible.
[lua]
OnSet = function(player,oldState)
local model = player:GetModel();
player.preRagdollColor = player:GetColor();
local ragdoll = ents.Create("prop_ragdoll");
ragdoll:SetModel(model);
ragdoll:SetPos( player:GetPos() );
ragdoll:SetColor( player.preRagdollColor );
ragdoll._bIsRagdollEntity = true;
ragdoll:Spawn();
ragdoll:SetAngles(player:GetAngles());
player.RagdollEntity = ragdoll;
player:Spectate( OBS_MODE_CHASE )
player:SpectateEntity(ragdoll)
player:SetColor( Color(255,255,255,0) );
player:SetMoveType( MOVETYPE_NOCLIP );
player:CrosshairDisable();
player:DrawViewModel(false);
player.preRagdollWeapons = {};
for k,v in pairs( player:GetWeapons() ) do
table.insert( player.preRagdollWeapons, v:GetClass() );
end;
player:StripWeapons();
end,
[/lua]
that is what is initially called on the player, and it strips there weapons and creates a ragdoll that they spectate, that is all fine but when exiting back to normal they are just invisible.
[lua]
OnExit = function(player, bIsTransition, newState)
if ( player.RagdollEntity ) then
player:SetMoveType( MOVETYPE_WALK );
player:SetPos( player.RagdollEntity:GetPos() );
player:SetColor( player.preRagdollColor );
player:UnSpectate();
player:DrawViewModel(true);
player:CrosshairEnable();
player.RagdollEntity:Remove();
player.RadgollEntity = nil;
for _,weapon in pairs( player.preRagdollWeapons ) do
player:Give(weapon);
end;
end;
end;
[/lua]
Could be something happening in the same type of situation, as tiramisu does have ragdoll functions and other functions that could cause this issue.[/QUOTE]
Did you try doing this as a way to bypass the fact that we can no longer use NPC models as player models? I had a similar idea, however my idea was to create a custom entity with an NPC model and have the player spectate that, and then override the standard moving controls so that the player would be controlling the entity. I've done something similar on a gamemode I was working on called Box Fighters.
*snip*
[QUOTE=Jocken300;37818171]Did you try doing this as a way to bypass the fact that we can no longer use NPC models as player models? I had a similar idea, however my idea was to create a custom entity with an NPC model and have the player spectate that, and then override the standard moving controls so that the player would be controlling the entity. I've done something similar on a gamemode I was working on called Box Fighters.[/QUOTE]
ummm no this is for a tazer... this is the rest of the code if it makes it more clear.
[lua]
PLAYER.States = {
["STATE_TIED"] = {
OnSet = function(player,oldState) end,
OnExit = function(player, bIsTransition, newState) end
},
["STATE_TAZED"] = {
OnSet = function(player,oldState)
local model = player:GetModel();
player.preRagdollColor = player:GetColor();
local ragdoll = ents.Create("prop_ragdoll");
ragdoll:SetModel(model);
ragdoll:SetPos( player:GetPos() );
ragdoll:SetColor( player.preRagdollColor );
ragdoll._bIsRagdollEntity = true;
ragdoll:Spawn();
ragdoll:SetAngles(player:GetAngles());
player.RagdollEntity = ragdoll;
player:Spectate( OBS_MODE_CHASE )
player:SpectateEntity(ragdoll)
player:SetColor( Color(255,255,255,0) );
player:SetMoveType( MOVETYPE_NOCLIP );
player:CrosshairDisable();
player:DrawViewModel(false);
player.preRagdollWeapons = {};
for k,v in pairs( player:GetWeapons() ) do
table.insert( player.preRagdollWeapons, v:GetClass() );
end;
player:StripWeapons();
end,
OnExit = function(player, bIsTransition, newState)
if ( player.RagdollEntity ) then
player:SetMoveType( MOVETYPE_WALK );
player:SetPos( player.RagdollEntity:GetPos() );
player:SetColor( player.preRagdollColor );
player:UnSpectate();
player:DrawViewModel(true);
player:CrosshairEnable();
player.RagdollEntity:Remove();
player.RadgollEntity = nil;
for _,weapon in pairs( player.preRagdollWeapons ) do
player:Give(weapon);
end;
end;
end;
}
};
[/lua]
[editline]27th September 2012[/editline]
[QUOTE=zachofragnaro;37822288]Still need an answer to this.[/QUOTE]
if you can change the skin of an entity you can change the skin of a player, find the function on the gmod wiki somewhere.
This looks amazing. Do we need to download it or can we get it off the server?
Is Jocken's version fixed yet?
[QUOTE=Snow Wolf677;37831476]Is Jocken's version fixed yet?[/QUOTE]
What do you mean? The version I uploaded should work just fine with GMod 13, except for those three bugs I mentioned.
I meant these three bugs ;p
Everytime I try to load a item (dropping, picking up) I get this error:
[code] [gamemodes\tiramisu\gamemode\von.lua:538] attempt to get length of local 'str' (a nil value)
Trace:
1: Line 32 "Trace" lua\includes\extensions\debug.lua
2: Line 537 "deserialize" gamemodes\tiramisu\gamemode\von.lua
3: Line 23 "LoadUData" gamemodes\tiramisu\gamemode\items.lua
4: Line 40 "GetUData" gamemodes\tiramisu\gamemode\items.lua
5: Line 318 "TakeItemID" gamemodes\tiramisu\gamemode\items.lua
6: Line 120 "?" gamemodes\tiramisu\gamemode\items.lua
7: Line 69 "(null)" lua\includes\modules\concommand.lua
8: Line -1 "" (tail call)
[/code]
[QUOTE=pip12345;37845446]Everytime I try to load a item (dropping, picking up) I get this error:
[code] [gamemodes\tiramisu\gamemode\von.lua:538] attempt to get length of local 'str' (a nil value)
Trace:
1: Line 32 "Trace" lua\includes\extensions\debug.lua
2: Line 537 "deserialize" gamemodes\tiramisu\gamemode\von.lua
3: Line 23 "LoadUData" gamemodes\tiramisu\gamemode\items.lua
4: Line 40 "GetUData" gamemodes\tiramisu\gamemode\items.lua
5: Line 318 "TakeItemID" gamemodes\tiramisu\gamemode\items.lua
6: Line 120 "?" gamemodes\tiramisu\gamemode\items.lua
7: Line 69 "(null)" lua\includes\modules\concommand.lua
8: Line -1 "" (tail call)
[/code][/QUOTE]
Yeah, Von is bugged in Tiramisu. Just replace every instance on von.serialize and von.deserialize with glon.encode and glon.decode.
I keep getting put in base gamemode.
Ideas why?
Edit: I put Tiramisu as the gamemode. I must have done something wrong.
EDIT: I got it working but it is very broken. I can run around and create a character but that is it.
[QUOTE=Charrax;37852884]I keep getting put in base gamemode.
Ideas why?
Edit: I put Tiramisu as the gamemode. I must have done something wrong.
EDIT: I got it working but it is very broken. I can run around and create a character but that is it.[/QUOTE]
What shows when you press tab?
Right now it shows Sandbox.
[QUOTE=Jocken300;37847800]Yeah, Von is bugged in Tiramisu. Just replace every instance on von.serialize and von.deserialize with glon.encode and glon.decode.[/QUOTE]
I did this now I get:
[@lua\includes\modules\glon.lua:349] Unknown type ID, 126!(Hook: PlayerInitialSpawn)
[QUOTE=C0MMUNIZT;37874313]I did this now I get:
[@lua\includes\modules\glon.lua:349] Unknown type ID, 126!(Hook: PlayerInitialSpawn)[/QUOTE]
Well, you could always download my version and convert it back to GMod 12. I started by fixing it for GMod 12, then I ported it over to GMod 13. It'd require quite a lot of editing, though, but I think I simply commented out everything I changed.
how do you be combine overwatch?
and how do you use the voice commands for them?
i need this for nova prospekt rp
(also need to set my model to nova prospekt soldier, i know the path but not the command to change model!)
[QUOTE=RonanZer0;37903429]how do you be combine overwatch?
and how do you use the voice commands for them?
i need this for nova prospekt rp
(also need to set my model to nova prospekt soldier, i know the path but not the command to change model!)[/QUOTE]
Right click your character. >Faction>Join>Overwatch
Right click your character>actions>voices
this is perfect im gonna get it now
[editline]9th October 2012[/editline]
wait... where do i set up sql? or does it even need it?
uhh...ok im in...first of all, im ALWAYS a black guy. i can never change my model to anything else.
i had to CREATE and overwatch faction...
still cant set my model...
it asks me for items when i set my character to it, i close it, i click yes, it gives me a stupid error.
i dont get the items i should when im in the faction
how do i give myself items
this is really just a mess... D:
[editline]9th October 2012[/editline]
if i walk as a combine soldier im in a t-pose... still cant give myself items >.> there is no /help command.
if i go into char menu and out it sets me to a streteched human o.o
[editline]9th October 2012[/editline]
cant use the cool antlion pill because of some STUPID error about a str whatever the heck that is :<
when i respawn im ONCE AGAIN the default male 01 >.<
no im not gonna do it on 13 i hate 13 why [I]because[/I] you [B][U]cant use npc models[/U][/B]
[editline]9th October 2012[/editline]
see kids this is why free things are bad they are full of vicious bugs that make it unusuable.
[QUOTE=RonanZer0;37972504]this is perfect im gonna get it now
[editline]9th October 2012[/editline]
wait... where do i set up sql? or does it even need it?
uhh...ok im in...first of all, im ALWAYS a black guy. i can never change my model to anything else.
i had to CREATE and overwatch faction...
still cant set my model...
it asks me for items when i set my character to it, i close it, i click yes, it gives me a stupid error.
i dont get the items i should when im in the faction
how do i give myself items
this is really just a mess... D:
[editline]9th October 2012[/editline]
if i walk as a combine soldier im in a t-pose... still cant give myself items >.> there is no /help command.
if i go into char menu and out it sets me to a streteched human o.o
[editline]9th October 2012[/editline]
cant use the cool antlion pill because of some STUPID error about a str whatever the heck that is :<
when i respawn im ONCE AGAIN the default male 01 >.<
no im not gonna do it on 13 i hate 13 why [I]because[/I] you [B][U]cant use npc models[/U][/B]
[editline]9th October 2012[/editline]
see kids this is why free things are bad they are full of vicious bugs that make it unusuable.[/QUOTE]
oh my lets see you try to code a fucking faction in any other script.
[QUOTE=Big Bang;37975006]oh my lets see you try to code a fucking faction in any other script.[/QUOTE]
Did I ever say I was better than you in any way, shape or form? No I didn't.
I never said I was good at coding I never said it wasn't [I]really[/I] hard.
Also I did make a faction and class in HL2RP. It isn't really that hard.
I'm going to assume you stopped reading at the 'I had to CREATE an overwatch faction' part.
Sorry, you need to Log In to post a reply to this thread.