#is it just the loadout that isn't

1 messages · Page 1 of 1 (latest)

dense shoal
#

Ok tested with blank new mission. Loadout and Face do not reapply

reef estuary
#

pm'd you my test mission

dense shoal
#

This is my first time creating a thread. I hope it worked

reef estuary
#

so, description.ext overwrites any attributes you set in the editor

#

i was forcing specific things

dense shoal
#

Man wth. I have now modified my des.etx to match yours and still wont work in editor. Im gonna just copy and paste your files now and see.

#

Your files dont work for me either. The only thing that leads is some editor setting that is different than yours I guess

reef estuary
#

standby

dense shoal
#

gotta be a multiplayer setting

#

My settings

#

I also changed respawnonstart to 0 so it loads me right in without having to place a spawn point

reef estuary
#

did my respawnonstart as 0 and its fine for me

#

send me your mission folder

#

wait

#

are you running this on multiplayer?

#

or singleplayer preview

dense shoal
#

multiplayer preview

#

cause AI wont repawn in single player. I test by killing the ai

reef estuary
#

add

hint "onPlayerRespawn.sqf Firing";

at the top of your file

#

i want to see if it is even firing

dense shoal
#

that goes in OPR.sqf right?

#

it fires on spawn in when i load into the game

reef estuary
#

go to the debug console

#

and type face player

#

and see what it returns

#

make sure you click local

dense shoal
#

"vn_b_LivonianHead_8_06"

#

same for local global or server

reef estuary
#

and are you playing as the command guy?

dense shoal
#

yeah

reef estuary
#

isnt that the head you wanted?

dense shoal
#

yeah but if i switch to scout and kill command. command comes back with different clothes and face

#

and vice versa

#

the only way to test the loadout is to change it from the default unit loadout. so i switch to something obvious so that when they repawn I will know if it works

#

so both command and scout have flight suits (which differs from their default loadout)
when they repawn they have their default loadout

reef estuary
#

what mods are you runnign

dense shoal
#

CBA

#

zeus enchanced

#

3den enhanced

#

just those

reef estuary
#

send me exactly what you have righ tnow

#

send the folder

#

zip it for discord

dense shoal
#

whoa.

#

something is way off

#

check this out

#

I went back to the version I had working with all the remoteExecs (before the if then instuction you gave)

this version I have working on my dedicated server. it works great. just tested it on the server 5 mins ago.

this version DOESNT work in the editor. thats bonkers right?

#

Im restarting my computer to see if it help. brb

reef estuary
#

just send me both versions

dense shoal
#

will do rn

#

the ones that work are the slots that say "IPL without interface" or something like that. i was testing a bunch of them to see what worked

#

What you sent me. has your file plus my initplayer local when sets the face on mission start

reef estuary
#

what map is this. you left out the map extensions on the folder

dense shoal
#

cam lao nam

#

I just seleted all files in the root folder. I didnt know that it wouldnt include map. sorry

reef estuary
#

i didn't say to put anything in initPlayerLocal though

#

it should be blank

dense shoal
#

Ive tsted it without as well to make sure that wasnt it

#

On the finished product how would the face be applied at mission start without initplayer local? It would only be applied after respawn?

reef estuary
#

respawnOnStart if it is 0 or 1 will run onPlayerRespawn.sqf upon start

dense shoal
#

Ohhhh but loading into the game with respawnOnStart = 0; IS respawning

reef estuary
#

correct

dense shoal
#

well either way it still didnt work. ima restart something is very bad with the computer because my original file should still work

#

brb 2 mins

#

back

#

launching arma to test again

reef estuary
#

do you know how to view the .RPT file

dense shoal
#

just tested both yours and my previously working file. neither works. im at a loss..

#

yes Ive done rpt

#

cant remember eactly how I did it before though

#

its in some root folder somewhere IIRC

reef estuary
#

using the one i sent you

#

if you look at the left, i have pinned my current face

#

checks every frame

dense shoal
#

Now shoot the second guy and see if his face stays the same

reef estuary
#

it will stay the same because its an AI. AI don't run onPLAYERrespawn

#

you should be testing with 2 clients

#

both players

#

ai don't even follow multiplayer respawn rules

#

i thought you were testing with 2 players

dense shoal
#

Okay listen to this strange behaviour. I am testing my old one in hte editor. It doesnt work in there. But if I export it and put in on my server with two computers (both clients) it does work.

reef estuary
#

it changes because of what you are putting in initPlayerLocal

#

you are setting the unit, no matter who owns it from your machine

#

which means every player that joins is also setting that unit for everyone every time

dense shoal
#

I will export your and put on server right now. I am using FASTER as a dedicated server and I connect with my desktop and laptop to simulate a multiplayer environment

reef estuary
#

don't fill the slot with AI

dense shoal
#

copy

#

disable AI

reef estuary
#

make sure mine isn't the one that has your initPlayerLocal edits. needs to be empty

dense shoal
#

the one I just tested i forgot i changed respawnOnStart = 1; to 0 and it wont let me repawn now. reexporting so its exactly as you have sent

#

in your mission you have a respawn point right?

reef estuary
#

yeah it should

dense shoal
#

i see it in the vid you sent yeah

reef estuary
#

you can change the units to whatever, just make sure they are blufor

dense shoal
#

aaaaaand it works perfect on the server. Man im so sorry to have wasted you time. I was under the impression that if you write code for dedicated multiplayer servers it should function for local host and single player by extention. whihc is why I always test in the editor first

#

I dont get why it wont work in the editor but it will on the server...

reef estuary
#

and just so you know, we put a lot of effort into the wiki, its very rare that it is wrong. when you are trying to impliment an example and it doesn't work, there is something on your end

#

it does work in the editor, all my testing is done with 1 computer, no dedicated server, multiple instances of arma

#

and i alt tab between them

#

you just ignore anything on the host client as it IS the server, so you gotta ignore local stuff on it.

dense shoal
#

as in both are in the editor?

reef estuary
#

no, you start the host in the editor and select play in multiplayer

#

the clients you go to multiplayer, LAN and join

dense shoal
#

oh yeah and disable anticheat.

reef estuary
#

yes, otherwise battleye will keep closing the other instances

#

i don't mind helping you. i enjoy teaching this community.

dense shoal
#

okay so can I buy you lunch/beer or something for all the help? steam game? venmo?

#

I would love for you to let me