骑砍战团MOD开发(23)-呼延灼连环铁骑

2023-12-22 01:44

本文主要是介绍骑砍战团MOD开发(23)-呼延灼连环铁骑,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

骑砍1战团mod开发-呼延灼连环铁骑踏平卡拉迪亚大陆_哔哩哔哩_bilibili 

一.铁骑初始化

      (0, 0, ti_once, [],[(try_for_agents, ":agent_no"),(agent_get_troop_id, ":agent_troop_id", ":agent_no"),(agent_get_horse, ":agent_horse", ":agent_no"),(try_begin),(eq, ":agent_troop_id", "trp_god_song_guard"),(agent_set_no_dynamics, ":agent_no", 1),(try_begin),(neq, ":agent_horse", -1),(agent_set_no_dynamics, ":agent_horse", 1),(try_end),(try_end),(try_begin),(eq, ":agent_troop_id", "trp_god_song_guard_back"),(agent_set_no_dynamics, ":agent_no", 1),(try_end),(try_end),(call_script, "script_spawn_horse_guard_chain"),]),#refresh horse(0, 0, 0, [], [(init_position, pos3),(get_player_agent_no, ":player_agent"),(agent_get_horse, ":player_horse", ":player_agent"),(neq, ":player_horse", -1),(agent_get_position, pos3, ":player_horse"),(agent_get_position, pos9, ":player_horse"),(assign, ":index", 0),(try_for_agents, ":agent_no"),(agent_get_troop_id, ":agent_troop_id", ":agent_no"),(try_begin),(neg|agent_is_human, ":agent_no"),(eq, ":agent_troop_id", "trp_god_song_guard"),(try_begin),(lt, ":index", 2),(position_move_x, pos3, 150 , 0),(agent_set_position, ":agent_no", pos3),(else_try),(lt, ":index", 4),(try_begin),(eq, ":index", 2),(position_move_x, pos3, -750 , 0),(try_end),(position_move_x, pos3, 150 , 0),(agent_set_position, ":agent_no", pos3),(else_try),(lt, ":index", 6),(try_begin),(eq, ":index", 4),(position_move_x, pos3, 150 , 0),(position_move_y, pos3, -900 , 0),(try_end),(position_move_y, pos3, 300 , 0),(agent_set_position, ":agent_no", pos3),(else_try),(lt, ":index", 10),(try_begin),(eq, ":index", 6),(position_move_y, pos3, 300 , 0),(try_end),(position_move_y, pos3, 300 , 0),(agent_set_position, ":agent_no", pos3),(try_end),(val_add, ":index", 1),(else_try),(eq, ":agent_troop_id", "trp_god_song_guard_back"),(position_move_y, pos9, -50 , 0),(position_move_z, pos9, 30 , 0),(agent_set_position, ":agent_no", pos9),(agent_set_animation, ":agent_no", "anim_god_horse_man_sit_down"),(try_end),(try_end),]),

二.锁链初始化

  # spawn_horse_guard_chain# Input: none# Output: none ("spawn_horse_guard_chain", [(init_position, pos1),(get_player_agent_no, ":player_agent"),(agent_get_horse, ":player_horse", ":player_agent"),(agent_get_position, pos1, ":player_horse"),(neq, ":player_horse", -1),(try_for_range, ":index", 0, 10),(spawn_scene_prop, "spr_chain_2m"),(try_end),]),# refresh_horse_guard_chain# Input: none# Output: none ("refresh_horse_guard_chain", [(init_position, pos4),(get_player_agent_no, ":player_agent"),(agent_get_horse, ":player_horse", ":player_agent"),(neq, ":player_horse", -1),(agent_get_position, pos4, ":player_horse"),(position_move_z, pos4, 150, 0),(assign, ":index", 0),(try_for_prop_instances, ":instance_no", "spr_chain_2m"),(try_begin),(lt, ":index", 4),(try_begin),(eq, ":index", 0),(position_move_x, pos4, -300, 0),(try_end),(position_move_x, pos4, 100, 0),(init_position, pos5),(position_copy_origin, pos5, pos4),(position_copy_rotation, pos5, pos4),(position_rotate_y, pos5, 90),(prop_instance_set_position, ":instance_no", pos5),(else_try),(lt, ":index", 10),(try_begin),(eq, ":index", 4),(position_move_x, pos4, -100, 0),(position_move_y, pos4, -750, 0),(try_end),(position_move_y, pos4, 250, 0),(init_position, pos5),(position_copy_origin, pos5, pos4),(position_copy_rotation, pos5, pos4),(position_rotate_x, pos5, 90),(prop_instance_set_position, ":instance_no", pos5),(try_end),(val_add, ":index", 1),(try_end),]),

三.践踏伤害

      (1, 0, 0, [],[(init_position, pos7),(init_position, pos8),(get_player_agent_no, ":player_agent"),(try_for_agents, ":agent_no"),(agent_get_troop_id, ":agent_troop_id", ":agent_no"),(try_begin),(agent_is_human, ":agent_no"),(eq, ":agent_troop_id", "trp_god_song_guard"),(agent_get_position, pos7, ":agent_no"),(try_for_agents, ":agent_target_no"),(neg|agent_is_ally, ":agent_target_no"),(agent_is_alive, ":agent_target_no"),(agent_get_position, pos8, ":agent_target_no"),(get_distance_between_positions, ":distance", pos7, pos8),(assign, reg1, ":distance"),(display_message, "@ distance is {reg1}"),(try_begin),(lt, ":distance", 300),(agent_deliver_damage_to_agent, ":player_agent", ":agent_target_no", 50, "itm_warhammer"),(try_end),(try_end),(try_end),(try_end),]),

这篇关于骑砍战团MOD开发(23)-呼延灼连环铁骑的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/522201

相关文章

Python通过模块化开发优化代码的技巧分享

《Python通过模块化开发优化代码的技巧分享》模块化开发就是把代码拆成一个个“零件”,该封装封装,该拆分拆分,下面小编就来和大家简单聊聊python如何用模块化开发进行代码优化吧... 目录什么是模块化开发如何拆分代码改进版:拆分成模块让模块更强大:使用 __init__.py你一定会遇到的问题模www.

Spring Security基于数据库的ABAC属性权限模型实战开发教程

《SpringSecurity基于数据库的ABAC属性权限模型实战开发教程》:本文主要介绍SpringSecurity基于数据库的ABAC属性权限模型实战开发教程,本文给大家介绍的非常详细,对大... 目录1. 前言2. 权限决策依据RBACABAC综合对比3. 数据库表结构说明4. 实战开始5. MyBA

使用Python开发一个简单的本地图片服务器

《使用Python开发一个简单的本地图片服务器》本文介绍了如何结合wxPython构建的图形用户界面GUI和Python内建的Web服务器功能,在本地网络中搭建一个私人的,即开即用的网页相册,文中的示... 目录项目目标核心技术栈代码深度解析完整代码工作流程主要功能与优势潜在改进与思考运行结果总结你是否曾经

Spring Boot + MyBatis Plus 高效开发实战从入门到进阶优化(推荐)

《SpringBoot+MyBatisPlus高效开发实战从入门到进阶优化(推荐)》本文将详细介绍SpringBoot+MyBatisPlus的完整开发流程,并深入剖析分页查询、批量操作、动... 目录Spring Boot + MyBATis Plus 高效开发实战:从入门到进阶优化1. MyBatis

Python基于wxPython和FFmpeg开发一个视频标签工具

《Python基于wxPython和FFmpeg开发一个视频标签工具》在当今数字媒体时代,视频内容的管理和标记变得越来越重要,无论是研究人员需要对实验视频进行时间点标记,还是个人用户希望对家庭视频进行... 目录引言1. 应用概述2. 技术栈分析2.1 核心库和模块2.2 wxpython作为GUI选择的优

利用Python开发Markdown表格结构转换为Excel工具

《利用Python开发Markdown表格结构转换为Excel工具》在数据管理和文档编写过程中,我们经常使用Markdown来记录表格数据,但它没有Excel使用方便,所以本文将使用Python编写一... 目录1.完整代码2. 项目概述3. 代码解析3.1 依赖库3.2 GUI 设计3.3 解析 Mark

利用Go语言开发文件操作工具轻松处理所有文件

《利用Go语言开发文件操作工具轻松处理所有文件》在后端开发中,文件操作是一个非常常见但又容易出错的场景,本文小编要向大家介绍一个强大的Go语言文件操作工具库,它能帮你轻松处理各种文件操作场景... 目录为什么需要这个工具?核心功能详解1. 文件/目录存javascript在性检查2. 批量创建目录3. 文件

基于Python开发批量提取Excel图片的小工具

《基于Python开发批量提取Excel图片的小工具》这篇文章主要为大家详细介绍了如何使用Python中的openpyxl库开发一个小工具,可以实现批量提取Excel图片,有需要的小伙伴可以参考一下... 目前有一个需求,就是批量读取当前目录下所有文件夹里的Excel文件,去获取出Excel文件中的图片,并

基于Python开发PDF转PNG的可视化工具

《基于Python开发PDF转PNG的可视化工具》在数字文档处理领域,PDF到图像格式的转换是常见需求,本文介绍如何利用Python的PyMuPDF库和Tkinter框架开发一个带图形界面的PDF转P... 目录一、引言二、功能特性三、技术架构1. 技术栈组成2. 系统架构javascript设计3.效果图

基于Python开发PDF转Doc格式小程序

《基于Python开发PDF转Doc格式小程序》这篇文章主要为大家详细介绍了如何基于Python开发PDF转Doc格式小程序,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 用python实现PDF转Doc格式小程序以下是一个使用Python实现PDF转DOC格式的GUI程序,采用T