Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Swordsman

Pages: 1 2 3 ... 11
1
Events: EU / Re: 37e Saturday Line Battle; Looking For Lines
« on: February 07, 2019, 06:18:44 pm »
Regiment Name: Junta Suprema Central (JSC)
Regiments Requested Spec: Line or Light
Regiment Representatives steam link: https://steamcommunity.com/id/JSC_Swordsman/
Expected Attendance: 6-10

2
Events: EU / Re: 33rd Saturday Event [EU]
« on: February 07, 2019, 01:15:19 pm »
Regiment Name: Junta Suprema Central (JSC)
Estimated Attendance: 6-10
Once or Weekly?: Once this week to see.
Contact Steam ID: https://steamcommunity.com/id/JSC_Swordsman/
Read the Rules and Accept them?: Yes

3
Modifications / Re: *Scripting Thread*
« on: December 22, 2018, 03:22:17 pm »
You can't turn barrel into usable object server side. But you can add custom buttons which were added in the new patch. It is an invisible button with custom text that you can have perform some code.

No one wrote a good tutorial about using them yet, but things are  self explanatory if you look around scripts and troops code. I don't have time atm for detailed explanations. Some clues you can find here https://www.fsegames.eu/forum/index.php?topic=38427.msg1677692#msg1677692

Thanks Grozni, so i can make the same but with a custom button anyway. I think it may be worth.

4
Modifications / Re: *Scripting Thread*
« on: December 22, 2018, 03:02:58 pm »
Hello guys, thanks for the help. Finally i made it, here's a screenshoot of the result. I was testing with my server and all is ok. Now i have another question, is it posible to make an object like a snowy barrel give you an item? i copy the code of ze_treasure in scene_props to the snow_barrel, and do the same in scripts changing the text but it doesnt work, any idea?

Spoiler
[close]

5
Modifications / Re: *Scripting Thread*
« on: December 17, 2018, 10:44:29 pm »
Hello again, thanks for the replys, i've made some change, but im not sure where to set the (agent_is_human, ":agent_no"),. The question is that i want when players enter my server they have a santa hat in all troops they choose(this is working now), and they have grenades equiped as only object, so i wanna unequip default items of agents. May i have 4 unequip "try" like the code or can i have it in one only?

Code
      (ti_on_agent_spawn, 0, 0, [],
       [
         (store_trigger_param_1, ":agent_no"),
         (agent_is_human, ":agent_no"),
         (call_script, "script_multiplayer_server_on_agent_spawn_common", ":agent_no"),
   
         (try_begin),
             (agent_get_item_slot, ":item_id", ":agent_no", 4), #ek_head
             (gt,":item_id",-1), # even have a item there?
             (agent_unequip_item, ":agent_no", ":item_id", 4),#ek_head
         (try_end),

         (try_begin),
             (agent_get_item_slot, ":item_id", ":agent_no", 0),
             (gt,":item_id",-1), # even have a item there?
             (agent_unequip_item, ":agent_no", ":item_id", 0),
         (try_end),

         
         
         (agent_equip_item,":agent_no","itm_grenade", 0),
         
         (agent_equip_item,":agent_no","itm_pirate_hat"),
         
         (agent_set_wielded_item,":agent_no","itm_grenade",0),

         ]),

6
Modifications / Re: *Scripting Thread*
« on: December 17, 2018, 03:02:12 pm »
Hello again, thanks for the info. I change the spawn in mission templates for team deathmatch with this, i see that the troop_clear_inventory dont work, dont know if there is another way to unequip all items when spawn.

Code
      (ti_on_agent_spawn, 0, 0, [],
       [
         (store_trigger_param_1, ":agent_no"),
         (call_script, "script_multiplayer_server_on_agent_spawn_common", ":agent_no"),

         (troop_clear_inventory, "$g_player_troop"),
   
         (try_begin),
             (agent_get_item_slot, ":item_id", ":agent_no", 4), #ek_head
             (gt,":item_id",-1), # even have a item there?
             (agent_unequip_item, ":agent_no", ":item_id", 4), #ek_head
         (try_end),
     
         (agent_equip_item,":agent_no","itm_grenade"),
       
         (agent_equip_item,":agent_no","itm_pirate_hat"),
         
         (agent_set_wielded_item,":agent_no","itm_grenade",0),

         ]),

But now im getting some kind of error in my server. "Incorrect skeleton type for anim 143 Error: Incorrect skeleton type for anim 143" and the server crash.

EDIT: I was looking and the animation 143 is this. anim_equip_default = 143


7
Modifications / Re: *Scripting Thread*
« on: December 17, 2018, 12:20:23 pm »
Well lets say that i want to change the hat when a player enter the server. Player choose a troop and it change the hat to a santa hat for example. I see your screens, look so cool.

8
Modifications / Re: *Scripting Thread*
« on: December 17, 2018, 11:56:21 am »
Sadly I don't think you can change things like that in the items file server side, unless the client player has the same mod installed. If i'm wrong someone can correct me, but I don't think it syncs properly with the player. When they have used up their four bottles the server will be telling them they have more, while their own game tells them they have no more, resulting in it glitching out and not working.

Thanks for the reply, as you said it doesnt work. I was testing and if i change my own itemkinds1.txt it works correctly. I have another question, i see that it is possible to change for expample a hat when you enter a server, how does it work?

9
Modifications / Re: *Scripting Thread*
« on: December 17, 2018, 01:31:02 am »
Hello, i have a question, if someone can help me. I wan to give the player via ze_treasure vodka bottle only in server side, i know how to do that and its working, but i want to give the player like 30 bottles like the holy hand grenade.

I try to replace in modules items the config of bottle but doesnt work, any idea?

10
Events: EU / Re: 32nd & VG Sunday Roleplay Event [search lines]
« on: June 30, 2018, 09:41:42 pm »
Regiment Name: Junta Suprema Central
Preferred Faction: France
Class: Line Ifantry
Expected Attendance: 6-10
Do you wish to come every week: (Yes/No) Yes
Steam ID (provide a link please): https://steamcommunity.com/id/JSC_Swordsman/
Teamspeak Adress: 91.121.157.79

11
Events: EU / Re: 1Rhein Friday-Siege [OPEN SLOTS]
« on: May 09, 2018, 01:15:30 pm »
Regiment Name: Junta Suprema Central
Preferred faction: Any
Class (Line,Artillery): Line or Arty
Expected attendance: 6-10
Do you want to attend once, or weekly ?: Weekly
Regiment leader's Steam name: https://steamcommunity.com/profiles/76561198020957030

12
Regiment Name: Junta Suprema Central
Regiment Leader's Steam: https://steamcommunity.com/profiles/76561198020957030
Numbers attending: 6-10
Class: Skirmish
Weekly or Once: Weekly
Do you agree to follow all the rules stated above?: Yes

13
Regiment Name: Junta Suprema Central
Steam Contact: https://steamcommunity.com/profiles/76561198020957030/
Preferred Faction: France
Class: Arty/Line
Expected Attendance: 6-8
Permanent, or only once?: Permanent
You know the rules and promise to pass them on to your men: Yes

14
Regiment Name: Junta Suprema Central
Steam Contact: https://steamcommunity.com/profiles/76561198031109619
Preferred Faction:  France
Class: Arty
Expected Attendance: 4-8
Permanent, or only once?: Permanent
You know the rules and promise to pass them on to your men: Yes

15
Events: EU / Re: 9e Friday Linebattle
« on: March 28, 2018, 11:38:56 am »
Regiment name: Junta Suprema Central
Class: Arty
Expected attendance: 4-8
Steam contact (1st- and 2nd-in-command): http://steamcommunity.com/id/JSC_Swordsman/
Do you Agree to the set rules?: yes
Do you wish to come once or weekly?: weekly

Pages: 1 2 3 ... 11