Jump to content

killbot5555678

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by killbot5555678

  1. Hello recently ive become fairly interested in modeling using blender but noticed that exporting any model into leadwerks was a pain stake sizing was off at times and materials/textures didn't work correctly either i noticed their is an export/importer designed by josh for blender to leadwerks the addon simply doesn't work though ive rolled back my version to 2.83.19 (steam) as the addons manager says "upgrade to 2.8x required" (import-export leadwerks engine formats) if anyone knows how to get this working it would be greatly appreciated as the process to make a single model work is pain staking oh also the documentation on blender for the importer/exporter appears to have vanished

  2. im not even completely sure where i should be placing said variable :blink: any chance you could show an example of this? id like to build on the idea itself so id like a throe understanding if its no bother what ive gotten so far is how to bind a key so that that key will load that specific map 

  3. On 1/15/2017 at 5:25 AM, Genebris said:

    Remember last map you loaded into a variable or have a script on the map that tells you which one it is then this into UpdateWorld:

     

     

    
    
     

    if window:KeyHit(Key.R) then

    World:GetCurrent():Clear()

    Map:Load("maps/"..self.map..".map")

    end

     

    how would i express which map the player is on so he may reload it (post is a little old sorry) 

  4. Hello i was working on my game and ran into something i desired i wanted the ability to reload the map i was on (their are many maps!) i found a couple times i got stuck and couldn't fix the problem so my only option was to end game and restart (which mean't i had to start from lvl 1) which was really annoying so what im looking to do is key bind a key like R for instance so when it is pressed it will only reload that map that my player is on along side with everything in it (motors,pivots) it doesn't have to be complex or anything just wanted a simple way to reload one specific map that the player was on thanks

    (PS): Not overly savvy with this so please explain well i wish to learn how key binding works cause clearly i haven't figured it out lol along side output calling XD

  5. If easy is what you want then just reload the map by setting the changemapname variable to the map name you want to reload anywhere in your code.

     

    thank you for your feedback and einlander also thank you for yours both ideas are helpful im trying to make it so when the player dies the map refreshes upon his death

  6. thank you Rick the maps are small enough that it would load quickly i dont exactly know how to reset the map (that exact lvl) could you possible give an example and or an easy method this isnt exactly a big problem so its not to dire to me so an easy simple quick fix is what im after.....

  7. hello today i thought to myself thinking about some of the motors i have in my game if you were to get in between the two spinning motors it will put them out of place sometimes causing the course to be impossible which got me thinking when you died from falling off the off place motors and got positioned at the start.... the map never actually reloads you just get re positioned which still makes the course impossible being that this can make a lvl impossible it makes a pretty annoying bug...... so what im saying is if you got in between two motor caused it to be out of place (not lining up with the next platform) it would be very difficult to get further so i ask is there any easy way to make the map refresh with a simple key binding or do i have to integrate my main script (which loads the lvl) into my player so when he dies it just reloads the entire thing? thank you very much for any feed back in advance (ps i haven't tried to fix this yet just wanted to hear some feed back on an easy and quick fix)

  8. OK so theirs a few build options ive come down to the point were maybe i should have went with an older build or something like that so i would like to know what you guys think because i think maybe that some assets are missing in some builds andor physics options (the physics is the reasoning to this topic) any suggestions?

     

     

     

     

    for the people that dont know what i mean: in steam theres options of what update you want like latest oldest

  9. something to do with this

     

     

    this is line 33 ------> function Script:CycleWeapon(direction)

    local n,weapon

    local foundindex=false

    local prevweapon

     

    if direction==1 then

    for n,weapon in pairs(self.weapons) do

    if foundindex then

    self:SelectWeapon(n)

    return

    end

    if self.currentweaponindex==n then

    foundindex=true

    end

    end

    if foundindex then

    for n,weapon in pairs(self.weapons) do

    self:SelectWeapon(n)

    return

    end

    end

    else

    for n,weapon in pairs(self.weapons) do

    if prevweapon then

    if self.currentweaponindex==n then

    self:SelectWeapon(prevweapon)

    return

    end

    end

    prevweapon=n

    end

    if prevweapon then

    self:SelectWeapon(prevweapon)

    end

    end

    end

     

     

     

    Line 33 mainly

×
×
  • Create New...